Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
228 B
7
Indexable
Never
aws_sso_export() {
    eval "$(aws configure export-credentials --profile $@ --format env)"
    region=$(aws configure get region --profile $@)
    eval "export AWS_REGION=$region"
    eval "export AWS_DEFAULT_REGION=$region"
}