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

Function fetchSecrets

frontend/src/api/secrets.ts:18–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 * Fetch all available secrets from the secrets service
17 */
18export async function fetchSecrets(): Promise<SecretSummary[]> {
19 try {
20 return await api.secrets.list();
21 } catch (error) {
22 console.error('Failed to fetch secrets:', error);
23 return [];
24 }
25}
26
27/**
28 * Fetch a specific secret by ID

Callers 4

SecretSelectFunction · 0.85
ParameterFieldFunction · 0.85
SecretsManagerFunction · 0.85

Calls 2

errorMethod · 0.80
listMethod · 0.65

Tested by

no test coverage detected