Skip to main content

awscli-plugin-bolt

This AWS CLI plugin provides an authentication and authorization solution for accessing Bolt securely using the AWS CLI.

It uses the standard AWS CLI configuration to store the URL for accessing Bolt. Active profiles disable regular S3 request signing, and instead provide a presigned STS GetCallerIdentity API call to securely authenticate requests using Bolt.

Prerequisites

The minimum supported version of Python is version 3.

awscli must be installed. e.g. pip3 install awscli --user

Installation

To install the plugin package, run: pip3 install awscli-plugin-bolt --user.

Configuration

To configure the plugin after it has been installed, use aws configure:

aws configure set plugins.bolt awscli-plugin-bolt
aws [--profile PROFILE] configure set bolt_custom_domain <bolt custom domain>
aws [--profile PROFILE] configure set bolt_az <preferred availability zone ID>

bolt_custom_domain

For example, to activate a Bolt service using an internal load balancer hosted at https://bolt.us-east-1.project.n for the staging AWS profile, run:

aws --profile staging configure set bolt_custom_domain project.n
aws --profile staging configure set bolt_az use1-az1

Alternatively, the bolt_url and bolt_hostname can be set explicitly

aws --profile staging configure set bolt_hostname bolt.us-east-1.project.n
aws --profile staging configure set bolt_url https://quicksilver.us-east-1.project.n
aws --profile staging configure set bolt_az use1-az1

AWS CLI v2

This plugin has been tested for compatibility with AWS CLI version 2, but please take note of the [plugins] configuration breaking changes. In particular, you will need to add a block like:

[plugins]
cli_legacy_plugin_path = /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages

in your ~/.aws/config file for the plugin registration to succeed.

To find the correct location for cli_legacy_plugin_path after installing the plugin, run:

pip3 show awscli-plugin-bolt | grep Location:

Release files for awscli-plugin-bolt 2.0.4

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

Source distribution (sdist)

Source distribution for awscli-plugin-bolt 2.0.4
File Size Uploaded
awscli-plugin-bolt-2.0.4.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awscli-plugin-bolt 2.0.4
File Interpreter ABI Platform
awscli_plugin_bolt-2.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 22.4 kB

Release files / awscli-plugin-bolt-2.0.4.tar.gz

Download URL awscli-plugin-bolt-2.0.4.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6aea0bee95902a13bcf4f13a2873ce00ae6627d5faa681791e88a81f14514a5e
BLAKE2b-256 checksum
How to use checksums
7e7528cfe05109f55568e0d9c06a165cd8580e19471ba71f31441a96759ec44b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / awscli_plugin_bolt-2.0.4-py2.py3-none-any.whl

Download URL awscli_plugin_bolt-2.0.4-py2.py3-none-any.whl
Size 11.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d3b88c12252169fedaf07d20609d1d718a12cfc13726ca33944040bd67ece06b
BLAKE2b-256 checksum
How to use checksums
9a53138df30cec5f68f154572bc43966056d7c1150af03da2c02182dc37629b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

2.0.4 This release

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

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