It provides the import and export features for SSM Parameter Store via the library.
psadm provides the API client with the following additional feature to aws-sdk-go's one:
- easy to use
- patrickmn/go-cache integration with automatic refresh
- use with Lambda functions
- use with daemon on initializaton
go get -u github.com/nabeken/psadm/cmd/psadmTo export parameters in YAML to STDOUT:
psadm export [--key-prefix=PREFIX] > exported.ymlNote: All SecureString parameters are decrypted.
To import from exported parameters in YAML:
psadm import [--dryrun] [--skip-exist] [--overwrite] [--default-kms-key-id=KMS-KEY-ID] exported.ymlTo get a parameter at give time in YAML:
psadm get [--at=TIME] KEY
TBD