Skip to content

Commit df72fd3

Browse files
Merge branch 'main' into support-azdo
2 parents 3f219dc + 63bef7d commit df72fd3

309 files changed

Lines changed: 25430 additions & 44402 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 78 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
## Release (2026-mm-dd)
2-
- `core`:
3-
- [v0.22.0](core/CHANGELOG.md#v0220)
4-
- **Feature:** Support Azure DevOps OIDC adapter
5-
- [v0.21.1](core/CHANGELOG.md#v0211)
6-
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
1+
## Release (2026-DD-MM)
2+
3+
- `core`: [v0.22.0](core/CHANGELOG.md#v0220)
4+
- **Feature:** Support Azure DevOps OIDC adapter
5+
- `alb`: [v0.10.0](services/alb/CHANGELOG.md#v0100)
6+
- **Feature:** Add new field `AltPort` to `ActiveHealthCheck`
7+
- **Feature:** Add new field `Tls` to `HttpHealthCheck`
8+
- **Breaking change:** Renamed `TargetPoolTlsConfig` to `TlsConfig`
9+
- `loadbalancer`: [v1.8.0](services/loadbalancer/CHANGELOG.md#v180)
10+
- **Feature:** Add new fields `AltPort` and `HttpHealthCheck` to `ActiveHealthCheck`
11+
12+
## Release (2026-02-20)
13+
- `core`: [v0.21.1](core/CHANGELOG.md#v0211)
14+
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
715
- `alb`:
816
- [v0.9.3](services/alb/CHANGELOG.md#v093)
917
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
@@ -20,11 +28,16 @@
2028
- [v0.1.4](services/auditlog/CHANGELOG.md#v014)
2129
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
2230
- `authorization`:
31+
- [v0.12.0](services/authorization/CHANGELOG.md#v0120)
32+
- **Breaking change:** removed operation `GetAssignableSubjects` and related models `AssignableSubject`, `ListAssignableSubjectsResponse`
2333
- [v0.11.3](services/authorization/CHANGELOG.md#v0113)
2434
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
2535
- [v0.11.2](services/authorization/CHANGELOG.md#v0112)
2636
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
2737
- `cdn`:
38+
- [v1.10.0](services/cdn/CHANGELOG.md#v1100)
39+
- **Feature:** Add support for `RedirectConfig` in `Config`, `ConfigPatch` and `CreateDistributionPayload` models
40+
- new related models `RedirectConfig`, `RedirectRule`, `Matcher` and `MatchCondition`
2841
- [v1.9.4](services/cdn/CHANGELOG.md#v194)
2942
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
3043
- [v1.9.3](services/cdn/CHANGELOG.md#v193)
@@ -107,6 +120,52 @@
107120
- [v1.4.4](services/objectstorage/CHANGELOG.md#v144)
108121
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
109122
- `observability`:
123+
- [v0.17.0](services/observability/CHANGELOG.md#v0170)
124+
- **Feature:** add AlertRecord
125+
- new related operations: `CreateAlertRecord`, `DeleteAlertRecord`, `DeleteAlertRecords`, `GetAlertRecord`, `ListAlertRecords`, `PartialUpdateAlertRecords`, `UpdateAlertRecord`
126+
- new related models: `UpdateAlertRecordPayload`, `PartialUpdateAlertRecordsRequestInner`, `CreateAlertRecordPayload`, `AlertRecord`, `AlertRecordResponse`, `AlertRecordsResponse`
127+
- **Feature:** add Backups
128+
- new related operations: `CreateBackup`, `CreateBackupSchedule`, `ListBackupRetentions`, `ListBackupSchedules`, `ListBackups`, `RestoreBackup`
129+
- new related models: `BackupResponse`, `BackupRetentionResponse`, `BackupSchedule`, `BackupSchedulePostResponse`, `BackupScheduleResponse`, `CreateBackupSchedulePayload`
130+
- **Feature:** add Elasticsearch checks
131+
- new related operations `CreateElasticsearchCheck`, `DeleteElasticsearchCheck`, `ListElasticsearchChecks`
132+
- new related models `ElasticsearchCheckChildResponse`, `ElasticsearchCheckResponse` `CreateElasticsearchCheckPayload`
133+
- **Feature:** add Mongodb checks
134+
- new related operations `CreateMongodbCheck`, `ListMongodbChecks`, `DeleteMongodbCheck`
135+
- new related models `MongodbCheckChildResponse`, `MongodbCheckResponse`, `CreateMongodbCheckPayload`
136+
- **Feature:** add Mysql checks
137+
- new related operations `CreateMysqlCheck`, `DeleteMysqlCheck`, `ListMysqlChecks`
138+
- new related models `MysqlCheckChildResponse`, `MysqlCheckResponse`, `CreateMysqlCheckPayload`
139+
- **Feature:** add Network checks
140+
- new related operations `CreateNetworkCheck`, `DeleteNetworkCheck`, `ListNetworkChecks`
141+
- new related models `NetworkCheckChildResponse`, `NetworkCheckResponse`, `CreateNetworkCheckPayload`
142+
- **Feature:** add Ping checks
143+
- new related operations `CreatePingCheck`, `DeletePingCheck`, `ListPingChecks`
144+
- new related models `PingCheckChildResponse`, `PingCheckResponse`, `CreatePingCheckPayload`
145+
- **Feature:** add Postgresql checks
146+
- new related operations `CreatePostgresqlCheck`, `DeletePostgresqlCheck`, `ListPostgresqlChecks`
147+
- new related models `PostgresqlCheckChildResponse`, `PostgresqlCheckResponse`, `CreatePostgresqlCheckPayload`
148+
- **Feature:** add Rabbitmq checks
149+
- new related operations `CreateRabbitmqCheck`, `DeleteRabbitmqCheck`, `ListRabbitmqChecks`
150+
- new related models `RabbitmqCheckChildResponse`, `RabbitmqCheckResponse`, `CreateRabbitmqCheckPayload`
151+
- **Feature:** add Redis checks
152+
- new related operations `CreateRedisCheck`, `ListRedisChecks`, `DeleteRedisCheck`
153+
- new related models `RedisCheckChildResponse`, `RedisCheckResponse`, `CreateRedisCheckPayload`
154+
- **Feature:** extended AlertRules
155+
- new related operations `DeleteAlertRule`, `GetAlertRule`, `UpdateAlertRule`
156+
- new related models `AlertRuleResponse`, `UpdateAlertRulePayload`
157+
- **Feature:** add Offerings
158+
- new related operation `ListOfferings`
159+
- new related model `Offerings`
160+
- **Feature:** extended Scrape
161+
- new related operations `DeleteScrapeConfigs`, `PartialUpdateScrapeConfigs`
162+
-**Breaking change:** renamed AlertRule to AlertruleResponse
163+
-**Breaking change:** renamed CreateScrapeConfigPayloadHttpSdConfigsInner to PartialUpdateScrapeConfigsRequestInnerHttpSdConfigsInner
164+
-**Breaking change:** renamed CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2 to PartialUpdateScrapeConfigsRequestInnerHttpSdConfigsInner
165+
-**Breaking change:** renamed CreateScrapeConfigPayloadHttpSdConfigsInnerOauth2TlsConfig to PartialUpdateScrapeConfigsRequestInnerHttpSdConfigsInnerTlsConfig
166+
-**Breaking change:** renamed CreateScrapeConfigPayloadMetricsRelabelConfigsInner to PartialUpdateScrapeConfigsRequestInnerMetricsRelabelConfigsInner
167+
-**Breaking change:** renamed CreateScrapeConfigPayloadStaticConfigsInner to PartialUpdateScrapeConfigsRequestInnerStaticConfigsInner
168+
-**Breaking change:** renamed CreateScrapeConfigPayloadBasicAuth to PartialUpdateScrapeConfigsRequestInnerBasicAuth
110169
- [v0.16.3](services/observability/CHANGELOG.md#v0163)
111170
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
112171
- [v0.16.2](services/observability/CHANGELOG.md#v0162)
@@ -122,6 +181,8 @@
122181
- [v1.3.4](services/postgresflex/CHANGELOG.md#v134)
123182
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
124183
- `rabbitmq`:
184+
- [v0.26.0](services/rabbitmq/CHANGELOG.md#v0260)
185+
- **Breaking change:** `SetTLSProtocols` now accepts a slice of strings instead of a single string
125186
- [v0.25.6](services/rabbitmq/CHANGELOG.md#v0256)
126187
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
127188
- [v0.25.5](services/rabbitmq/CHANGELOG.md#v0255)
@@ -162,6 +223,10 @@
162223
- [v1.2.5](services/serverupdate/CHANGELOG.md#v125)
163224
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
164225
- `serviceaccount`:
226+
- [v0.12.0](services/serviceaccount/CHANGELOG.md#v0120)
227+
- **Feature:** add support for Federated Identity Providers
228+
- new operations: `CreateFederatedIdentityProvider`, `DeleteServiceFederatedIdentityProvider`, `ListFederatedIdentityProviders`, `PartialUpdateServiceAccountFederatedIdentityProvider`
229+
- new models: `CreateFederatedIdentityProviderPayload`, `CreateFederatedIdentityProviderPayloadAssertionsInner`, `CreateFederatedIdentityProviderResponse`, `CreateFederatedIdentityProviderResponseAssertionsInner`, `FederatedListFederatedIdentityProvidersResponse`, `PartialUpdateServiceAccountFederatedIdentityProviderPayload`
165230
- [v0.11.6](services/serviceaccount/CHANGELOG.md#v0116)
166231
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
167232
- [v0.11.5](services/serviceaccount/CHANGELOG.md#v0115)
@@ -171,7 +236,9 @@
171236
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
172237
- [v1.2.6](services/serviceenablement/CHANGELOG.md#v126)
173238
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
174-
- `sfs`:
239+
- `sfs`:
240+
- [v0.4.0](services/sfs/CHANGELOG.md#v040)
241+
- **Breaking change:** The `name` and `spaceHardLimitGigabytes` fields are now marked as required for `ShareExportPayload`, `SharePayload`.
175242
- [v0.3.0](services/sfs/CHANGELOG.md#v030)
176243
- **Feature:** Switch from `v1beta` API version to `v1` version.
177244
- **Breaking change:** Remove `ListSnapshotSchedules` method
@@ -182,6 +249,10 @@
182249
- [v0.2.2](services/sfs/CHANGELOG.md#v022)
183250
- **Dependencies**: Bump `github.com/golang-jwt/jwt/v5` from `v5.3.0` to `v5.3.1`
184251
- `ske`:
252+
- [v1.7.0](services/ske/CHANGELOG.md#v170)
253+
- **Feature:** new model `AccessScope`
254+
- **Feature:** new model `V2ControlPlaneNetwork`
255+
- **Feature:** added field `ControlPlane` of type `V2ControlPlaneNetwork` to model `Network`
185256
- [v1.6.3](services/ske/CHANGELOG.md#v163)
186257
- Bump STACKIT SDK core module from `v0.21.0` to `v0.21.1`
187258
- [v1.6.2](services/ske/CHANGELOG.md#v162)

README.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,20 @@ To authenticate with the SDK, you need a [service account](https://docs.stackit.
103103

104104
### Authentication Methods
105105

106-
The SDK supports two authentication methods:
106+
The SDK supports three authentication methods:
107107

108-
1. **Key Flow** (Recommended)
108+
1. **Workload Identity Federation Flow**
109+
110+
- Uses OIDC trusted tokens
111+
- Provides best security through short-lived tokens without secrets
112+
113+
2. **Key Flow**
109114

110115
- Uses RSA key-pair based authentication
111116
- Provides better security through short-lived tokens
112117
- Supports both STACKIT-generated and custom key pairs
113118

114-
2. **Token Flow**
119+
3. **Token Flow** (Deprecated)
115120
- Uses long-lived service account tokens
116121
- Simpler but less secure
117122

@@ -120,10 +125,40 @@ The SDK supports two authentication methods:
120125
The SDK searches for credentials in the following order:
121126

122127
1. Explicit configuration in code
123-
2. Environment variables (KEY_PATH for KEY)
128+
2. Environment variables
124129
3. Credentials file (`$HOME/.stackit/credentials.json`)
125130

126-
For each authentication method, the key flow is attempted first, followed by the token flow.
131+
For each authentication method, the try order is:
132+
1. Workload Identity Federation Flow
133+
2. Key Flow
134+
3. Token Flow
135+
136+
### Using the Workload Identity Fedearion Flow
137+
138+
1. Create a service account trusted relation in the STACKIT Portal:
139+
140+
- Navigate to `Service Accounts` → Select account → `Federated Identity Providers`
141+
- [Configure a Federated Identity Provider](https://docs.stackit.cloud/platform/access-and-identity/service-accounts/how-tos/manage-service-account-federations/#create-a-federated-identity-provider) and the required assertions to trust in.
142+
143+
2. Configure authentication using any of these methods:
144+
145+
**A. Code Configuration**
146+
147+
```go
148+
// Using wokload identity federation flow
149+
config.WithWorkloadIdentityFederationAuth()
150+
// With the custom path for the external OIDC token
151+
config.WithWorkloadIdentityFederationPath("/path/to/your/federated/token")
152+
// For the service account
153+
config.WithServiceAccountEmail("my-sa@sa-stackit.cloud")
154+
```
155+
**B. Environment Variables**
156+
```bash
157+
# With the custom path for the external OIDC token
158+
STACKIT_FEDERATED_TOKEN_FILE=/path/to/your/federated/token
159+
# For the service account
160+
STACKIT_SERVICE_ACCOUNT_EMAIL=my-sa@sa-stackit.cloud
161+
```
127162

128163
### Using the Key Flow
129164

examples/authorization/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.21.1
7-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.3
7+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.12.0
88
)
99

1010
require (

examples/authorization/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.21.1 h1:Y/PcAgM7DPYMNqum0MLv4n1mF9ieuevzcCIZYQfm3Ts=
88
github.com/stackitcloud/stackit-sdk-go/core v0.21.1/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
9-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.3 h1:JMKEeNQpA+Mb1DRpY3MRQL3pko5JjUWGrevN0xOrx+4=
10-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.11.3/go.mod h1:uYI9pHAA2g84jJN25ejFUxa0/JtfpPZqMDkctQ1BzJk=
9+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.12.0 h1:HxPgBu04j5tj6nfZ2r0l6v4VXC0/tYOGe4sA5Addra8=
10+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.12.0/go.mod h1:uYI9pHAA2g84jJN25ejFUxa0/JtfpPZqMDkctQ1BzJk=

examples/observability/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.21.1
7-
github.com/stackitcloud/stackit-sdk-go/services/observability v0.16.3
7+
github.com/stackitcloud/stackit-sdk-go/services/observability v0.17.0
88
)
99

1010
require (

examples/observability/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.21.1 h1:Y/PcAgM7DPYMNqum0MLv4n1mF9ieuevzcCIZYQfm3Ts=
88
github.com/stackitcloud/stackit-sdk-go/core v0.21.1/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
9-
github.com/stackitcloud/stackit-sdk-go/services/observability v0.16.3 h1:J/R6iBALMiNpg+JDEx1adH50TM4UTF/KBYFuHENMKIs=
10-
github.com/stackitcloud/stackit-sdk-go/services/observability v0.16.3/go.mod h1:9KdrXC5JS30Ay3mR0adb3vNdhca+qxiy/cPF5P4wehQ=
9+
github.com/stackitcloud/stackit-sdk-go/services/observability v0.17.0 h1:LGwCvvST0fwUgZ6bOxYIfu45qqTgv421ZS07UhKjZL8=
10+
github.com/stackitcloud/stackit-sdk-go/services/observability v0.17.0/go.mod h1:9KdrXC5JS30Ay3mR0adb3vNdhca+qxiy/cPF5P4wehQ=

examples/rabbitmq/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.21.1
7-
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.25.6
7+
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.26.0
88
)
99

1010
require (

examples/rabbitmq/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.21.1 h1:Y/PcAgM7DPYMNqum0MLv4n1mF9ieuevzcCIZYQfm3Ts=
88
github.com/stackitcloud/stackit-sdk-go/core v0.21.1/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
9-
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.25.6 h1:+TFfl1ON/uM5aO0FdkBNYKBa7vx0zrCYVtX6zvqQYBA=
10-
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.25.6/go.mod h1:hnhvlLX1Y71R8KIQqLBeoSZqkU5ZJOG0J4wz0LeUdaw=
9+
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.26.0 h1:/8lmviszgrB+0Cz7HdhFELyTiTeqIs7LfnI6sNX4rW8=
10+
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.26.0/go.mod h1:hnhvlLX1Y71R8KIQqLBeoSZqkU5ZJOG0J4wz0LeUdaw=

examples/serviceaccount/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.21.1
7-
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.11.6
7+
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.12.0
88
)
99

1010
require (

examples/serviceaccount/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.21.1 h1:Y/PcAgM7DPYMNqum0MLv4n1mF9ieuevzcCIZYQfm3Ts=
88
github.com/stackitcloud/stackit-sdk-go/core v0.21.1/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
9-
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.11.6 h1:WU76mZkJP6diMDjGFqM8On6fZhUDmGcy6ppX0+kWx9Y=
10-
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.11.6/go.mod h1:hRllU+yEJM6ovrLeXwVeT5hI70ftPKjX4z/Nj8TZqJw=
9+
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.12.0 h1:l1EDIlXce2C8JcbBDHVa6nZ4SjPTqmnALTgrhms+NKI=
10+
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.12.0/go.mod h1:EXq8/J7t9p8zPmdIq+atuxyAbnQwxrQT18fI+Qpv98k=

0 commit comments

Comments
 (0)