Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.02 KB

aws-ssm.md

File metadata and controls

37 lines (23 loc) · 1.02 KB

aws ssm

Parameter Store

List all parameters

aws ssm describe-parameters

To see which key was used for encryption, check the history:

aws ssm get-parameter-history --name my-awesome-param

Create/update parameter using the value in the clipboard:

aws ssm put-parameter --name=my-awesome-param --description "so awesome" --type SecureString --value /tmp/foo --key-id alias/aws/ssm --overwrite --value $(pbpaste)

Session manager

Describe instances

aws ssm describe-instance-information | jq -r '.InstanceInformationList[] | .InstanceId'

Run Commands

Orchestration logs for commands that are run on the instance are located in /var/lib/amazon/ssm/INSTANCE-ID/document/orchestration/RUN-COMMAND-EXECUTION-ID (ref)

References: