{"id":13412353,"url":"https://github.com/aws/aws-cli","last_synced_at":"2025-05-12T15:10:26.581Z","repository":{"id":5575024,"uuid":"6780767","full_name":"aws/aws-cli","owner":"aws","description":"Universal Command Line Interface for Amazon Web Services","archived":false,"fork":false,"pushed_at":"2025-05-03T00:14:42.000Z","size":314362,"stargazers_count":16019,"open_issues_count":583,"forks_count":4263,"subscribers_count":571,"default_branch":"develop","last_synced_at":"2025-05-05T11:12:40.476Z","etag":null,"topics":["aws","aws-cli","cloud","cloud-management"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-11-20T16:07:36.000Z","updated_at":"2025-05-05T07:40:13.000Z","dependencies_parsed_at":"2023-12-19T01:54:43.207Z","dependency_job_id":"d55e2f3a-5a2f-42b2-89e5-714ae813fb26","html_url":"https://github.com/aws/aws-cli","commit_stats":{"total_commits":8300,"total_committers":451,"mean_commits":"18.403547671840354","dds":0.6449397590361445,"last_synced_commit":"4e63b63d7ce828cd97ed07ad2d0148b680489b59"},"previous_names":[],"tags_count":2847,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws%2Faws-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws","download_url":"https://codeload.github.com/aws/aws-cli/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252486930,"owners_count":21755835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-cli","cloud","cloud-management"],"created_at":"2024-07-30T20:01:23.766Z","updated_at":"2025-05-05T12:36:09.693Z","avatar_url":"https://github.com/aws.png","language":"Python","funding_links":[],"categories":["Python","Command-line Tools","语言资源库","资源列表","\u003ca id=\"tag-dev\" href=\"#tag-dev\"\u003eDev\u003c/a\u003e","HarmonyOS","Command Line","aws","Development","References","后端开发框架及项目","cloud","Infrastructure \u0026 DevOps","0x02 工具 :hammer_and_wrench:","Uncategorized","🐧 Linux","Command Line Tools","Awesome Python","Cloud and Infrastructure","DevOps Tools"],"sub_categories":["python","命令行工具","\u003ca id=\"tag-dev.ops\" href=\"#tag-dev.ops\"\u003eOps\u003c/a\u003e","Windows Manager","Dependency Management","Devops","Device Metrics","管理面板","1 云服务工具","Uncategorized","shell","Universal Command Line Interface","Command-line Tools"],"readme":"aws-cli\n=======\n\n.. image:: https://github.com/aws/aws-cli/actions/workflows/run-tests.yml/badge.svg\n   :target: https://github.com/aws/aws-cli/actions/workflows/run-tests.yml\n   :alt: Build Status\n\nThis package provides a unified command line interface to Amazon Web\nServices.\n\nJump to:\n\n-  `Getting Started \u003c#getting-started\u003e`__\n-  `Getting Help \u003c#getting-help\u003e`__\n-  `More Resources \u003c#more-resources\u003e`__\n\nGetting Started\n---------------\n\nThis README is for the AWS CLI version 1. If you are looking for\ninformation about the AWS CLI version 2, please visit the `v2\nbranch \u003chttps://github.com/aws/aws-cli/tree/v2\u003e`__.\n\nRequirements\n~~~~~~~~~~~~\n\nThe aws-cli package works on Python versions:\n\n-  3.9.x and greater\n-  3.10.x and greater\n-  3.11.x and greater\n-  3.12.x and greater\n\nNotices\n~~~~~~~\n\nOn 2025-04-22, support for Python 3.8 ended for the AWS CLI. This follows the\nPython Software Foundation `end of support \u003chttps://peps.python.org/pep-0569/#lifespan\u003e`__\nfor the runtime which occurred on 2024-10-07.\nFor more information, see this `blog post \u003chttps://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/\u003e`__.\n\n*Attention!*\n\n*We recommend that all customers regularly monitor the* `Amazon Web\nServices Security Bulletins\nwebsite \u003chttps://aws.amazon.com/security/security-bulletins\u003e`__ *for\nany important security bulletins related to aws-cli.*\n\nMaintenance and Support for CLI Major Versions\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe AWS CLI version 1 was made generally available on 09/02/2013 and is currently in the full support phase of the availability life cycle.\n\nFor information about maintenance and support for SDK major versions and their underlying dependencies, see the `Maintenance Policy \u003chttps://docs.aws.amazon.com/credref/latest/refdocs/maint-policy.html\u003e`__ section in the *AWS SDKs and Tools Shared Configuration and Credentials Reference Guide*.\n\nInstallation\n~~~~~~~~~~~~\n\nInstallation of the AWS CLI and its dependencies use a range of packaging\nfeatures provided by ``pip`` and ``setuptools``. To ensure smooth installation,\nit's recommended to use:\n\n- ``pip``: 9.0.2 or greater\n- ``setuptools``: 36.2.0 or greater\n\nThe safest way to install the AWS CLI is to use\n`pip \u003chttps://pip.pypa.io/en/stable/\u003e`__ in a ``virtualenv``:\n\n::\n\n   $ python -m pip install awscli\n\nor, if you are not installing in a ``virtualenv``, to install globally:\n\n::\n\n   $ sudo python -m pip install awscli\n\nor for your user:\n\n::\n\n   $ python -m pip install --user awscli\n\nIf you have the aws-cli package installed and want to upgrade to the\nlatest version, you can run:\n\n::\n\n   $ python -m pip install --upgrade awscli\n\nThis will install the aws-cli package as well as all dependencies.\n\n.. note::\n   On macOS, if you see an error regarding the version of ``six`` that\n   came with ``distutils`` in El Capitan, use the ``--ignore-installed``\n   option:\n\n::\n\n   $ sudo python -m pip install awscli --ignore-installed six\n\nOn Linux and Mac OS, the AWS CLI can be installed using a `bundled\ninstaller \u003chttps://docs.aws.amazon.com/cli/latest/userguide/install-linux.html#install-linux-bundled\u003e`__.\nThe AWS CLI can also be installed on Windows via an `MSI\nInstaller \u003chttps://docs.aws.amazon.com/cli/latest/userguide/install-windows.html#msi-on-windows\u003e`__.\n\nIf you want to run the ``develop`` branch of the AWS CLI, see the\n`Development Version \u003cCONTRIBUTING.md#cli-development-version\u003e`__ section of\nthe contributing guide.\n\nSee the\n`installation \u003chttps://docs.aws.amazon.com/cli/latest/userguide/install-cliv1.html\u003e`__\nsection of the AWS CLI User Guide for more information.\n\nConfiguration\n~~~~~~~~~~~~~\n\nBefore using the AWS CLI, you need to configure your AWS credentials.\nYou can do this in several ways:\n\n-  Configuration command\n-  Environment variables\n-  Shared credentials file\n-  Config file\n-  IAM Role\n\nThe quickest way to get started is to run the ``aws configure`` command:\n\n::\n\n   $ aws configure\n   AWS Access Key ID: MYACCESSKEY\n   AWS Secret Access Key: MYSECRETKEY\n   Default region name [us-west-2]: us-west-2\n   Default output format [None]: json\n\nTo use environment variables, do the following:\n\n::\n\n   $ export AWS_ACCESS_KEY_ID=\u003caccess_key\u003e\n   $ export AWS_SECRET_ACCESS_KEY=\u003csecret_key\u003e\n\nTo use the shared credentials file, create an INI formatted file like\nthis:\n\n::\n\n   [default]\n   aws_access_key_id=MYACCESSKEY\n   aws_secret_access_key=MYSECRETKEY\n\n   [testing]\n   aws_access_key_id=MYACCESSKEY\n   aws_secret_access_key=MYSECRETKEY\n\nand place it in ``~/.aws/credentials`` (or in\n``%UserProfile%\\.aws/credentials`` on Windows). If you wish to place the\nshared credentials file in a different location than the one specified\nabove, you need to tell aws-cli where to find it. Do this by setting the\nappropriate environment variable:\n\n::\n\n   $ export AWS_SHARED_CREDENTIALS_FILE=/path/to/shared_credentials_file\n\nTo use a config file, create an INI formatted file like this:\n\n::\n\n   [default]\n   aws_access_key_id=\u003cdefault access key\u003e\n   aws_secret_access_key=\u003cdefault secret key\u003e\n   # Optional, to define default region for this profile.\n   region=us-west-1\n\n   [profile testing]\n   aws_access_key_id=\u003ctesting access key\u003e\n   aws_secret_access_key=\u003ctesting secret key\u003e\n   region=us-west-2\n\nand place it in ``~/.aws/config`` (or in ``%UserProfile%\\.aws\\config``\non Windows). If you wish to place the config file in a different\nlocation than the one specified above, you need to tell the AWS CLI\nwhere to find it. Do this by setting the appropriate environment\nvariable:\n\n::\n\n   $ export AWS_CONFIG_FILE=/path/to/config_file\n\nAs you can see, you can have multiple ``profiles`` defined in both the\nshared credentials file and the configuration file. You can then specify\nwhich profile to use by using the ``--profile`` option. If no profile is\nspecified the ``default`` profile is used.\n\nIn the config file, except for the default profile, you **must** prefix\neach config section of a profile group with ``profile``. For example, if\nyou have a profile named \"testing\" the section header would be\n``[profile testing]``.\n\nThe final option for credentials is highly recommended if you are using\nthe AWS CLI on an EC2 instance. `IAM\nRoles \u003chttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html\u003e`__\nare a great way to have credentials installed automatically on your\ninstance. If you are using IAM Roles, the AWS CLI will find and use them\nautomatically.\n\nIn addition to credentials, a number of other variables can be\nconfigured either with environment variables, configuration file\nentries, or both. See the `AWS Tools and SDKs Shared Configuration and\nCredentials Reference\nGuide \u003chttps://docs.aws.amazon.com/credref/latest/refdocs/overview.html\u003e`__\nfor more information.\n\nFor more information about configuration options, please refer to the\n`AWS CLI Configuration Variables\ntopic \u003chttp://docs.aws.amazon.com/cli/latest/topic/config-vars.html#cli-aws-help-config-vars\u003e`__.\nYou can access this topic from the AWS CLI as well by running\n``aws help config-vars``.\n\nBasic Commands\n~~~~~~~~~~~~~~\n\nAn AWS CLI command has the following structure:\n\n::\n\n   $ aws \u003ccommand\u003e \u003csubcommand\u003e [options and parameters]\n\nFor example, to list S3 buckets, the command would be:\n\n::\n\n   $ aws s3 ls\n\nTo view help documentation, use one of the following:\n\n::\n\n   $ aws help\n   $ aws \u003ccommand\u003e help\n   $ aws \u003ccommand\u003e \u003csubcommand\u003e help\n\nTo get the version of the AWS CLI:\n\n::\n\n   $ aws --version\n\nTo turn on debugging output:\n\n::\n\n   $ aws --debug \u003ccommand\u003e \u003csubcommand\u003e\n\nYou can read more information on the `Using the AWS\nCLI \u003chttps://docs.aws.amazon.com/cli/latest/userguide/cli-chap-using.html\u003e`__\nchapter of the AWS CLI User Guide.\n\nCommand Completion\n~~~~~~~~~~~~~~~~~~\n\nThe aws-cli package includes a command completion feature for Unix-like\nsystems. This feature is not automatically installed so you need to\nconfigure it manually. To learn more, read the `AWS CLI Command\ncompletion\ntopic \u003chttps://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html\u003e`__.\n\nGetting Help\n------------\n\nThe best way to interact with our team is through GitHub. You can `open\nan issue \u003chttps://github.com/aws/aws-cli/issues/new/choose\u003e`__ and\nchoose from one of our templates for guidance, bug reports, or feature\nrequests.\n\nYou may find help from the community on `Stack\nOverflow \u003chttps://stackoverflow.com/\u003e`__ with the tag\n`aws-cli \u003chttps://stackoverflow.com/questions/tagged/aws-cli\u003e`__ or on\nthe `AWS Discussion Forum for\nCLI \u003chttps://forums.aws.amazon.com/forum.jspa?forumID=150\u003e`__. If you\nhave a support plan with `AWS Support\n\u003chttps://aws.amazon.com/premiumsupport\u003e`__, you can also create\na new support case.\n\nPlease check for open similar\n`issues \u003chttps://github.com/aws/aws-cli/issues/\u003e`__ before opening\nanother one.\n\nThe AWS CLI implements AWS service APIs. For general issues regarding\nthe services or their limitations, you may find the `Amazon Web Services\nDiscussion Forums \u003chttps://forums.aws.amazon.com/\u003e`__ helpful.\n\nMore Resources\n--------------\n\n-  `Changelog \u003chttps://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst\u003e`__\n-  `AWS CLI\n   Documentation \u003chttps://docs.aws.amazon.com/cli/index.html\u003e`__\n-  `AWS CLI User\n   Guide \u003chttps://docs.aws.amazon.com/cli/latest/userguide/\u003e`__\n-  `AWS CLI Command\n   Reference \u003chttps://docs.aws.amazon.com/cli/latest/reference/\u003e`__\n-  `Amazon Web Services Discussion\n   Forums \u003chttps://forums.aws.amazon.com/\u003e`__\n-  `AWS Support \u003chttps://console.aws.amazon.com/support/home#/\u003e`__\n\n.. |Build Status| image:: https://travis-ci.org/aws/aws-cli.svg?branch=develop\n   :target: https://travis-ci.org/aws/aws-cli\n.. |Gitter| image:: https://badges.gitter.im/aws/aws-cli.svg\n   :target: https://gitter.im/aws/aws-cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws%2Faws-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws%2Faws-cli/lists"}