Products / Security and identity
Secrets and KMS
Secrets encrypted under your own key, granted where they are used.
At a glance
- Encryption
- AES-256-GCM under a customer-managed key
- Versions
- Every change kept, roll back any time
- Sync
- From 1Password, HashiCorp Vault or OpenBao
- Keys
- Generated, or your own key material
What it does
- Customer-managed keys
- Create keys in KMS or import your own key material, disable them, or schedule their deletion with a waiting period of 7 to 30 days. Encrypt and decrypt your own data with them through the API.
- Versioned secrets, in environments
- Every change creates a new version. Keep values per environment, compare them and promote from one to the next. Set a rotation interval and see which secrets are due.
- Granted per consumer
- A secret reaches only the consumers you grant: app deployment, Actions, the CLI, Code or Compute.
- Every reveal logged
- Each read of a secret value is recorded with who read it and when, in the secret’s own access log and in the audit log.
- Sync from your vault
- Connect a 1Password vault or HashiCorp Vault and OpenBao, and keep secrets in step with it instead of copying values by hand.
Command line
Create a key and a secret, and grant it to app deployment.
$ dcloud kms keys create
$ dcloud secrets secrets create --name STRIPE_KEY --key-id <key> --value <value>
$ dcloud secrets secrets grant <secret> --consumer deploy Price
Secrets and keys have no charge.