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

Add a check to see if the Conjur version is out of date #104

Closed
telday opened this issue Mar 30, 2021 · 1 comment
Closed

Add a check to see if the Conjur version is out of date #104

telday opened this issue Mar 30, 2021 · 1 comment

Comments

@telday
Copy link
Contributor

telday commented Mar 30, 2021

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

The new RetreieveBatchSecretsSafe method requires at least Conjur version 1.11.4 or above. We should have a check which either warns the user or shows an error if the Conjur version is older.

@szh
Copy link
Contributor

szh commented Jan 17, 2025

This is handled in the response if the secrets come back not encoded:
https://github.com/cyberark/conjur-api-go/blob/main/conjurapi/variable.go#L113-L118
While we could do a proactive check before sending the request, as we do with policy dry run, there's less of a need here since there's no destructive action if it fails.

@szh szh closed this as completed Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants