Skip to content

Small utility to fuzzy search from a secret store and print the value to stdout

License

Notifications You must be signed in to change notification settings

kiran94/fuzzy-secret-stdout

Repository files navigation

fuzzy-secret-stdout

Small utility to fuzzy search from a secret store and print the value to stdout

main GitHub License PyPI - Version

Install

python -m pip install fuzzy-secret-stdout

Dependencies:

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