Manages authentication for the STACKIT Terraform Provider and SDK
Manages authentication for the STACKIT Terraform Provider and SDK.
These commands allow you to authenticate with your personal STACKIT account and share the credentials with the STACKIT Terraform Provider and SDK. This provides an alternative to using service accounts for local development.
Tokens are stored separately from tokens received from "stackit auth login", this allows using separate accounts when using the cli directly vs. using it to manage credentials for the SDK and TF provider.
Tokens are stored in the OS keychain with a fallback to local storage.
stackit auth api [flags]
-h, --help Help for "stackit auth api"
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
- stackit auth - Authenticates the STACKIT CLI
- stackit auth api get-access-token - Prints a short-lived access token for the STACKIT Terraform Provider and SDK
- stackit auth api login - Logs in for the STACKIT Terraform Provider and SDK
- stackit auth api logout - Logs out from the STACKIT Terraform Provider and SDK
- stackit auth api status - Shows authentication status for the STACKIT Terraform Provider and SDK