Skip to main content

VKPR gitlab parameter add

Description

Add a secret on repo to use with gitlab CI/CD.

Commands

Interactive inputs:

  vkpr gitlab parameter add [flags]

Argument Reference

Flags

  --project_name      Specifies the Gitlab project Name
--parameter_name Specifies the name from the secret to be used in Gitlab pipeline
--parameter_value Specifies the value from the secret to be used in Gitlab pipeline
--parameter_masked Specifies if the parameter will be masked when execute the pipeline
--parameter_scope Define the scope from the Gitlab secret

Setting Provider credentials

CAUTION: Setting credentials manually will override the credentials already saved in memory

Gitlab

  rit set credential --provider="gitlab" --fields="gitlab_username,gitlab_token" --values="your-username,your-token"

See Also