You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ephemeral resource that generates a short-lived STACKIT access token (JWT) using a service account key. A new token is generated each time the resource is evaluated, and it remains consistent for the duration of a Terraform operation. If a private key is not explicitly provided, the provider attempts to extract it from the service account key instead. Token generation logic prioritizes environment variables first, followed by provider configuration. Access tokens generated from service account keys expire after 60 minutes.
6
+
Ephemeral resource that generates a short-lived STACKIT access token (JWT) using a service account key. A new token is generated each time the resource is evaluated, and it remains consistent for the duration of a Terraform operation. If a private key is not explicitly provided, the provider attempts to extract it from the service account key instead. Access tokens generated from service account keys expire after 60 minutes.
7
7
~> This ephemeral-resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources.
8
+
~> Important: A service account key credentials must be configured either in the STACKIT provider configuration or via environment variables. If any other authentication method is configured, this ephemeral resource generation will fail with an error.
8
9
---
9
10
10
11
# stackit_access_token (Ephemeral Resource)
11
12
12
-
Ephemeral resource that generates a short-lived STACKIT access token (JWT) using a service account key. A new token is generated each time the resource is evaluated, and it remains consistent for the duration of a Terraform operation. If a private key is not explicitly provided, the provider attempts to extract it from the service account key instead. Token generation logic prioritizes environment variables first, followed by provider configuration. Access tokens generated from service account keys expire after 60 minutes.
13
+
Ephemeral resource that generates a short-lived STACKIT access token (JWT) using a service account key. A new token is generated each time the resource is evaluated, and it remains consistent for the duration of a Terraform operation. If a private key is not explicitly provided, the provider attempts to extract it from the service account key instead. Access tokens generated from service account keys expire after 60 minutes.
13
14
14
15
~> This ephemeral-resource is in beta and may be subject to breaking changes in the future. Use with caution. See our [guide](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources) for how to opt-in to use beta resources.
16
+
~> Important: A service account key credentials must be configured either in the STACKIT provider configuration or via environment variables. If any other authentication method is configured, this ephemeral resource generation will fail with an error.
Description: features.AddBetaDescription("Ephemeral resource that generates a short-lived STACKIT access token (JWT) using a service account key. "+
65
+
description:=features.AddBetaDescription(
66
+
"Ephemeral resource that generates a short-lived STACKIT access token (JWT) using a service account key. "+
67
67
"A new token is generated each time the resource is evaluated, and it remains consistent for the duration of a Terraform operation. "+
68
68
"If a private key is not explicitly provided, the provider attempts to extract it from the service account key instead. "+
69
-
"Token generation logic prioritizes environment variables first, followed by provider configuration. "+
70
-
"Access tokens generated from service account keys expire after 60 minutes.", core.EphemeralResource),
69
+
"Access tokens generated from service account keys expire after 60 minutes.",
70
+
core.EphemeralResource,
71
+
)
72
+
descriptionNote:="~> Important: A service account key credentials must be configured either in the STACKIT provider configuration or via environment variables. "+
73
+
"If any other authentication method is configured, this ephemeral resource generation will fail with an error."
0 commit comments