AWS Secret Manager Cli tool for managing AWS secrets easily
Project description
secret_manager_cli
AWS aws-secret-manager-cli tool is aimed to :
- list all the secrets under your AWS account
- edit your secret directly from you terminal editor
Examples:
❯ python -m secret_manager_cli update-secret your-secret-name
❯ python -m secret_manager_cli update-secret
❯ python -m secret_manager_cli list-secret
Installation
Requirements
- Install awscli via [https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html] (not necessary if you are connected to an EC2 instance)
You should install the requirements via the pip install below.
Create a virtualenv with python >= 3.9
source .venv_3.11.0/bin/activate
pip install secret_manager_cli
if it is the first time you connect to aws-cli, you have to get credentials key from your aws administrator.
Usage
❯ python -m secret_manager_cli --help
Welcome in secret manager Cli !
Usage: secret_manager_cli [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version -v Show the application's version and exit. │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ list-secret List secret(s) from AWS Secret Manager │
│ update-secret Update secret from secret manager │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Thanks to Typer from @tiangolo
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
Built Distribution
Close
Hashes for secret_manager_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e8c9984b788a977b591bde3ad0282398b62eaabff7672f512c62ce737ba1a75 |
|
MD5 | 6b605938cf078be81fef5460d5d617d5 |
|
BLAKE2b-256 | b1cf2c124760bf49746e2a7a4a5719aa709222c9d08ab8a1fc77f10eb5617149 |