Open ahmednaz opened 2 years ago
Folder should be "root" not "/"
Code examples are available here
https://github.com/cyberark/epv-api-scripts/tree/main/Linked%20Accounts
Thank you for the feedback but we still getting same error even with root value:
You "data" should be this
data = f"""
{{
"name": "{reconcile_account_name}",
"safe": "{reconcile_safe_name}",
"folder" "{folder}",
"extraPasswordIndex": {extraPassIndex}
}}
"""
There is no "Account" layer in the call.
Thank you, this seems to be working.
We also have another issue where a particular field, we call is, OpCoName is not appearing when performing onboarding with this script/workflow. screenshot attached. There are no errors in the execution of the script.
We also have another issue where a particular field, we call is, OpCoName is not appearing when performing onboarding with this script/workflow. screenshot attached. There are no errors in the execution of the script.
Any feedback please?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex.
I would like to see [...] because [...]
. Please include the intended use case and what the feature would improve on so that we can prioritize the feature accordingly.Describe the solution you would like
We would like to associate a reconcile account to an ssh key we have onboarded using this framework. We can apply a reconcile account for another script we have created for bulk onboarding but with in this script/framework, we are not able to associate the reconcile account.
We have tried:
logger.info(f'Associate reconcile id with {instance_id}') header = DEFAULT_HEADER header.update({"Authorization": session}) url = f"{pvwa_url}/API/Accounts/{account_id}/LinkAccount" folder = "/" extraPasswordIndex = "3"
We get following error: PASWS167E there are some invalid parameters
Describe alternatives you have considered
not alternate at this point
Additional context
We onboard an ssh key first, rotate the key. then we onboarded a 2nd key, issue rotate and then associate the 2nd key as reconcile account for the first key. Association part is not working.