Is your feature request related to a problem? Please describe.
I would like the ability to specify a specific version of a secret to retrieve from a Summon file. For example, Summon currently allows the ability to retrieve a specific key out of a multi-key value secret through the use of the <secret_path_here>#<key> syntax.
This would be useful in the case of doing credential rotations where new secret values added in via the update_secret operation will automatically assign the version AWSCURRENT to the new values, and the version ID AWSPREVIOUS to the old values.
It would be sweet if a user could also specify the version (i.e. !var <path_to_secret>#<key>#<version>)
Is your feature request related to a problem? Please describe.
I would like the ability to specify a specific version of a secret to retrieve from a Summon file. For example, Summon currently allows the ability to retrieve a specific
key
out of a multi-key value secret through the use of the<secret_path_here>#<key>
syntax.update_secret
operation will automatically assign the versionAWSCURRENT
to thenew
values, and the version IDAWSPREVIOUS
to theold values
.It would be sweet if a user could also specify the
version
(i.e.!var <path_to_secret>#<key>#<version>
)See: AWS SecretsManager Staging Labels
Describe the solution you would like
A clear and concise description of what the desired end result(s) would be.
^<version_label>
in the path (i.e.<path_to_secret>^<version_id>
will retrieve the secret with that specificVersionID
.Describe alternatives you have considered
Additional context
Nil