Skip to content

Instantly share code, notes, and snippets.

@seunggabi
Last active November 24, 2022 06:07
Show Gist options
  • Save seunggabi/f8224d33b81dca80ded01b9a5888030c to your computer and use it in GitHub Desktop.
Save seunggabi/f8224d33b81dca80ded01b9a5888030c to your computer and use it in GitHub Desktop.
aws-cli-configure.sh
brew install awscli
#aws configure
#AWS Access Key ID [None] : [발급받은 IAM의 Access Key ID]
#AWS Secret Access Key [None] : [발급받은 IAM의 Secret Access Key]
#Default region name [None] : ap-northeast-2[서울 리전]
#Default output format [None] :
mkdir -p ~/.aws
rm ~/.aws/config
cat <<EOT >> ~/.aws/config
[default]
region = ap-northeast-2
EOT
rm ~/.aws/credentials
cat <<EOT >> ~/.aws/credentials
[default]
aws_access_key_id =
aws_secret_access_key =
EOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment