Retrieving pipeline triggerer from GitLab Machine ID usage #47258
Unanswered
joshuabezaleel
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@strideynet Do you have any thoughts here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
Is it possible to retrieve the user identtiy e.g. email from those who trigger a particular pipeline that will connect to the application onboarded behind Teleport? Just like how we could parse the
Teleport-Jwt-Assertion
header token if we access a frontend application?We're currently using
GITLAB_USER_EMAIL
for this to then paired with our RBAC but this approach might not be the most secure one since this environment variable can be overridden by user, and we were thinking it would be great if we can parse it from the connection between the GitLab, the ID token ofTBOT_GITLAB_JWT
from the usage of Teleport Machine ID on GitLab CI, and the onboarded application.These are the documentation that we follow on setting up the Teleport Machine ID on our deployment GitLab CI:
Thank you lots!
Beta Was this translation helpful? Give feedback.
All reactions