You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api.md
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,46 @@ ARC can use {% data variables.product.pat_v1_plural %} to register self-hosted r
85
85
86
86
{% data reusables.actions.actions-runner-controller-helm-chart-options %}
87
87
88
+
## Authenticating ARC with a {% data variables.product.pat_v2 %}
89
+
90
+
ARC can use {% data variables.product.pat_v2_plural %} to register self-hosted runners.
91
+
92
+
{% ifversion ghec or ghes %}
93
+
94
+
> [!NOTE]
95
+
> Authenticating ARC with a {% data variables.product.pat_v1 %} is the only supported authentication method to register runners at the enterprise level.
96
+
97
+
{% endif %}
98
+
99
+
1. Create a {% data variables.product.pat_v2 %} with the required scopes. The required scopes are different depending on whether you are registering runners at the repository or organization level. For more information on how to create a {% data variables.product.pat_v2 %}, see [AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token).
100
+
101
+
The following is the list of required {% data variables.product.pat_generic %} scopes for ARC runners.
102
+
103
+
* Repository runners:
104
+
* **Administration:** Read and write
105
+
106
+
* Organization runners:
107
+
* **Administration:** Read
108
+
* **Self-hosted runners:** Read and write
109
+
110
+
1. To create a Kubernetes secret with the value of your {% data variables.product.pat_v2 %}, use the following command.
111
+
112
+
{% data reusables.actions.arc-runners-namespace %}
1. In your copy of the [`values.yaml`](https://github.com/actions/actions-runner-controller/blob/master/charts/gha-runner-scale-set/values.yaml) file, pass the secret name as a reference.
121
+
122
+
```yaml
123
+
githubConfigSecret: pre-defined-secret
124
+
```
125
+
126
+
{% data reusables.actions.actions-runner-controller-helm-chart-options %}
0 commit comments