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. Access tokens generated from service account keys expire after 60 minutes.
7
+
~> Service account key credentials must be configured either in the STACKIT provider configuration or via environment variables (see example below). If any other authentication method is configured, this ephemeral resource will fail with an error.
8
+
~> 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.
9
+
---
10
+
11
+
# stackit_access_token (Ephemeral Resource)
12
+
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.
14
+
15
+
~> Service account key credentials must be configured either in the STACKIT provider configuration or via environment variables (see example below). If any other authentication method is configured, this ephemeral resource will fail with an error.
16
+
17
+
~> 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.
// Separator used for concatenation of TF-internal resource ID
23
24
Separator=","
@@ -26,6 +27,16 @@ const (
26
27
DatasourceRegionFallbackDocstring="Uses the `default_region` specified in the provider configuration as a fallback in case no `region` is defined on datasource level."
27
28
)
28
29
30
+
typeEphemeralProviderDatastruct {
31
+
ProviderData
32
+
33
+
PrivateKeystring
34
+
PrivateKeyPathstring
35
+
ServiceAccountKeystring
36
+
ServiceAccountKeyPathstring
37
+
TokenCustomEndpointstring
38
+
}
39
+
29
40
typeProviderDatastruct {
30
41
RoundTripper http.RoundTripper
31
42
ServiceAccountEmailstring// Deprecated: ServiceAccountEmail is not required and will be removed after 12th June 2025.
0 commit comments