Support custom key retrival and getting custom Versions of secrets #1206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allow users to name which keys to fetch instead of loading it by application name. This would provide bigger versatility and would allow users to use common credentials for POC or something like that. Not only that but this would allow users to fetch secrets by namings they choose and wouldn't have to switch to application name namings.
This integration would allow users to fetch versions of older parameters or secrets which could be something they might choose. We are not making calls that are not required with this way of loading, meaning no additional cost and starting fetch time will be faster since we are only looking what is asked.
example of use:
If needed to keep the old way of loading we could just place an empty string after
SECRETS:
TO:DO
(If the idea is accepted would be happy to do all under)
Introduce loading by env which is currently not supported. (Each application-env file would be taken into account).
Introduce
aws.distributed-configuration
as a list and have a prefix change depending on the integration. (Parameter store could be easily integrated by just implementing one class).Allow
Optional
beforeSECRETS:
meaning all secrets loaded will not cause failure on load.If chosen old way of loading can be kept for backward compatibility.
Clean code and namings more.
Introduce missing tests.