Setup

  • Go to integrations catalog in your envsecrets dashboard and choose “Gitlab.”
  • Complete the Oauth procedure that begins and grant access to all of your Gitlab groups and projects to which you wish to sync your secrets.

Activation

  1. Go to the integrations dashboard in your envsecrets organisation and under “Gitlab” choose “Sync New Environment With Your Gitlab Account.”
  2. In the page that opens, select your envsecrets project, environment and your Gitlab group or project where you wish to push/sync your secrets.
  3. Complete and save the form.

Usage

Platform

  1. Navigate to the environment for which you activated the integration.
  2. Click on the “Sync” button.
  3. Choose the Gitlab repository to which you want to sync your secrets.
  4. Approve the sync.

CLI

  1. Use the command: envs sync --env [name-of-your-remote-environment]
  2. Choose the Gitlab integration.

Once your secrets are synced, it is recommended you go to your Gitlab repository and validate the new values.