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

unable to rotate pull-secret getting error saying denied access #477

Open
anjannath opened this issue Apr 3, 2023 · 1 comment
Open

Comments

@anjannath
Copy link

anjannath commented Apr 3, 2023

Hi am trying to rotate the pull secret associated with my account following the instructions at https://access.redhat.com/solutions/6992996

i am able to login with ocm cli but when i use the command echo '{}' | ocm post /api/accounts_mgmt/v1/accounts/{account_id}/pull_secret_rotation i get the following error:

{
  "code": "ACCT-MGMT-11",
  "href": "/api/accounts_mgmt/v1/errors/11",
  "id": "11",
  "kind": "Error",
  "operation_id": "6585a147-75ef-4ff1-8c9d-80f8083xxxxx",
  "reason": "Account with ID 1Du25ZKVVodjiADeU3BsLJxxxxx denied access to perform create on PullSecretRotation with HTTP call POST /api/accounts_mgmt/v1/accounts/xxxxxx/pull_secret_rotation"
}
@mrhillsman
Copy link
Contributor

@anjannath did you verify your account ID with ocm whoami first and make sure to use the ID provided from it?

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

No branches or pull requests

2 participants