How to effectively and securely manage secrets in Jenkins using Infisical
INFISICAL_TOKEN
.
As a result, it may make sense to spread these out into separate credential domains depending on your use case.infisical-service-token
for the sake of this guide.
The description is optional and can be any text you prefer.
INFISICAL_TOKEN
in the Variable field then click the Specific credentials option from the Credentials section and select the credential you created earlier.
In this case, we saved it as Infisical service token
so we’ll choose that from the dropdown menu.
INFISICAL_TOKEN
environment variable, which is configured in the pipeline, into the shell for executing commands.
There may be instances where this doesn’t work as expected in the context of running Docker commands.
However, the list of working examples should provide some insight into how this can be handled properly.