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

Better error message when appliance_url doesn't match machine address in .netrc or conjur.identity #83

Open
whip113 opened this issue Apr 20, 2021 · 0 comments

Comments

@whip113
Copy link

whip113 commented Apr 20, 2021

Is your feature request related to a problem? Please describe.

When summon-conjur is invoked and the address in appliance_url of the conjur.conf file doesn't match the address in machine of the conjur.identity file, summon-conjur exits with a generic error about failing to create a Conjur client.

Describe the solution you would like

When a conjur.identity file is found, but no credential is found in it (appliance_url does not match machine), summon-conjur should show a more helpful error like Conjur.identity file was read, but credential for machine https://server.name.com was not found. This would help with troubleshooting efforts.

Describe alternatives you have considered

Alternatively, this could be part of the verbose logging facility, though a simple config mistake like this should be more readily obtained IMO.

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

No branches or pull requests

2 participants