Reconfigure repository mirrors to use Project Access Tokens
As part of Terraform GitLab Infrastructure groups and proj... (&799 - closed), reconfigure the project mirrors to use a Project Access Token auto-rotated every 3 months instead of the PATs currently in use.
To be managed by Terraform in https://gitlab.com/gitlab-com/gl-infra/infra-mgmt
Example with infra-mgmt
itself:
- Mirror configuration on
gitlab.com
: https://gitlab.com/gitlab-com/gl-infra/infra-mgmt/-/blob/cc4d129bf8ace6cb2268275cec90b2e67e4ab1f9/environments/gitlab-com/project_infra-mgmt.tf#L67-74 - Auto-rotated Project Access Token on
ops.gitlab.net
: https://gitlab.com/gitlab-com/gl-infra/infra-mgmt/-/blob/cc4d129bf8ace6cb2268275cec90b2e67e4ab1f9/environments/ops-gitlab-net/project_infra-mgmt.tf#L62-79
Also part of https://gitlab.com/gitlab-org/gitlab/-/issues/381399+
Edited by Pierre Guinoiseau