Small utility to fuzzy search from a secret store and print the value to stdout
python -m pip install fuzzy-secret-stdout
Dependencies:
- Python 3.9+
fzf
- Valid AWS Credentials available your terminal context
# 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 .
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 | 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 |