From fc5f63bc86f0ac4b1018f54907b9ecd43f1ed96c Mon Sep 17 00:00:00 2001 From: GokceGK <161626272+GokceGK@users.noreply.github.com> Date: Tue, 3 Sep 2024 08:55:37 +0200 Subject: [PATCH] remove deprecated jwks endpoint (#523) --- docs/index.md | 1 - stackit/provider.go | 7 ------- 2 files changed, 8 deletions(-) diff --git a/docs/index.md b/docs/index.md index a1dbeb43..15fc7740 100644 --- a/docs/index.md +++ b/docs/index.md @@ -146,7 +146,6 @@ Note: AWS specific checks must be skipped as they do not work on STACKIT. For de - `dns_custom_endpoint` (String) Custom endpoint for the DNS service - `enable_beta_resources` (Boolean) Enable beta resources. Default is false. - `iaas_custom_endpoint` (String) Custom endpoint for the IaaS service -- `jwks_custom_endpoint` (String, Deprecated) Custom endpoint for the jwks API, which is used to get the json web key sets (jwks) to validate tokens when using the key flow - `loadbalancer_custom_endpoint` (String) Custom endpoint for the Load Balancer service - `logme_custom_endpoint` (String) Custom endpoint for the LogMe service - `mariadb_custom_endpoint` (String) Custom endpoint for the MariaDB service diff --git a/stackit/provider.go b/stackit/provider.go index a862b644..e3467353 100644 --- a/stackit/provider.go +++ b/stackit/provider.go @@ -113,7 +113,6 @@ type providerModel struct { ServerBackupCustomEndpoint types.String `tfsdk:"server_backup_custom_endpoint"` ResourceManagerCustomEndpoint types.String `tfsdk:"resourcemanager_custom_endpoint"` TokenCustomEndpoint types.String `tfsdk:"token_custom_endpoint"` - JWKSCustomEndpoint types.String `tfsdk:"jwks_custom_endpoint"` EnableBetaResources types.Bool `tfsdk:"enable_beta_resources"` ServiceEnablementCustomEndpoint types.String `tfsdk:"service_enablement_custom_endpoint"` } @@ -151,7 +150,6 @@ func (p *Provider) Schema(_ context.Context, _ provider.SchemaRequest, resp *pro "ske_custom_endpoint": "Custom endpoint for the Kubernetes Engine (SKE) service", "service_enablement_custom_endpoint": "Custom endpoint for the Service Enablement API", "token_custom_endpoint": "Custom endpoint for the token API, which is used to request access tokens when using the key flow", - "jwks_custom_endpoint": "Custom endpoint for the jwks API, which is used to get the json web key sets (jwks) to validate tokens when using the key flow", "enable_beta_resources": "Enable beta resources. Default is false.", } @@ -278,11 +276,6 @@ func (p *Provider) Schema(_ context.Context, _ provider.SchemaRequest, resp *pro Optional: true, Description: descriptions["token_custom_endpoint"], }, - "jwks_custom_endpoint": schema.StringAttribute{ - Optional: true, - Description: descriptions["jwks_custom_endpoint"], - DeprecationMessage: "Validation using JWKS was removed, for being redundant with token validation done in the APIs. This field has no effect, and will be removed in a later update", - }, "enable_beta_resources": schema.BoolAttribute{ Optional: true, Description: descriptions["enable_beta_resources"],