Skip to content

Commit 984ba36

Browse files
committed
goliothctl: add tutorial section on apikey login
Updates the authentication CLI tutorial section to show API key login as an option.
1 parent 64da138 commit 984ba36

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed
Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
### Start login flow
22

3+
You can authenticate the CLI in two ways:
4+
1. User credentials
5+
2. Project API key
6+
7+
### Option 1: User credentials (default)
8+
39
Run the command:
410

511
```
@@ -8,6 +14,16 @@ goliothctl login
814

915
This will redirect you to your default browser where you can login or create an account on our system.
1016

11-
### Create account or login with an existing one
17+
#### Create account or login with an existing one
1218

1319
After successfully authenticating into our system, you should be redirected to a success page and the CLI will be authenticated properly.
20+
21+
### Option 2: Project API key
22+
23+
Run the command:
24+
25+
```
26+
goliothctl login --apiKey <api_key>
27+
```
28+
29+
This method skips the browser flow and authenticates the CLI directly.

0 commit comments

Comments
 (0)