A CLI to configure AWS named profiles in ~/.aws/config and ~/.aws/credentials files
Project description
aws-configure
A CLI to configure AWS named profiles in ~/.aws/config
and ~/.aws/credentials files
Usage
list profiles:
aws-configure list
set profile options:
aws-configure set [--profile/-p <profile_name>] [--clean/-c] [<config_options...>]
--profile/-p <profile_name> : select profile ['default']
<config_options> : key=value pairs e.g. 'region=eu-central-1' 'source_profile=default'
--empty/-e : empty all profile options before setting new options
--empty-config : empty profile config options before setting
--empty-credentials : empty profile credentials options before setting
get profile options:
aws-configure get [--profile/-p <profile_name>] [<config_options...>]
--profile/-p <profile_name> : select profile ['default']
<config_options> : option key e.g. 'region' 'source_profile'
delete profile:
aws-configure delete [--profile/-p <profile_name>] [--config] [--credentials]
--profile/-p <profile_name> : select profile ['default']
--config : delete only profile config in '~/.aws/config'
--credentials : delete only profile credentials in '~/.aws/credentials'
print help
aws-configure help
Setup dev environment
Install Dev Dependencies
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
Create Package
python3 setup.py sdist bdist_wheel
Local Install
pip3 install --force-reinstall --no-deps dist/aws_configure-*-py3-none-any.whl
Deploy to PiPy
twine upload dist/*
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 Distribution
aws-configure-2.1.2.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file aws-configure-2.1.2.tar.gz
.
File metadata
- Download URL: aws-configure-2.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908c95b7a446ce0c5d393fa50515979f0ac8a24cf61016c2be3701334434fa74 |
|
MD5 | e45808bdb3b06abf0b7a03f0ca2c11d2 |
|
BLAKE2b-256 | 33e989919a012dfeb27a68b7abf3a8cb6eaf6c6682690fbc2b6c4db1be1141d0 |
Provenance
File details
Details for the file aws_configure-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: aws_configure-2.1.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed8dd2bc5587ba0672b4495621ebe7d633c4f20f185b3a813738292ecbcd590 |
|
MD5 | 19788116c885398e4d7f1477106b7fd4 |
|
BLAKE2b-256 | 9542b46fdb4fbd3a87b885d6b8181d7fdf38a0b3cebe3a88e6c6de63ac0a73d9 |