{
"jwks_url": "https://gitlab.com/-/jwks",
"bound_issuer": "gitlab.com"
}
Returns list of roles
Returns role data
Nomad claims validates via regexp
{
"bound_claims": {
"project_id": "77",
"ref": "master"
},
"nomad_claims": {
"Name": "^nomad-service$",
"Type": "^service$",
"TaskGroups": [
{
"Name": "^nomad-service$",
"Tasks": [
{
"Name": "^nomad-service$",
"Driver": "^docker$",
"Config": {
"image": "^nomad-service",
"network_mode": "^custom-bridge$",
"network_aliases": [
"^nomad-service$"
],
"port_map": [
{
"http": 8080
}
],
"volumes": [
"^NONE$"
]
},
"Vault": {
"Policies": [
"^nomad-server$"
]
}
}
]
}
]
}
}
{
"role":"{role-name}",
"job_hcl":"{job-hcl}",
"jwt":"${CI_JOB_JWT}"
}