Verification
This topic provides steps to verify that the Delinea Secret Server Platform plugin successfully fetches the credentials from a specified secret in Secret Server or the Delinea Platform through a configured Pipeline or Freestyle project in Jenkins.
The topic also provides steps to verify that the plugin automatically refreshes the credentials stored in the credentials resolver configuration in Jenkins on changes to a secret in Jenkins.
Verifying the Fetching of a Secret through the Pipeline
To verify that a secret is fetched through the pipeline:
-
From the Jenkins Dashboard, go to the pipeline project or freestyle project view page.
-
On the left of the page, select Build Now to run the pipeline.
-
Under Build History on the left, select the number of the build (#number) that was created to open the build details page.
-
Select Console Output to see the output from the pipeline's run.
If the credentials were successfully fetched from Secret Server or the Delinea Platform, the console output contains:
-
The username
-
The password (masked with asterisks)
-
A Finished: SUCCESS message at the end
-
Viewing Automatically Refreshed Credentials
When a secret (the username and/or password) is changed in Secret Server or the Delinea Platform, the Delinea Secret Server Platform Jenkins plugin automatically fetches the new values from Secret Server or the Delinea Platform and refreshes the username and password stored in the credential resolver configuration. You don't need to manually initiate a connection to Secret Server or the Delinea Platform to view the new values.
The following procedure describes how to view the automatically refreshed credentials in the credential resolver configuration.
-
Navigate to Manage Jenkins > Credentials > System > Global credentials.
-
Refresh the browser page.
On the Global credentials page, the Name column for the credentials row displays the new username and/or password fetched from Secret Server or the Delinea Platform.
You can also view new username and/or password in the credential resolver configuration. Select the wrench icon at the end of the credentials row. The Username and Password boxes on the Update credentials page display the new values fetched from Secret Server or the Delinea Platform.