Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion AUTHENTICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ The expected format of the service account key is a **json** with the following
> - setting the environment variable `STACKIT_PRIVATE_KEY_PATH`
> - setting `STACKIT_PRIVATE_KEY_PATH` in the credentials file (see above)

4. The CLI will search for the keys and, if valid, will use them to get access and refresh tokens which will be used to authenticate all the requests.
4. Alternative, if you want to pass the keys directly without storing a file on disk:

- setting the environment variable `STACKIT_SERVICE_ACCOUNT_KEY` with the content of the service account key
- optional: setting the environment variable `STACKIT_PRIVATE_KEY` with the content of the private key

5. The CLI will search for the keys and, if valid, will use them to get access and refresh tokens which will be used to authenticate all the requests.

### Token flow

Expand Down
Loading