MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getSecretByName

Method getSecretByName

backend/src/secrets/secrets.service.ts:64–67  ·  view source on GitHub ↗
(auth: AuthContext | null, secretName: string)

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 2

assertOrganizationIdMethod · 0.95
findByNameMethod · 0.45

Tested by

no test coverage detected