ev backend
Usage
Description
ev backend manages where secret values are stored. By default ev uses its own encrypted database. You can switch to AWS Secrets Manager to integrate with your existing infrastructure.
ev backend show
Displays the current backend configuration from ev.yaml:
ev backend set
Sets the storage backend and writes the configuration to ev.yaml. ev tests the connection before saving.
Use --env to set a backend override for a specific environment only:
Flags
ev backend set
| Flag | Description |
|---|---|
--region | AWS region (required for aws-secrets-manager) |
--prefix | Path prefix for secrets in AWS SM (e.g. /myapp/) |
--env | Apply this backend config to a specific environment only |
Examples
Show current backend configuration:
Switch to AWS Secrets Manager:
Override dev environment to use ev storage while prod uses AWS SM: