Skip to main content

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

Metadata

Release files for secret_manager_cli 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 secret_manager_cli 0.1.0
File Size Uploaded Provenance Actions
secret_manager_cli-0.1.0.tar.gz 6.8 kB Without provenance Details for secret_manager_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for secret_manager_cli 0.1.0
File Interpreter ABI Platform Actions
secret_manager_cli-0.1.0-py3-none-any.whl Python 3 none any Details for secret_manager_cli-0.1.0-py3-none-any.whl

Total release size: 15.2 kB

Release files / secret_manager_cli-0.1.0.tar.gz

Download URL secret_manager_cli-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2710c4dd446dbc25b6d981da84e5c04f819bd7755f25b287f523054af4040aa4
BLAKE2b-256 checksum
How to use checksums
399675873eab80d05ba23124fdf20a544bd865395690170685889469c4975614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.18 Linux/6.5.0-1016-azure

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

Download URL secret_manager_cli-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e8c9984b788a977b591bde3ad0282398b62eaabff7672f512c62ce737ba1a75
BLAKE2b-256 checksum
How to use checksums
b1cf2c124760bf49746e2a7a4a5719aa709222c9d08ab8a1fc77f10eb5617149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.9.18 Linux/6.5.0-1016-azure

Security for secret_manager_cli 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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