(auth: AuthContext | null, secretId: string)
| 57 | } |
| 58 | |
| 59 | async getSecret(auth: AuthContext | null, secretId: string): Promise<SecretSummary> { |
| 60 | const organizationId = this.assertOrganizationId(auth); |
| 61 | return this.repository.findById(secretId, { organizationId }); |
| 62 | } |
| 63 | |
| 64 | async getSecretByName(auth: AuthContext | null, secretName: string): Promise<SecretSummary> { |
| 65 | const organizationId = this.assertOrganizationId(auth); |
no test coverage detected