Small utility to fuzzy search from a secret store and print the value to stdout
Project description
fuzzy-secret-stdout
Small utility to fuzzy search from a secret store and print the value to stdout
Install
python -m pip install fuzzy-secret-stdout
Dependencies:
- Python 3.9+
fzf
- Valid AWS Credentials available your terminal context
Usage
# fuzzy search from secrets from aws parameter store
fuzzy-secret-stdout
# alias for the above
fss
# fuzzy search and explicitly specify the secret store to search
fss -i AWS_SECRET_MAN
# fuzzy search aws secret manager and pipe into jq
fss -i AWS_SECRET_MAN | jq .
Integrations
fuzzy-secret-stdout
supports the following secret stores:
Secret Store | Command Line Argument |
---|---|
AWS Systems Manager Parameter Store | AWS_SSM |
AWS Secrets Manager | AWS_SECRET_MAN |
The Command Line Argument above is passed as the -i
flag. AWS_SSM
is the default.
Environment Variables
Environment Variables | Description | Default |
---|---|---|
FSS_MAX_BATCH_RESULTS |
The maximum number of results to request from the underlying secret service per batch. Note that this value might be rejected by the underlying secret service. For example boto3 validates this value to be <= 50 for AWS SSM |
50 |
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
File details
Details for the file fuzzy_secret_stdout-0.3.0.tar.gz
.
File metadata
- Download URL: fuzzy_secret_stdout-0.3.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1abc4e9e5eedb4c010ad071047c521e4218446402400c21a253a21ac687bd0e3 |
|
MD5 | e3e11e6976355f05cc073e7efdbe11a7 |
|
BLAKE2b-256 | 02b751d1df6d31f05db3849dbcaaab4cc4b95ef2a8d2a09c934b55a29c581fa9 |
File details
Details for the file fuzzy_secret_stdout-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: fuzzy_secret_stdout-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5545d1c3e6e4cf3ddb157da5a7f30e2a0c22f7f1220523a0e54601835ec82a28 |
|
MD5 | 5b8866b86d63a43eec8639a276cd1359 |
|
BLAKE2b-256 | c143c5420041169dfc79457a3d91aca4379c0d6b264adbbdc01ec1687a065014 |