-
Notifications
You must be signed in to change notification settings - Fork 39
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
Adding support to retrieve password using the PAS Web Services SDK #75
Adding support to retrieve password using the PAS Web Services SDK #75
Conversation
ff906a4
to
5bb7fcc
Compare
* update docs to provide details to update password only in vault * update version * update task id in docs * update task id in docs * update changelog --------- Co-authored-by: Jonathan Fair <[email protected]>
5bb7fcc
to
19e3de2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve these changes. However, I think it’s important to note to the final person who will merge this PR into the main code base that this is an implementation of a REST API Retrieval of a Password directly from the Vault. Technically, this is a sound contribution. Security-wise, I leave it up to future reviewers.
Thanks. We are planning on using conjur to lookup secrets within all of our automation, however, we are creating some automation that will perform the password reset. This password reset automation needs to be able to retrieve directly from CyberArk.
A simple example of our automation is as follows:
Note: This is to rotate the password that is responsible for Artifactory
ldap authentication
1) Retrieve CyberArk user credentials via Conjur
2) Authenticate to CyberArk with your ansible module
3) Trigger a password rotation (reconcile) of our ldap account using your
ansible module
4) Retrieve the newly generated password <- This is what we are needing
5) Update Artifactory ldap configuration with new password <- We cannot do
this without retrieving the new password
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Desired Outcome
Allow retrieving passwords using the cyberark_account module which uses the PAS Web Services SDK.
Implemented Changes
Added a 'retrieve' option to the
state
parameter.Example output (notice the password value is returned in the result):
Connected Issue/Story
CyberArk Enhancement Request Article Number: 000038582
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog
CHANGELOG update
Test coverage
changes, or
Documentation
README
s) were updated in this PRBehavior
Security