aws_secrets_vault
Overview
Manage secrets vaults in AWS Secrets Manager.
This module helps to manage secrets in AWS Secrets Manager. The secrets are stored as dictionaries, allowing for each secret to have multiple key-value pairs. There is the option to use default AWS KMS keys for encryption or create / specify a Customer-Manager Key (CMK).
aws_authenticate module is used to authenticate with AWS Security Token Service (STS) using AWS IAM access key credentials for the interactive mode. You can customize this to use named profiles or Single Sign-On (SSO) instead.
The following functions are available:
- get_caller_identity
Get user identity from AWS Security Token Service (STS).
- list_kms_keys
List all keys in AWS Key Management Service (KMS).
- create_kms_key
Create key in AWS Key Management Service (KMS).
- delete_kms_key
Delete key in AWS Key Management Service (KMS).
- create_secrets_vault
Create secrets vault in AWS Secrets Manager.
- list_secrets_vaults
List all secrets vaults in AWS Secrets Manager.
- check_secrets_vault
Check if secrets vault exists in AWS Secrets Manager.
- get_secrets_vault
Get secrets from AWS Secrets Manager.
- update_secrets_vault
Update secrets vault in AWS Secrets Manager.
- delete_secrets_vault
Delete secrets vault from AWS Secrets Manager.
- create_secrets_dictionary
Create secrets dictionary from interactive inputs.
- create_secrets_vault_arn
Create secrets vault Amazon Resource Name (ARN) from vault name.
Usage
Installation:
pip3 install aws_secrets_vault
# or
python3 -m pip install aws_secrets_vault
To use the included CLI tool interactively:
Set environment variables in BASH.
export AWS_ACCESS_KEY_ID = <AWS_access_key_id>
export AWS_SECRET_ACCESS_KEY = <AWS_secret_access_key>
export AWS_SESSION_TOKEN = <AWS_session_token, default is None>
export AWS_REGION = <AWS_region, default is us-east-1>
export AWS_PARTITION = <AWS_partition, default is aws>
aws_vault
Metadata
Release files for aws_secrets_vault 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws_secrets_vault-1.1.0.tar.gz | 4.6 kB | Without provenance | Details for aws_secrets_vault-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_secrets_vault-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for aws_secrets_vault-1.1.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / aws_secrets_vault-1.1.0.tar.gz
| Download URL | aws_secrets_vault-1.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1f5c09f582d3ead2de3b4ef91245e5675f4935bbd01ca02e0e37401988966e2
|
|
BLAKE2b-256 checksum How to use checksums |
832dd45c98ac600e54a0936345786864deddcbcb5fa5c4e0d9fcec5aed3da2a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+
|
Release files / aws_secrets_vault-1.1.0-py3-none-any.whl
| Download URL | aws_secrets_vault-1.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abd348f0a817608648e39bddd9f0bc136692ccafa9af6bb28793d5d1d474bd9e
|
|
BLAKE2b-256 checksum How to use checksums |
6ea91ddb58fe9945f3191e5938c1cebc8806f81099f97493a9411b78590ec01c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+
|
Security for aws_secrets_vault 1.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.