Add method to check whether a resource exists. Mimics what existed in the Ruby API.
Implemented Changes
Added a resource_exists method to the Client and Api classes which invokes the resources/{account}/{kind}/{identifier} url on the Conjur server and checks the status code for 404 vs 200/403.
Desired Outcome
Add method to check whether a resource exists. Mimics what existed in the Ruby API.
Implemented Changes
resource_exists
method to theClient
andApi
classes which invokes theresources/{account}/{kind}/{identifier}
url on the Conjur server and checks the status code for 404 vs 200/403.Connected Issue/Story
Supports CyberArk internal issue: ONYX-23083
Changelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security