Validating SSH Private Key Account
To validate the SSH Private Key Account:
The integration requires the SSH Private Key Account Credential to be used.
-
Set up an environment where public and private key authentication is configured.
- A machine where an SSH authentication is enabled
- A public key is placed
- User working on integration knows a private key and a passphrase
-
Add an SSH Private Key and a passphrase (if any) into PAS.
-
Go to the PAS Admin Portal > Resources > SSH Keys.
-
Select Add.
-
Provide a suitable name.
-
Select a Type (select File if you have a file to upload or select Manual to enter).
-
Depending upon the Type selected, provide the private key.
-
Select Save.
-
Go to the Key details > Permissions > Add a User that will be used for checkout.
-
Edit and provide Checkout permission.
-
Add a System in Delinea PAS and link the SSH Key created above.
-
Go to the Delinea PAS Admin Portal > Resources > Add System.
-
Select System Type as Generic SSH.
-
Provide the IP address and a suitable name to the system, select Next.
-
Provide the User Name and select Credential Type as SSH Key.
-
Select an existing SSH Key created under Resources SSH Keys or upload a new one.
-
Select Next.
-
Verify the setting if needed or select Finish.
-
Go to the ServiceNow instance.
-
Go to the Discovery > Credentials > New.
-
Select SSH Private Key Credential.
-
Fill in the details and select External Credential Store.
-
Provide SshKeyName:Username in Credential ID.
- SshKeyName—This is a Name of a Delinea PAS SSH Key created under Resources SSH Keys.
- User Name—A user which is added into a System being validated using SSH key (for example, SSHKeyValidation:root).
-
Select Test Credential.
-
Provide the Target IP address and keep the default port value, select OK.
-
A background validation will start and the key is validated.