Last changed
Get notified of upcoming product changes, critical vulnerability notifications and patches and more.
Sign InMinimal aws-cli v2 container image.
The image is available on cgr.dev
:
Before using the aws-cli Chainguard Image, you need to configure your AWS credentials. There are a number of ways you can do this, so we encourage you to review the official AWS credentials documentation to determine what method works best for you.
AWS credentials and configurations are typically stored in a directory named .aws
. Assuming you've already set up your AWS credentials locally, you can share them from your host machine to a container by mounting this directory as a volume. The following command follows this method to pass along AWS credentials in order to retrieve a list of EKS clusters:
Note that Chainguard's aws-cli Image has a single user nonroot
with uid 65532
, belonging to gid 65532
.; the previous command mounts the local .aws
directory under this user's home directory. Be aware that if you follow this method you may need to adjust the permissions of your local credentials file in order for the container to be able to read it.
You can get help with any command when using the AWS Command Line Interface (AWS CLI) by following any command name with help
. For example, the following command displays help for the general AWS CLI options and the available top-level commands:
The following command displays help information for the aws ec2 run-instances
command:
Please refer to the official Getting Started guide for more information.
Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:
Apache-2.0
Artistic-1.0-Perl
GCC-exception-3.1
GPL-1.0-or-later
GPL-2.0-or-later
GPL-3.0-or-later
LGPL-2.1-or-later
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementThis is a FIPS validated image for FedRAMP compliance.
This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.
Learn more about STIGsGet started with STIGs