cnos secret
cnos secret
cnos secret set app.token super-secret --vault defaultcnos secret set app.token --vault defaultprintf "super-secret" | cnos secret set app.token --vault default --stdincnos secret set app.token --vault prod-gcpcnos secret get app.token --vault default --revealcnos secret listcnos secret list --revealcnos secret delete app.tokenFor local vaults, omitting [value] prompts for a masked value interactively so the secret does not have to appear in shell history. In non-interactive environments, pass the value explicitly or use --stdin.
For non-local vaults such as environment, gcp-secret-manager, aws-secrets-manager, hashicorp-vault, and azure-key-vault, cnos secret set writes repo-safe reference metadata only. If [value] is omitted, CNOS uses the logical path as the external ref and does not prompt for secret material. Create or update the actual secret in the backing vault separately.