Skip to content

Conversation

@thunze
Copy link

@thunze thunze commented Dec 17, 2025

"Masked and hidden" means: The variable value is masked in job logs and can never be revealed in the CI/CD settings after the variable has been saved.

This is consistent with the workflow for creating and updating new access tokens on both GitLab and Zenodo, where a token can never be revealed after it has been saved.

GitLab API docs: https://docs.gitlab.com/api/project_level_variables/#create-a-variable

"Masked and hidden" means: The variable value is masked in job logs and
can never be revealed in the CI/CD settings after the variable has been
saved.

This is consistent with the workflow for creating and updating new
access tokens on both GitLab and Zenodo, where a token can never be
revealed after it has been saved.

GitLab API docs: https://docs.gitlab.com/api/project_level_variables/#create-a-variable
@zyzzyxdonta
Copy link
Contributor

Thank you for your contribution, @thunze!

I think masked_and_hidden may have been new in GitLab 17, that's we we didn't use it already 🤔

To me your change makes sense. Maybe @nheeb could have another look? Thanks!

@zyzzyxdonta zyzzyxdonta requested a review from nheeb December 18, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants