terraform-provider-stackitp.../examples/provider/provider.tf
Vicente Pinto bc27bc20db
Key flow authentication (#67)
* Add key flow params to provider

* Update docs, add examples
2023-10-09 08:15:14 +01:00

26 lines
528 B
HCL

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
}