-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for retrieving specific secret versions #45
base: main
Are you sure you want to change the base?
Conversation
Hi @tratnayake. Thank you for making this contribution. It is very much appreciated! I think this is a valuable change, and am happy to provide feedback. To begin with I've provided a checklist of some house-keeping, I believe these will be necessary to merge:
I'll provide feedback on the PR in subsequent comments. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tratnayake. I left some comments above. This comment is mostly just to mark the PR as having a review.
@tratnayake - 👋 are you going to be able to make the requested changes on this PR? If not, we can look into scheduling time to push this forward for you, but it might not be for a month or two. Please let us know if the requested changes above make sense, and if you have any issues please feel free to ask questions here or on Discourse. |
Note To Readers
: Hi folks! 👋🏽 This is my first time contributing to open source software && I'm also pretty new to Go 🥺 and I'm sure I'm probably missing some things. Would definitely appreciate feedback and suggestions on what to do next (like..how do I test this with project convetions?) :)What does this PR do?
!var accounting/database#username^AWSPREVIOUS
will now fetch theusername
key with the version ID ofAWSPREVIOUS
Context
AWSCURRENT
update-secret
operation, it assigns the versionAWSCURRENT
to the new value, andAWSPREVIOUS
to the one before it.AWSCURRENT
by default.key
from a secret (if stored as a JSON object) by using the#
separator.accounting/database
that looks like:{"username":"bob","password":"changeme"}
, using a path like!var accounting/database#username
will returnbob
^
operator (i.e.!var accounting/database#username^AWSPREVIOUS
What ticket does this PR close?
Checklists
Change log
Test coverage
!var accounting/database#username
!var accounting/database#password
AWSPREVIOUS
AWSCURRENT
Documentation
README
s) were updated in this PR, and/or there is a follow-on issue to update docs, or