Skip to main content

A CLI to configure AWS named profiles in ~/.aws/config and ~/.aws/credentials files

Project description

aws-configure

PyPI

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


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.8.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

aws_configure-2.1.8-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page