Skip to content
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

secrets for Amazon secrets manager ASM get double set of keys #8573

Open
babadofar opened this issue Apr 23, 2023 · 4 comments
Open

secrets for Amazon secrets manager ASM get double set of keys #8573

babadofar opened this issue Apr 23, 2023 · 4 comments

Comments

@babadofar
Copy link

Somehow the updating of secrets in ASM never worked on my cluster due to missing permissions, Now the permissions were fixed and the secrets are botched.
The secrets now get an extra key, like this

oauth: {"oauth": "ghp_kkkke"}

while the expectation is that the secret should be like

{"oauth": "ghp_kkkke"}
@babadofar
Copy link
Author

@ankitm123 @msvticket do you see this problem as well?

@msvticket
Copy link
Member

msvticket commented Apr 24, 2023

We don't use ASM

I had other problems when trying to use it so I reverted to vault

@babadofar
Copy link
Author

Got this fixed now. First I saw that the AWS assumed role did not have permissions to update secrets. Fixed by adding the needed permissions to the role. Then by running "jx secret populate", the secrets were generated again, and now it works

@msvticket
Copy link
Member

/area secrets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants