Prerequisites
Prerequisites
- An Enkryptify workspace with admin access
- A GitLab account with Maintainer or Owner permissions on the target project
- A Personal Access Token with the
api
scope
Permissions
Permissions
When connecting Enkryptify to GitLab using a Personal Access Token, we only use the permissions required to create and update CI/CD variables on your selected project:
- Required token scope:
api
: access needed by GitLab to manage project CI/CD variables via API
Enkryptify does not access your repository contents. The token is used solely for API calls to manage variables.
Steps to complete
1
Create a new sync
-
Go to the
Syncs
tab of your project and click onGitLab
.
2
Provide host and Personal Access Token
-
Host
: leave blank to usegitlab.com
. For self-managed, enter the full base URL, e.g.https://gitlab.example.com
. -
Personal Access Token
: must include theapi
scope.
3
Select your GitLab project
-
Confirm the target project (repository) where secrets will sync as CI/CD variables.
4
Map Enkryptify environment to GitLab environment
-
Example:
main
→production
ordevelop
→staging
.