Key flow authentication (#67)

* Add key flow params to provider

* Update docs, add examples
This commit is contained in:
Vicente Pinto 2023-10-09 08:15:14 +01:00 committed by GitHub
parent 7354808f02
commit bc27bc20db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 318 additions and 27 deletions

View file

@ -1,3 +1,26 @@
provider "stackit" {
region = "eu01"
}
# Authentication
# Token flow
provider "stackit" {
region = "eu01"
service_account_token = var.service_account_token
}
# Key flow
provider "stackit" {
region = "eu01"
service_account_key = var.service_account_key
private_key = var.private_key
}
# Key flow (using path)
provider "stackit" {
region = "eu01"
service_account_key_path = var.service_account_key_path
private_key_path = var.private_key_path
}