Manage secrets vaults in AWS Secrets Manager.
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_secrets_vault-1.1.0.tar.gz.
File metadata
- Download URL: aws_secrets_vault-1.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f5c09f582d3ead2de3b4ef91245e5675f4935bbd01ca02e0e37401988966e2
|
|
| MD5 |
da46d10bbc38832965c2aefeb1c53f6a
|
|
| BLAKE2b-256 |
832dd45c98ac600e54a0936345786864deddcbcb5fa5c4e0d9fcec5aed3da2a4
|
File details
Details for the file aws_secrets_vault-1.1.0-py3-none-any.whl.
File metadata
- Download URL: aws_secrets_vault-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abd348f0a817608648e39bddd9f0bc136692ccafa9af6bb28793d5d1d474bd9e
|
|
| MD5 |
a022e4232fd84b36f8dc823a0e012f3a
|
|
| BLAKE2b-256 |
6ea91ddb58fe9945f3191e5938c1cebc8806f81099f97493a9411b78590ec01c
|