Skip to content

Mismatch between path used by GitLab and Plugin #243

@adestis-jm

Description

@adestis-jm

Hi there!

Thanks for the great work on the plugin.

I have sadly found a singular issue:

when creating a gitlab CI/CD job like this:

job_using_vault:
  id_tokens:
    VAULT_ID_TOKEN:
      aud: https://vault.example.com
  secrets:
    DATABASE_PASSWORD:
      vault: production/db/password@ops
      token: $VAULT_ID_TOKEN

Gitlab looks up the the secret production/db/password for the secret engine ops:
Making the full path ops/data/production/db/password.

However, the path for tokens in this plugins provider are:
gitlab/token/[...]

Is there any reason for this mismatch? am i missing a config parameter to change this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions