Sign in

Create project variable

documented

Create a new project CI/CD variable.

POST /projects/:id/variablesProjectsno implementation yet0 runs

Input

project_id*
GitLab project ID or path
123 or namespace/project
key*
Variable key
MY_VARIABLE
value*
Variable value
secret value
environment_scope
Environment scope
*
description
Description
Optional description
variable_type
Variable type
env_var or file
masked
Masked
true/false
protected
Protected
true/false
raw
Raw
true/false
Calls GitLab as you (your API key is your account); keychains.dev holds the credentials.