Hello Community, Is there any Platform in CyberArk which can update password of the service account which is stored in a .txt file in the Target Windows server where the tool (AD Manager Plus) is installed?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hello Community, Is there any Platform in CyberArk which can update password of the service account which is stored in a .txt file in the Target Windows server where the tool (AD Manager Plus) is installed?

Checking to see if CyberArk can push the newly updated password to the target windows server, however Target application/ tool has feasibility to fetch password from .txt file using PowerShell Script. This is just for test purpose we are using .txt file but in real-time password resides in database (in encrypted form).

1 accepted solution

Accepted Solutions

Yes, it's 2 seperate platforms, but applied to the same account (at different "levels").

 

You manage the "ADMP service account" Active Directory account using the regular AD account plattform.

You then activate the "Text File" dependents platform, link it to the regular AD account platform (under the "Usages" menu), and create a new "usage" / "dependency" in the "ADMP service account" (via the v10 Classic UI).

Whenever PAM rotates the password for the AD account, it will afterwards connect to the specified server and write the new password to the specified config file.

View solution in original post

10 REPLIES 10

L7 Applicator

Text file usage

 

​https://community.cyberark.com/marketplace/s/#a352J000000WU6tQAG-a392J0000013abZQAQ

Hi @Malcolm Murray​  Why am i not able to open Text Configuration File Implementation Guide? Do i need any permissions to open it. It says Blocked!!

Weird .

 

Does https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/accountsstoredinconfigurationfiles.htm work for you ? It's the same link basically .

Hello @Malcolm Murray​ 

 

I can see the link which you shared.

 

My question is - Is there a separate platform for service accounts which will support post change script once password is changed by CPM and pushes the password to text file on the target server with latest password in encrypted mode.

 

Thanks, in advance.

Yes, it's 2 seperate platforms, but applied to the same account (at different "levels").

 

You manage the "ADMP service account" Active Directory account using the regular AD account plattform.

You then activate the "Text File" dependents platform, link it to the regular AD account platform (under the "Usages" menu), and create a new "usage" / "dependency" in the "ADMP service account" (via the v10 Classic UI).

Whenever PAM rotates the password for the AD account, it will afterwards connect to the specified server and write the new password to the specified config file.

Hello @Bernhard Brückler​ 

 

Thanks for the response.

 

Where we need to configure this Text file?

 

Thanks in advance.

 

When you add the "Text File" dependency to the specific AD account (via the "Classic View"), you select which file on which server in which line of the file, CPM should store the password after a change.

If you view an account in the "Classic View", and you don't have the "Text File" tab on the right, you need to add the usage to the account's platform (referencing the dependent platform's id, not name).

Hello @Bernhard Brückler​ 

 

Yes, i tried to add a Text file dependency but while adding it is asking to update Password Regex. What is it?

Password Regex The password regex that matches the line of the password in the configuration file. Specify a prefix and a postfix to allow the CPM to identify the entire line, and specify the password in parenthesis "(" and ")". This single-groups the password and defines the location of the password to change.

Example 1: Specify Password=(.*); to replace the new password with all the characters between Password= and ; (semi-colon). 

Example 2: Specify Password=(........); to replace the new password with eight characters after Password=. If the ; (semi-colon) is not found after eight characters, this regex will not match the line in the password file and will not replace the password successfully.

The CPM will replace all occurrences of the specified regex in the password file.

If the password regex is empty, the CPM will return an error message.

L4 Transporter

Hi @Sameer Telikicherla​ 

Thank you for engaging with the community! Since several members have shared solutions to your question, could you please let us know if any of them have resolved your issue? If so, please consider marking the most helpful response as “Select as Best”- this helps others with similar questions find the right answer quickly.

If the question remains unresolved, I recommend submitting a ticket with our support team for further assistance.

Thank you,

Shaked

  • 1 accepted solution
  • 314 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!