${SECRET_NAME} syntax.
Commands
| Command | Description |
|---|---|
devhelm secrets list | List all secrets (names only, values are hidden) |
devhelm secrets create | Create a new secret |
devhelm secrets update <key> | Update a secret’s value |
devhelm secrets delete <key> | Delete a secret |
Secrets are identified by key (e.g.,
SLACK_WEBHOOK_URL). Secret values are write-only — you can set and delete them, but never read the plaintext value back.secrets list
secrets create
| Flag | Type | Required | Description |
|---|---|---|---|
--key | string | Yes | Secret name |
--value | string | Yes | Secret value |
--environment | string | — | Environment slug to scope this secret to |
Environment-scoped secrets
Scope a secret to a specific environment:secrets update
Update an existing secret’s value:| Flag | Type | Required | Description |
|---|---|---|---|
--value | string | Yes | New secret value |
secrets delete
Using secrets in config
Reference secrets in yourdevhelm.yml with ${...} syntax:
Next steps
Environments
Create environments for secret scoping.
Monitoring as Code
Use secrets in your YAML config.