Skip to content
Snippets Groups Projects
Commit b705733f authored by nimrod's avatar nimrod
Browse files

Add a creds AWS CLI alias.

For exporting the AWS environment variables for SSO.
parent fbd80963
No related branches found
No related tags found
No related merge requests found
......@@ -14,3 +14,4 @@ du = s3 ls --recursive --human-readable --summarize
enable_ena = ec2 modify-instance-attribute --ena-support --instance-id
assume-role = !assume-role
s3-etag = !f() { aws s3api head-object --bucket "$1" --key "$2" --query 'ETag' --output text | xargs; }; f
creds = !eval $(aws configure export-credentials --format env)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment