Skip to content

Commit 61de584

Browse files
Document generating a default token on runner resource-class create
1 parent a27c57b commit 61de584

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

jekyll/_cci2/runner-installation.adoc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,14 @@ For example, if your GitHub URL is `https://github.com/circleci`, then use: `cir
5151
. Create a resource class for your runner for your namespace using the following command:
5252
+
5353
```
54-
circleci runner resource-class create <resource-class> <description>
54+
circleci runner resource-class create <resource-class> <description> --generate-token
5555
```
5656
+
57-
For example, `circleci runner resource-class create my-namespace/my-resource-class my-description`.
57+
For example, `circleci runner resource-class create my-namespace/my-resource-class my-description --generate-token`.
5858
+
5959
NOTE: To create resource classes and tokens you need to be an organization administrator in the VCS provider.
60-
. Create a token for authenticating the above resource-class using the following command:
6160
+
62-
```
63-
circleci runner token create <resource-class> <nickname>
64-
```
65-
+
66-
For example, `circleci runner token create my-namespace/my-resource-class my-token`. This will print a generated runner configuration including the authentication token.
67-
68-
CAUTION: The token cannot be retrieved again, so be sure to store it safely.
61+
CAUTION: The default token cannot be retrieved again, so be sure to store it safely.
6962

7063
== Job running requirements
7164

0 commit comments

Comments
 (0)