Update an existing secret
The unique identifier of the secret
Secret data to update
The updated secret metadata
401 - Not authenticated
404 - Secret not found
import { updateSecret } from "@cpod/sdk";const updated = await updateSecret("secret-123", { value: "new-secret-value", description: "Updated description",}); Copy
import { updateSecret } from "@cpod/sdk";const updated = await updateSecret("secret-123", { value: "new-secret-value", description: "Updated description",});
Update an existing secret