Bolt plugin for AWS CLI
Project description
# 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 [-e] . from this directory.
## Configuration
To configure the plugin after it has been installed, use aws configure:
`bash aws configure set plugins.bolt awscli-plugin-bolt aws [--profile PROFILE] configure set bolt.url <bolt URL> `
For example, to activate a Bolt service using an internal load balancer hosted at http://bolt.project.n for the staging AWS profile, run: `bash aws --profile staging configure set bolt.url http://bolt.project.n `
## AWS CLI v2
This plugin has been tested for compatibility with [AWS CLI version 2](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html), but please take note of the [[plugins] configuration breaking changes](https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-profile-plugins). 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:
`bash pip3 show awscli-plugin-bolt | grep Location: `
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
Built Distribution
Hashes for awscli_plugin_bolt-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b79440ef505e63339f8b2b0df1a28854fdb3fa2d6522b00b928ff8228671075b |
|
MD5 | 7869be12e83a8772dcd34ea81e7ea455 |
|
BLAKE2b-256 | 9d5dbcaa0e839d31c00b758a6d7328c22f76a07299e885272b9a34465af9e2b6 |