Skip to main content

Awsume Default Profile Plugin

Awsume 4 only.

This is a plugin that let's you specify a different default profile to use when invoking awsume without a specified profile name.

Installation

Install with pip

$ pip install awsume-default-profile-plugin

Note: this will only work if you have also installed awsume with pip; the plugin will not be included if you installed awsume with brew.

Configuration

Configure this plugin to override the default profile name selected when no profile_name positional argument is specifed in the call to awsume. The plugin will use the following values:

  1. The value of the AWSUME_DEFAULT_PROFILE environment variable if set, or

  2. The value of the default-profile key in your ~/.awsume/config.yaml if set, or

  3. The value "default".

If a profile_name or role_arn argument is supplied to awsume, this plugin will not do anything.

Usage

I'm using direnv to set the AWSUME_DEFAULT_PROFILE for specific directories so I can just call awsume without having to specific a specific profile each time (auto-complete just feels a little too slow for me).

Development

After making changes, test by installing the plugin locally. From the repo run:

$ pip install .

To publish changes:

# Don't forget to increment the version number
$ python setup.py sdist bdist_wheel
$ python -m twine upload dist/*
# Clean up build artifacts
$ git clean -xdf

See https://packaging.python.org/tutorials/packaging-projects/ for more detail.

Metadata

Release files for awsume-default-profile-plugin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awsume-default-profile-plugin 0.1.0
File Size Uploaded Provenance
awsume-default-profile-plugin-0.1.0.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for awsume-default-profile-plugin 0.1.0
File Interpreter ABI Platform
awsume_default_profile_plugin-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / awsume-default-profile-plugin-0.1.0.tar.gz

Download URL awsume-default-profile-plugin-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b307bd356bddebf240727af07ca12d6da5fdeb6d3c31aa9e2758892e23fc8fc
BLAKE2b-256 checksum
How to use checksums
9eeaaa9b6d702da02f55c4e9413bc1a2466d25c9d036c5ea8d6c454566b66e04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

Release files / awsume_default_profile_plugin-0.1.0-py3-none-any.whl

Download URL awsume_default_profile_plugin-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f96e3bf5bb8d4d21f2dcfda2fb3c674a62214d15625e83f04a4f59e611a8abac
BLAKE2b-256 checksum
How to use checksums
729e4f6a32e88e12c23bd3dec2581eda70e7f57e67b67bdee8c7b5310d799d2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

Security for awsume-default-profile-plugin 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page