From d2f6043e7ab4209b464483ba49faaa85d6821b7c Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Thu, 4 Sep 2025 17:04:48 +0200 Subject: [PATCH] docs: add the envs `STACKIT_SERVICE_ACCOUNT_KEY` and `STACKIT_PRIVATE_KEY` to AUTHENTICATION.md --- AUTHENTICATION.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/AUTHENTICATION.md b/AUTHENTICATION.md index 1ec7ea3ba..1cf3003f8 100644 --- a/AUTHENTICATION.md +++ b/AUTHENTICATION.md @@ -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