With AWS CLI version 2:
1 | 𝜆 aws --version |
Encrypt with AWS KMS key:
1 | 𝜆 aws kms encrypt --profile personal \ |
Decrypt with AWS KMS key:
1 | 𝜆 echo "AQICAHjbJrIPgME ... lILuBSUdA==" | base64 -D | \ |
Reference
- cli_binary_format, https://docs.aws.amazon.com/credref/latest/refdocs/setting-global-cli_binary_format.html