Need to protect predefined environment variable

Problem to solve

Hello issue team, I Need to protect predefined environment variable in my gitlab ci pipeline

Intended users

Maybe all users, because it could be a security improvement

Further details

I need a simple way to protect a predefined environment variable during runner execution eg: GITLAB_USER_EMAIL to avoid someone to set another value

Proposal

Add the possibility to make some predefines environment variables read-only ?

Permissions and Security

Don't know exactly what permissions can be applied, the goal is to protect some predefined environment varible to improve security

Documentation

Testing

What does success look like, and how can we measure that?

Links / references

I've opened this support case: https://support.gitlab.com/hc/en-us/requests/118975

Assignee Loading
Time tracking Loading