(auth: AuthContext | null, secretName: string)
| 62 | } |
| 63 | |
| 64 | async getSecretByName(auth: AuthContext | null, secretName: string): Promise<SecretSummary> { |
| 65 | const organizationId = this.assertOrganizationId(auth); |
| 66 | return this.repository.findByName(secretName, { organizationId }); |
| 67 | } |
| 68 | |
| 69 | async createSecret(auth: AuthContext | null, input: CreateSecretInput): Promise<SecretSummary> { |
| 70 | const organizationId = this.assertOrganizationId(auth); |
nothing calls this directly
no test coverage detected