Get secret metadata by ID
The unique identifier of the secret
Secret metadata (value is not exposed)
401 - Not authenticated
404 - Secret not found
import { getSecret } from "@cpod/sdk";const secret = await getSecret("secret-123");console.log(`Key: ${secret.key_name}`); Copy
import { getSecret } from "@cpod/sdk";const secret = await getSecret("secret-123");console.log(`Key: ${secret.key_name}`);
Get secret metadata by ID