-
Notifications
You must be signed in to change notification settings - Fork 207
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
AccessKey credentials are reset on every cluster creation #637
Comments
@jbpratt I think this issue will not happen if you configure aws credential with another aws user rather than the 'osdCCSadmin' user credential. |
@jbpratt I have opened a JIRA issue about this, https://issues.redhat.com/browse/SDA-5644 |
thanks for that @yuwang-RH, I think an issue with using another user is that OCM utilizes this user, so while subsequent calls to ROSA stop working, OCM does as well. According to the docs, this is the user to use. (Note: we are trying to use OCM and ROSA in the same account) |
I don't mean to side-track the issue, but, why not use STS mode? |
Hey @arendej , thanks for the recommendation, I will need to look more into it. I think even if we use an alternate auth method, the credentials are still rotated which causes issues with the |
Hey @arendej what are your thoughts on the edit: maybe if I'm using STS mode then the credentials don't get upserted? I'm looking into this now |
that is exactly what it is! 😺 thank you very much @arendej and @yuwang-RH ! STS mode doesn't upsert the creds 👍 |
Going to re-open this issue, various code paths ( |
Hey, I encountered this issue too. STS is not an option for us since our product does not support STS just yet. If you create a ROSA cluster in certain aws account (not matter what aws user is used) the ROSA cli upsert the |
Hi, I have faced encountered this as well. For each ROSA cluster creation, the existing |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/lifecycle frozen |
Access keys are being reset on every
rosa create cluster ...
call such that subsequent calls (rosa list clusters
) failed due to invalid credentials. These credentials are also used when working with theocm
CLI so it is causing issues for my team since we store these. Would it be possible to not upsert the access keys on cluster creation or perhaps suggest an alternative workflow? cc'ing @jharrington22 since they wrote the code and explanation.rosa/pkg/aws/client.go
Lines 471 to 494 in 7b3efee
The text was updated successfully, but these errors were encountered: