aws dynamodb get-item --table-name users --key '{"username": {"S": "test"}}'
This expects that you have installed jq command on you system.
aws dynamodb scan --table-name users \
--query "Items[].[username.S,email.S,passwordHash.S]" \
--output json | jq -r '.[] | @csv' > dump.csv
aws dynamodb query --table-name users \
--key-condition-expression "username = :username" \
--expression-attribute-values '{":username":{"S":"test user"}}'
aws kms generate-data-key-without-plaintext --key-id <<KMS master key>> --key-spec AES_256 --query CiphertextBlob --output text