Wrapper for dockerized AWS CLI v2
Project description
AWS CLI v2
Wrapper for dockerized AWS CLI v2. Uses amazon/aws-cli Docker image.
Installation
Install Docker.
pip install awscliv2
Usage
Container uses two volumes:
$HOME/.aws
->/root/.aws
$(cwd)
->/aws
# alias for
# docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/aws amazon/aws-cli $@
awsv2 s3 ls
# or as a python module
python -m awscliv2 s3 ls
Add new profile from ENV variables:
AWS_ACCESS_KEY_ID='my-access-key'
AWS_SECRET_ACCESS_KEY='my-secret-key'
# --configure profile_name access_key secret_key region_name
awsv2 --configure profile_name ${AWS_ACCESS_KEY_ID} ${AWS_SECRET_ACCESS_KEY} us-west-1
Versioning
awscliv2
version follows PEP 440.
Latest changes
Full changelog can be found in Changelog. Release notes can be found in Releases.
Change Log
All notable changes to this project are documented on Releases page.
The format is based on Keep a Changelog and this project adheres to PEP 440.
[Released]
[1.0.0] - 2020-08-29
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file awscliv2-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: awscliv2-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de27aadec89cf7c6c6ed54513afadfd792e6bbba22776b5d0ec7463755cf0127 |
|
MD5 | 0322f50f9c4527aa743453cfba137c36 |
|
BLAKE2b-256 | 8052d25b850ad41f396bab44ea30aa9019b382b54f15930c564ac13cc970e2f0 |