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)
Describe instances
aws ssm describe-instance-information | jq -r '.InstanceInformationList[] | .InstanceId'
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: