In GitLab project, who has the master permission in the project can able to view the admin`s access token in project --> settings --> integration --> hook --> edit path.
How this admin`s access token visible to another user? How to hide this?
In GitLab project, who has the master permission in the project can able to view the admin`s access token in project --> settings --> integration --> hook --> edit path.
How this admin`s access token visible to another user? How to hide this?
That totally contradicts the purpose of tokens, therefore there is no such feature.
Tokens should be in every case unique and the awarded rights as small as possible.
If you use the personal token of an admin as webhook secret, the target will be enabled to read out, in the best case, all your users data. In the case you enabled the API access for the token, it can change the instance at will, eg. delete projects.
TLDR: do NOT use the same tokens multiple times.