masked variable

A CI/CD variable whose value GitLab replaces with [MASKED] wherever it appears in a job log.

In more detail

A value can be masked only if it is a single line of at least eight characters from the allowed set. Masking hides the value in logs but does not stop a script from sending it elsewhere. A masked and hidden variable cannot be revealed in the settings after it is saved.

Related terms

Taught in

References

Certification courses