@humodz/aws-easy-cli
v0.1.0
Published
Utility commands for interaction with AWS
Readme
@humodz/aws-easy-cli
Minimalist AWS CLI commands
aws-console
Generates a link to sign in to the AWS Console with your current CLI credentials
aws-refresh
- Refreshes
~/.aws/credentialswith temporary credentials from AWS SSO - Useful for tools that don’t support AWS SSO authentication directly
# Refresh creds for the current profile
aws-refresh
# Refresh creds for profile "dev"
aws-refresh -p devssm-get
Shorthand for aws ssm get-paramter
ssm-get /my/param- TO-DO:
--no-decrypt
ssm-put
Shorthand for aws ssm put-parameter
ssm-put /my/param 'value'
# Fails if the parameter does not exist (i.e. only update)
ssm-put /my/param 'value' --update
# Fails if the parameter exists (i.e. only create)
ssm-put /my/param 'value' --create
# Manually specifing type (default: String)
ssm-put /my/param 'value' --type SecureString- TODO:
--kms-key
ssm-del
Shorthand for aws ssm delete-parameters
ssm-del /param1 /param2 /param3
# Show a warning if any of the parameters does not exist
ssm-del /param1 /param2 /param3 --existsssm-list
Shorthand for aws ssm describe-parameters. Supports listing names as well as values.
# Basic filtering, only outputs names
ssm-list --equals /api/baseUrl
ssm-list --begins /api
ssm-list --contains baseUrl
# Outputs names and values, as a JSON object
ssm-list --begins /api --values- TODO:
--kms-key
