Skip to main content
Prerequisites:
1

Authorize Infisical for GitLab

Generate an Infisical Token for the specific project and environment in Infisical.Next, create a new variable called INFISICAL_TOKEN with the value set to the token from the previous step in Settings > CI/CD > Variables of your GitLab repository.
2

Configure Infisical in your pipeline

Edit your .gitlab-ci.yml to include the Infisical CLI installation. This will allow you to use the CLI for fetching and injecting secrets into any script or command within your Gitlab CI/CD process.

Example