Skip to content

Commit 9ab6e2a

Browse files
authored
docs: add the envs STACKIT_SERVICE_ACCOUNT_KEY and STACKIT_PRIVATE_KEY to AUTHENTICATION.md (#963)
1 parent b6db9f8 commit 9ab6e2a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

AUTHENTICATION.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ The expected format of the service account key is a **json** with the following
9292
> - setting the environment variable `STACKIT_PRIVATE_KEY_PATH`
9393
> - setting `STACKIT_PRIVATE_KEY_PATH` in the credentials file (see above)
9494
95-
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.
95+
4. Alternative, if you want to pass the keys directly without storing a file on disk:
96+
97+
- setting the environment variable `STACKIT_SERVICE_ACCOUNT_KEY` with the content of the service account key
98+
- optional: setting the environment variable `STACKIT_PRIVATE_KEY` with the content of the private key
99+
100+
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.
96101

97102
### Token flow
98103

0 commit comments

Comments
 (0)