aws

Dies ist eine alte Version des Dokuments!


AWS per CLI

https://docs.aws.amazon.com/cli/latest/userguide/getting-started-quickstart.html

https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#cliv2-linux-install

aws-cli installieren

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"

unzip awscliv2.zip

sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update

thommie@locutus:~> aws --version
aws-cli/2.17.36 Python/3.11.9 Linux/6.10.5-1-default exe/x86_64.opensuse-tumbleweed.20240820

Setup der cli Umgebung

fixme

$ aws configure sso
SSO session name (Recommended): my-sso
SSO start URL [None]: https://my-sso-portal.awsapps.com/start
SSO region [None]: us-east-1
SSO registration scopes [None]: sso:account:access

Mehrere Profile

aws configure --profile profil1
aws configure --profile profil2
thommie@odysseus4:~> aws configure --profile netzwissen
AWS Access Key ID [None]: AKIAZVJKDFMP6752BEUK
AWS Secret Access Key [None]: 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    
Default region name [None]: eu-central-1
Default output format [None]: json
aws configure --profile netzwissen sso

Howto

  • aws.1725374938.txt.gz
  • Zuletzt geändert: 03/09/2024 - 14:48
  • von admin1