Managing MYSQL Server Credentials

From Onepoint Systems Integration
Revision as of 17:59, 17 June 2020 by Diego Lopes (talk | contribs) (Created page with "To proceed with the steps below, it is necessary: '''Steps''' 1- In Onepoint, go to '''Settings''' > '''Asset'''. 2- Click '''New'''. 3- Select type '''MYSQL'''. 4- Fill...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To proceed with the steps below, it is necessary:


Steps

1- In Onepoint, go to Settings > Asset.

2- Click New.

3- Select type MYSQL.

4- Fill in the fields with your Domain information. Name - IPV4 - Domain

Mysql1.png Asset2.png


5- Save Asset.


6- In Onepoint, go to Vault > Delegate Credentials, add the management account with password change permissions, below follow the steps that must be performed.

  • Click New.
  • Credential Type select MYSQL
  • Server Name put your domain.
  • Credential Name place the management account.
  • Click Confirm

Mysql2.png


  • After performing the step above, click on the password field.


Mysql3.png

  • Uncheck Randomize Password, add the management account password, click Confirm.


7- Go to 'Development > Development Studio.

  • Click Open Script in Development Studio, select script name: mysql-account-discovery.

Mysql4.png

  • Click Open Script.
  • Change adminaccount and place a management user with password change permissions.

Mysql5.png

  • After making the necessary change, save the script.
 Note: The same management account must be used in the next step.
  • Click Open Script in Development Studio, select script name:mysql-change-password.

Mysql6.png

  • Click Open Script
  • Change adminaccount and place a management user with password change permissions.

Mysql7.png

  • After making the necessary change, save the script.


8- In Onepoint, go to Settings>Asset, in the right corner of the screen there is a down arrow, click on it and choose option credential discovery.

Mysql8.png

Mysql9.png

  • Click YES,Go Discover.


9- In Onepoint, Go to Task Evolution > Task Logs, make sure have completed the credential discovery service.

Mysql10.png


10- In Onepoint, go to Vault > Managed Credentials, it is already possible to view user accounts for your domain.

Mysql11.png


11- In Onepoint, go to Vault > Managed Credentials, choose an account for the password to be enveloped, in the right corner of the screen there is a down arrow click on the option Change password.

Mysql12.png

Mysql13.png

  • Click Confirm.


12- In Onepoint, Go to Task Evolution > Task Logs, make sure have completed the change password.

Mysql14.png


13- In Onepoint, go to Vault > Managed Credentials, you will see that the account you chose to be enveloped will have a yellow stripe in the password field, below we will show how you request this password.

Mysql15.png

  • Click on the yellow field to request the password

Mysql16.png

  • In the Expiration field, you determine how long the password is available, in the Comment field, make a comment for using the password and click Confirm.

Mysql17.png

  • Note that in the password field it turned blue, it means that the password is available and ready to use, to copy the password, just click on the password field.


14- In Onepoint, Go to Task Evolution > Task Logs ,you can verify that you have created a task in the future that will be automatically executed for returning and changing password.

Mysql18.png


15- If you wish to return the password before te specified duration, just follow the steps below.

  • In Onepoint, go to Vault > Managed Credentials
  • Click on the down arrow where the account you requested the password is and click on the option Check-in Password

Mysql19.png


  • In Onepoint, Go to Task Evolution > Task Logs, you can verify that the task that was scheduled for the future was performed at the time you checked in the password manually.

Mysql20.png