The resources and data sources of the ews provider for Secrets. Setting up the provider: Terraform & OpenTofu.
Resources
dcloud_secretA secret encrypted with a KMS key. A changed value is a rotation (a new version), not a new secret. The value is never read back from the API.
dcloud_secret_grantLets one consumer read a secret's value: CI runs (actions, optionally one repository), deployed apps (deploy), the CLI, Code or compute instances.
dcloud_secrets_environmentA Secrets environment (dev, staging, prod…): secrets live in one, apps run in one, and a secret is promoted from one to the next. Deleting one that still holds secrets or apps fails.
dcloud_secrets_sourceAn external secret store (1Password Connect or HashiCorp Vault/OpenBao) that secrets are synced from. Deutsche Cloud checks the credential against the store before saving it; the credential is kept as a secret of its own (credential_secret_id). Deleting a source that secrets still sync from fails.