Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Wrong error on rotate api key for non existent host #343

Open
Conjur-oss opened this issue Nov 24, 2021 · 0 comments
Open

Wrong error on rotate api key for non existent host #343

Conjur-oss opened this issue Nov 24, 2021 · 0 comments

Comments

@Conjur-oss
Copy link
Collaborator

Conjur-oss commented Nov 24, 2021

##Bug description
I tried to rotate api key for not exitant host, and got the error : Failed to log in to Conjur. Unable to authenticate with Conjur. Reason: 401 Client Error: Unauthorized for url: https://alon.integration-cyberark.cloud/api/secretsmgr/authn/conjur/api_key?role=host%3Adata%2Fmy_apps%2Fmy_VM. Check your credentials and try again.

The error is relevant to the problem.

Steps to reproduce:
run conjur rotate-api-key -i

Current Results:
Got an error :
Failed to log in to Conjur. Unable to authenticate with Conjur. Reason: 401 Client Error: Unauthorized for url: https://alon.integration-cyberark.cloud/api/secretsmgr/authn/conjur/api_key?role=host%3Adata%2Fmy_apps%2Fmy_VM. Check your credentials and try again.

Expected Results:
Error that will indicate that the host doesn't exist or at-lest not show not relevant error

Error Messages:

Logs:

Other Symptoms:

Tenant ID / Pod Number:

##Found in version
12.3

##Workaround Complexity
No workaround

##Workaround Description

##Affects Version/s

##Link to JIRA bug
ONYX-14315

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant