Skip to content

Aquire short lived access tokens

Use this command if the key pair was generated by STACKIT:

Terminal window
stackit auth activate-service-account --service-account-key-path service-account.json --only-print-access-token

Use this command, if you created the private key on your own:

Terminal window
stackit auth activate-service-account --service-account-key-path service-account.json --private-key-path key.pem --only-print-access-token