unable to rotate pull-secret getting error saying denied access
Opened this issue · 1 comments
anjannath commented
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 commented
@anjannath did you verify your account ID with ocm whoami first and make sure to use the ID provided from it?