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
Copy file name to clipboardExpand all lines: CONTRIBUTION.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ To test your changes locally, you have to compile the provider (requires Go 1.24
121
121
122
122
1. Go to the copied example and initialize Terraform by running `terraform init -reconfigure -upgrade`. This will throw an error ("Failed to query available provider packages") which can be ignored since we are using the local provider build.
123
123
> Note: Terraform will store its resources' states locally. To allow multiple people to use the same resources, check [Setup for multi-person usage](#setup-centralized-terraform-state)
124
-
1. Setup authentication by setting the env var `STACKIT_SERVICE_ACCOUNT_TOKEN` as a valid token (see [Authentication](#authentication) for more details on how to autenticate).
124
+
1. Setup authentication (see [Authentication](#authentication) for more details on how to authenticate).
125
125
1. Run `terraform plan` or `terraform apply` commands.
126
126
1. To debug the terraform provider, execute the following steps:
127
127
* install the compiled terraform provider to binary path defined in the .terraformrc file
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Check one of the examples in the [examples](examples/) folder.
37
37
To authenticate, you will need a [service account](https://docs.stackit.cloud/stackit/en/service-accounts-134415819.html). Create it in the [STACKIT Portal](https://portal.stackit.cloud/) and assign the necessary permissions to it, e.g. `project.owner`. There are multiple ways to authenticate:
38
38
39
39
- Key flow (recommended)
40
-
- Token flow
40
+
- Token flow (is scheduled for deprecation and will be removed on December 17, 2025.)
41
41
42
42
When setting up authentication, the provider will always try to use the key flow first and search for credentials in several locations, following a specific order:
43
43
@@ -112,6 +112,8 @@ To configure the key flow, follow this steps:
112
112
113
113
### Token flow
114
114
115
+
> Is scheduled for deprecation and will be removed on December 17, 2025.
116
+
115
117
Using this flow is less secure since the token is long-lived. You can provide the token in several ways:
116
118
117
119
1. Setting the field `service_account_token` in the provider
Copy file name to clipboardExpand all lines: docs/index.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ provider "stackit" {
11
11
12
12
# Authentication
13
13
14
-
# Token flow
14
+
# Token flow (scheduled for deprecation and will be removed on December 17, 2025)
15
15
provider "stackit" {
16
16
default_region = "eu01"
17
17
service_account_token = var.service_account_token
@@ -37,7 +37,7 @@ provider "stackit" {
37
37
To authenticate, you will need a [service account](https://docs.stackit.cloud/stackit/en/service-accounts-134415819.html). Create it in the [STACKIT Portal](https://portal.stackit.cloud/) and assign it the necessary permissions, e.g. `project.owner`. There are multiple ways to authenticate:
38
38
39
39
- Key flow (recommended)
40
-
- Token flow
40
+
- Token flow (is scheduled for deprecation and will be removed on December 17, 2025)
41
41
42
42
When setting up authentication, the provider will always try to use the key flow first and search for credentials in several locations, following a specific order:
43
43
@@ -112,6 +112,8 @@ To configure the key flow, follow this steps:
112
112
113
113
### Token flow
114
114
115
+
> Is scheduled for deprecation and will be removed on December 17, 2025.
116
+
115
117
Using this flow is less secure since the token is long-lived. You can provide the token in several ways:
116
118
117
119
1. Setting the field `service_account_token` in the provider
@@ -182,7 +184,7 @@ Note: AWS specific checks must be skipped as they do not work on STACKIT. For de
182
184
-`service_account_email` (String, Deprecated) Service account email. It can also be set using the environment variable STACKIT_SERVICE_ACCOUNT_EMAIL. It is required if you want to use the resource manager project resource.
183
185
-`service_account_key` (String) Service account key used for authentication. If set, the key flow will be used to authenticate all operations.
184
186
-`service_account_key_path` (String) Path for the service account key used for authentication. If set, the key flow will be used to authenticate all operations.
185
-
-`service_account_token` (String) Token used for authentication. If set, the token flow will be used to authenticate all operations.
187
+
-`service_account_token` (String, Deprecated) Token used for authentication. If set, the token flow will be used to authenticate all operations.
186
188
-`service_enablement_custom_endpoint` (String) Custom endpoint for the Service Enablement API
187
189
-`ske_custom_endpoint` (String) Custom endpoint for the Kubernetes Engine (SKE) service
188
190
-`sqlserverflex_custom_endpoint` (String) Custom endpoint for the SQL Server Flex service
!> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations.
7
8
Example Usage
8
9
Automatically rotate access tokens
9
10
@@ -30,6 +31,9 @@ description: |-
30
31
# stackit_service_account_access_token (Resource)
31
32
32
33
Service account access token schema.
34
+
35
+
!> This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations.
"id": "Terraform's internal resource identifier. It is structured as \"`project_id`,`service_account_email`,`access_token_id`\".",
87
87
"main": "Service account access token schema.",
88
+
"deprecation_message": "This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations.",
88
89
"project_id": "STACKIT project ID associated with the service account token.",
89
90
"service_account_email": "Email address linked to the service account.",
90
91
"ttl_days": "Specifies the token's validity duration in days. If unspecified, defaults to 90 days.",
DeprecationMessage: "This resource is scheduled for deprecation and will be removed on December 17, 2025. To ensure a smooth transition, please refer to our migration guide at https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html for detailed instructions and recommendations.",
DeprecationMessage: "Authentication via Service Account Token is deprecated and will be removed on December 17, 2025. "+
208
+
"Please use `service_account_key` or `service_account_key_path` instead. "+
209
+
"For a smooth transition, refer to our migration guide: https://docs.stackit.cloud/stackit/en/deprecation-plan-for-service-account-access-tokens-and-migration-guide-373293307.html",
Copy file name to clipboardExpand all lines: templates/index.md.tmpl
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The STACKIT Terraform provider is the official Terraform provider to integrate a
11
11
To authenticate, you will need a [service account](https://docs.stackit.cloud/stackit/en/service-accounts-134415819.html). Create it in the [STACKIT Portal](https://portal.stackit.cloud/) and assign it the necessary permissions, e.g. `project.owner`. There are multiple ways to authenticate:
12
12
13
13
- Key flow (recommended)
14
-
- Token flow
14
+
- Token flow (is scheduled for deprecation and will be removed on December 17, 2025)
15
15
16
16
When setting up authentication, the provider will always try to use the key flow first and search for credentials in several locations, following a specific order:
17
17
@@ -86,6 +86,8 @@ To configure the key flow, follow this steps:
86
86
87
87
### Token flow
88
88
89
+
> Is scheduled for deprecation and will be removed on December 17, 2025.
90
+
89
91
Using this flow is less secure since the token is long-lived. You can provide the token in several ways:
90
92
91
93
1. Setting the field `service_account_token` in the provider
0 commit comments