Create and manage application secrets
Encrypt sensitive config values using Jenkins. No need to raise a SUP request.
Use the create-app-config-secret
Jenkins job to encrypt and manage application secrets for your service.
Before you begin
If encrypting third-party tokens (like EIS or DES), you must use Jenkins on a secure Stride machine and access your hmrc.gov.uk
email to retrieve credentials.
If your team does not have a Stride machine, contact your Centre Tech Lead.
Update the configuration
- Log in to Jenkins using your LDAP credentials.
- Select Build with Parameters.
- Select your
environment
. - Select your
config_item_type
. - Enter the
config item name
. - Enter your secret value:
- No spaces, double quotes, single quotes, or asterisks
- Enter your service name.
- Click Build.
Run the job and merge the PR
- Wait for the Jenkins job to complete.
- Click the green tick next to the job ID.
- Check GitHub:
- A new branch named app-config-[environment]
- An automatic PR
- Merge the PR immediately.
- Deploy the microservice to the correct environment.
Need support?
Contact #team-build-and-deploy or the security team on Slack.
Got feedback?
We’re always improving our docs. Share your feedback with the team.
Create and manage application secrets
Encrypt sensitive config values using Jenkins. No need to raise a SUP request.
Use the create-app-config-secret
Jenkins job to encrypt and manage application secrets for your service.
Before you begin
If encrypting third-party tokens (like EIS or DES), you must use Jenkins on a secure Stride machine and access your hmrc.gov.uk
email to retrieve credentials.
If your team does not have a Stride machine, contact your Centre Tech Lead.
Update the configuration
- Log in to Jenkins using your LDAP credentials.
- Select Build with Parameters.
- Select your
environment
. - Select your
config_item_type
. - Enter the
config item name
. - Enter your secret value:
- No spaces, double quotes, single quotes, or asterisks
- Enter your service name.
- Click Build.
Run the job and merge the PR
- Wait for the Jenkins job to complete.
- Click the green tick next to the job ID.
- Check GitHub:
- A new branch named app-config-[environment]
- An automatic PR
- Merge the PR immediately.
- Deploy the microservice to the correct environment.
Need support?
Contact #team-build-and-deploy or the security team on Slack.
Got feedback?
We’re always improving our docs. Share your feedback with the team.
Create and manage application secrets
Encrypt sensitive config values using Jenkins. No need to raise a SUP request.
Use the create-app-config-secret
Jenkins job to encrypt and manage application secrets for your service.
Before you begin
If encrypting third-party tokens (like EIS or DES), you must use Jenkins on a secure Stride machine and access your hmrc.gov.uk
email to retrieve credentials.
If your team does not have a Stride machine, contact your Centre Tech Lead.
Update the configuration
- Log in to Jenkins using your LDAP credentials.
- Select Build with Parameters.
- Select your
environment
. - Select your
config_item_type
. - Enter the
config item name
. - Enter your secret value:
- No spaces, double quotes, single quotes, or asterisks
- Enter your service name.
- Click Build.
Run the job and merge the PR
- Wait for the Jenkins job to complete.
- Click the green tick next to the job ID.
- Check GitHub:
- A new branch named app-config-[environment]
- An automatic PR
- Merge the PR immediately.
- Deploy the microservice to the correct environment.
Need support?
Contact #team-build-and-deploy or the security team on Slack.
Got feedback?
We’re always improving our docs. Share your feedback with the team.