This documentation covers Convox V2, our ECS-based engine. V2 is fully supported and actively maintained. Looking for the Kubernetes-based V3 engine? See docs.convox.com.
encrypt
Encrypt arbitrary data using a symmetric key. Useful for securing sensitive values such as API keys, database passwords, or tokens before storing them in version control, sharing with team members, or embedding in deployment scripts.
Syntax
$ convox encrypt --key <key> --data <data>
Flags
| Flag | Short | Description |
|---|---|---|
--key |
Encryption key | |
--data |
Data to encrypt |
Example Usage
$ convox encrypt --key mySecretKey123 --data "s3cr3t-api-token"
aGVsbG8gd29ybGQ...