Add view secret value action for secrets manager#91
Add view secret value action for secrets manager#91huseyinbabal merged 3 commits intohuseyinbabal:masterfrom
Conversation
Press 'v' on a secret to retrieve and display its decrypted value in the JSON viewer.
huseyinbabal
left a comment
There was a problem hiding this comment.
@ldziedziul Thanks for the contribution, it works like a charm, but can we use x instead of v to follow convention of k9s? This project is highly inspired from that project and x is used for decoding secrets in k8s and actually I like x key since it is like you are looking at "x files", thanks in advance 🙏
@huseyinbabal sure thing, done: 12ff930 |
|
@ldziedziul do not forget to fix PR check failure |
|
@ldziedziul Feel free to merge so that I can introduce another release candidate |
|
Merged, thanks for you effor 🙏 a new version will be arrived soon |

Press 'x' on a secret to retrieve and display its decrypted value in the JSON viewer.
Related Issue
Closes #90
Description
Adds a new action type
show_resultfor actions that retrieve and display data rather than executing mutations. When triggered, these actions fetch data from AWS and display it in the JSON viewer (Describe mode).Changes:
show_resultfield toActionDeffor read-only actions that return displayable dataexecute_action_with_result()in dispatch module for Secrets Manager'sGetSecretValueAPIshow_resultactions are allowed even in readonly mode since they don't mutate resourcesType of Change
Checklist
Screenshots (if applicable)