The Delinea Secret Server Jenkins Plugin allows you to access and reference your Secret Server secrets for use in Jenkins builds.
- This plugin add the ability to include Secret Server Secrets into your build environment.
This is allows you to include the Base URL
of you Secret Server and Secret ID
you wish to access.
Additionally you will need to include a valid credential provider.
You will now have the option to change the kind
of credential you wish to add, to that of a SecretServer User Credentials
.
After you have added your credentials to the build environment you can can use the secret in your build/s.
IMPORTANT: By default, this plugin will add a
TSS_
prefix to the environment variables. You should leave theEnvironment Variable Prefix
field blank in the Jenkins UI when consuming your credential.
- This plugin add the ability to include Secret Server Secrets into global credentials.
-
Create Credentials: Create a
Secret Server user credentials
that contains the Secret Server service account credentials. -
Configure Credentials: Enter the
Vault URL, Secret ID,
and select the previously created Secret Server user credential in theCredential ID
field.
Note: that the Username and Password fields are read-only.
-
Test Connection: After filling in the required fields, click the
Test Connection
button. If all inputs are correct, aConnection Successful
message will appear. Otherwise, an error message will be displayed. -
Create and Fetch Secrets: Once the connection test is successful, click
Create
to fetch the secret from Secret. The fetched secret will include the username and password.