https://github.com/jfagoagas/kms-helper
Tool to encrypt/decrypt using AWS KMS with ease
https://github.com/jfagoagas/kms-helper
aws hacktoberfest kms security
Last synced: about 2 months ago
JSON representation
Tool to encrypt/decrypt using AWS KMS with ease
- Host: GitHub
- URL: https://github.com/jfagoagas/kms-helper
- Owner: jfagoagas
- License: gpl-3.0
- Created: 2021-10-29T07:25:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T17:13:49.000Z (over 4 years ago)
- Last Synced: 2025-03-16T00:17:09.017Z (over 1 year ago)
- Topics: aws, hacktoberfest, kms, security
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kms-helper
Tool to encrypt/decrypt using AWS KMS with ease.
## Requirements
- AWS CLI v2
- AWS profiles configured at `~/.aws/config` or `~/.aws/credentials`
- Configuration file named `kms-helper.config` with the following structure:
```
# AWS ACCOUNT KMS KEYS BY ENVIRONMENT
PRO_KMS_KEY=""
STG_KMS_KEY=""
DEV_KMS_KEY=""
# AWS ACCOUNT PROFILES BY ENVIRONMENT
PRO_AWS_PROFILE=""
STG_AWS_PROFILE=""
DEV_AWS_PROFILE=""
```
## Usage
- Encrypt
`./kms-helper.sh `
- Decrypt
`./kms-helper.sh `