putCpSecret
Operator only (is_operator). Creates or overwrites a control-plane secret (encrypted at rest) and writes an audit entry. SENSITIVE: plaintext is write-only and never returned by cpSecrets.
putCpSecret(
environmentId: String!
name: String!
plaintext: String!
kind: String
): CpSecretRow!
Arguments
putCpSecret.environmentId ● String! non-null scalar
Environment UUID the secret belongs to.
putCpSecret.name ● String! non-null scalar
Secret name/key (unique per environment).
putCpSecret.plaintext ● String! non-null scalar
Secret value to encrypt and store (write-only).
putCpSecret.kind ● String scalar
Optional classification/kind tag for the secret.