diff --git a/docs/data-sources/clients.md b/docs/data-sources/clients.md index d39df4911..b189f7fac 100644 --- a/docs/data-sources/clients.md +++ b/docs/data-sources/clients.md @@ -38,7 +38,7 @@ data "auth0_clients" "first_party_apps" { ### Read-Only -- `clients` (List of Object) List of clients matching the filter criteria. (see [below for nested schema](#nestedatt--clients)) +- `clients` (Set of Object) List of clients matching the filter criteria. (see [below for nested schema](#nestedatt--clients)) - `id` (String) The ID of this resource. diff --git a/docs/data-sources/provider.md b/docs/data-sources/provider.md new file mode 100644 index 000000000..aab38ae35 --- /dev/null +++ b/docs/data-sources/provider.md @@ -0,0 +1,20 @@ +--- +page_title: "Data Source: auth0_provider" +description: |- + A data source for retrieving basic information about the provider. +--- + +# Data Source: auth0_provider + +A data source for retrieving basic information about the provider. + + + + +## Schema + +### Read-Only + +- `provider_version` (String) The version of the provider. + + diff --git a/docs/data-sources/resource_server.md b/docs/data-sources/resource_server.md index 569412920..6beff81fa 100644 --- a/docs/data-sources/resource_server.md +++ b/docs/data-sources/resource_server.md @@ -1,12 +1,12 @@ --- page_title: "Data Source: auth0_resource_server" description: |- - Data source to retrieve a specific Auth0 resource server by resource_server_id or identifier. + With this datasource, you can set up APIs that can be consumed from your authorized applications. --- # Data Source: auth0_resource_server -Data source to retrieve a specific Auth0 resource server by `resource_server_id` or `identifier`. +With this datasource, you can set up APIs that can be consumed from your authorized applications. ## Example Usage @@ -29,71 +29,68 @@ data "auth0_resource_server" "some-resource-server-by-id" { - `identifier` (String) Unique identifier for the resource server. Used as the audience parameter for authorization calls. If not provided, `resource_server_id` must be set. - `resource_server_id` (String) The ID of the resource server. If not provided, `identifier` must be set. +- `token_encryption` (Attributes) Configuration for JSON Web Encryption(JWE) of tokens for this resource server. (see [below for nested schema](#nestedatt--token_encryption)) ### Read-Only - `allow_offline_access` (Boolean) Indicates whether refresh tokens can be issued for this resource server. -- `authorization_details` (List of Object) Authorization details for this resource server. (see [below for nested schema](#nestedatt--authorization_details)) +- `authorization_details` (Attributes List) Authorization details for this resource server. (see [below for nested schema](#nestedatt--authorization_details)) - `consent_policy` (String) Consent policy for this resource server. Options include `transactional-authorization-with-mfa`, or `null` to disable. - `enforce_policies` (Boolean) If this setting is enabled, RBAC authorization policies will be enforced for this API. Role and permission assignments will be evaluated during the login transaction. -- `id` (String) The ID of this resource. -- `name` (String) Friendly name for the resource server. Cannot include `<` or `>` characters. -- `proof_of_possession` (List of Object) Configuration settings for proof-of-possession for this resource server. (see [below for nested schema](#nestedatt--proof_of_possession)) -- `scopes` (Set of Object) List of permissions (scopes) used by this resource server. (see [below for nested schema](#nestedatt--scopes)) +- `name` (String) Friendly name for the resource server. +- `proof_of_possession` (Attributes) Configuration settings for proof-of-possession for this resource server. (see [below for nested schema](#nestedatt--proof_of_possession)) +- `scopes` (Attributes Set) List of permissions (scopes) used by this resource server. (see [below for nested schema](#nestedatt--scopes)) - `signing_alg` (String) Algorithm used to sign JWTs. Options include `HS256`, `RS256`, and `PS256`. - `signing_secret` (String) Secret used to sign tokens when using symmetric algorithms (HS256). - `skip_consent_for_verifiable_first_party_clients` (Boolean) Indicates whether to skip user consent for applications flagged as first party. - `token_dialect` (String) Dialect of access tokens that should be issued for this resource server. Options include `access_token`, `rfc9068_profile`, `access_token_authz`, and `rfc9068_profile_authz`. `access_token` is a JWT containing standard Auth0 claims. `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` is a JWT containing standard Auth0 claims, including RBAC permissions claims. `rfc9068_profile_authz` is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. RBAC permissions claims are available if RBAC (`enforce_policies`) is enabled for this API. For more details, refer to [Access Token Profiles](https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles). -- `token_encryption` (List of Object) Configuration for JSON Web Encryption(JWE) of tokens for this resource server. (see [below for nested schema](#nestedatt--token_encryption)) - `token_lifetime` (Number) Number of seconds during which access tokens issued for this resource server from the token endpoint remain valid. - `token_lifetime_for_web` (Number) Number of seconds during which access tokens issued for this resource server via implicit or hybrid flows remain valid. Cannot be greater than the `token_lifetime` value. - `verification_location` (String) URL from which to retrieve JWKs for this resource server. Used for verifying the JWT sent to Auth0 for token introspection. - -### Nested Schema for `authorization_details` + +### Nested Schema for `token_encryption` Read-Only: -- `disable` (Boolean) -- `type` (String) - +- `encryption_key` (Attributes) Authorization details for this resource server. (see [below for nested schema](#nestedatt--token_encryption--encryption_key)) +- `format` (String) Format of the token encryption. Only `compact-nested-jwe` is supported. - -### Nested Schema for `proof_of_possession` + +### Nested Schema for `token_encryption.encryption_key` Read-Only: -- `disable` (Boolean) -- `mechanism` (String) -- `required` (Boolean) +- `algorithm` (String) Algorithm used to encrypt the token. +- `kid` (String) Key ID. +- `name` (String) Name of the encryption key. +- `pem` (String) PEM-formatted public key. Must be JSON escaped. - -### Nested Schema for `scopes` + + +### Nested Schema for `authorization_details` Read-Only: -- `description` (String) -- `name` (String) +- `type` (String) Type of authorization details. - -### Nested Schema for `token_encryption` + +### Nested Schema for `proof_of_possession` Read-Only: -- `disable` (Boolean) -- `encryption_key` (List of Object) (see [below for nested schema](#nestedobjatt--token_encryption--encryption_key)) -- `format` (String) +- `mechanism` (String) Mechanism used for proof-of-possession. Only `mtls` is supported. +- `required` (Boolean) Indicates whether proof-of-possession is required with this resource server. - -### Nested Schema for `token_encryption.encryption_key` + + +### Nested Schema for `scopes` Read-Only: -- `algorithm` (String) -- `kid` (String) -- `name` (String) -- `pem` (String) +- `description` (String) Description of the permission (scope). +- `name` (String) Name of the permission (scope). Examples include `read:appointments` or `delete:appointments`. diff --git a/docs/resources/encryption_key_manager.md b/docs/resources/encryption_key_manager.md index c23f4a8c2..a6b255c0d 100644 --- a/docs/resources/encryption_key_manager.md +++ b/docs/resources/encryption_key_manager.md @@ -1,12 +1,12 @@ --- page_title: "Resource: auth0_encryption_key_manager" description: |- - Resource to allow the rekeying of your tenant master key. + A resource for managing the tenant root key. --- # Resource: auth0_encryption_key_manager -Resource to allow the rekeying of your tenant master key. +A resource for managing the tenant root key. ## Example Usage @@ -50,13 +50,12 @@ resource "auth0_encryption_key_manager" "my_key_manager" { ### Optional -- `customer_provided_root_key` (Block List, Max: 1) This attribute is used for provisioning the customer provided root key. To initiate the provisioning process, create a new empty `customer_provided_root_key` block. After applying this, the `public_wrapping_key` can be retreived from the resource, and the new root key should be generated by the customer and wrapped with the wrapping key, then base64-encoded and added as the `wrapped_key` attribute. (see [below for nested schema](#nestedblock--customer_provided_root_key)) +- `customer_provided_root_key` (Block, Optional) This attribute is used for provisioning the customer provided root key. To initiate the provisioning process, create a new empty `customer_provided_root_key` block. After applying this, the `public_wrapping_key` can be retreived from the resource, and the new root key should be generated by the customer and wrapped with the wrapping key, then base64-encoded and added as the `wrapped_key` attribute. (see [below for nested schema](#nestedblock--customer_provided_root_key)) - `key_rotation_id` (String) If this value is changed, the encryption keys will be rotated. A UUID is recommended for the `key_rotation_id`. ### Read-Only -- `encryption_keys` (List of Object) All encryption keys. (see [below for nested schema](#nestedatt--encryption_keys)) -- `id` (String) The ID of this resource. +- `encryption_keys` (Attributes List) All encryption keys. (see [below for nested schema](#nestedatt--encryption_keys)) ### Nested Schema for `customer_provided_root_key` @@ -82,11 +81,11 @@ Read-Only: Read-Only: -- `created_at` (String) -- `key_id` (String) -- `parent_key_id` (String) -- `state` (String) -- `type` (String) -- `updated_at` (String) +- `created_at` (String) The ISO 8601 formatted date the customer provided root key was created. +- `key_id` (String) The key ID of the customer provided root key. +- `parent_key_id` (String) The key ID of the parent wrapping key. +- `state` (String) The state of the encryption key. One of `pre-activation`, `active`, `deactivated`, or `destroyed`. +- `type` (String) The type of the encryption key. One of `customer-provided-root-key`, `environment-root-key`, or `tenant-master-key`. +- `updated_at` (String) The ISO 8601 formatted date the customer provided root key was updated. diff --git a/docs/resources/resource_server.md b/docs/resources/resource_server.md index 8a29bd3ed..6ba1d1e8c 100644 --- a/docs/resources/resource_server.md +++ b/docs/resources/resource_server.md @@ -55,64 +55,58 @@ EOF ### Optional - `allow_offline_access` (Boolean) Indicates whether refresh tokens can be issued for this resource server. -- `authorization_details` (Block List) Authorization details for this resource server. (see [below for nested schema](#nestedblock--authorization_details)) +- `authorization_details` (Attributes List) Authorization details for this resource server. (see [below for nested schema](#nestedatt--authorization_details)) - `consent_policy` (String) Consent policy for this resource server. Options include `transactional-authorization-with-mfa`, or `null` to disable. - `enforce_policies` (Boolean) If this setting is enabled, RBAC authorization policies will be enforced for this API. Role and permission assignments will be evaluated during the login transaction. - `name` (String) Friendly name for the resource server. Cannot include `<` or `>` characters. -- `proof_of_possession` (Block List, Max: 1) Configuration settings for proof-of-possession for this resource server. (see [below for nested schema](#nestedblock--proof_of_possession)) +- `proof_of_possession` (Attributes) Configuration settings for proof-of-possession for this resource server. (see [below for nested schema](#nestedatt--proof_of_possession)) - `signing_alg` (String) Algorithm used to sign JWTs. Options include `HS256`, `RS256`, and `PS256`. - `signing_secret` (String) Secret used to sign tokens when using symmetric algorithms (HS256). - `skip_consent_for_verifiable_first_party_clients` (Boolean) Indicates whether to skip user consent for applications flagged as first party. - `token_dialect` (String) Dialect of access tokens that should be issued for this resource server. Options include `access_token`, `rfc9068_profile`, `access_token_authz`, and `rfc9068_profile_authz`. `access_token` is a JWT containing standard Auth0 claims. `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` is a JWT containing standard Auth0 claims, including RBAC permissions claims. `rfc9068_profile_authz` is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. RBAC permissions claims are available if RBAC (`enforce_policies`) is enabled for this API. For more details, refer to [Access Token Profiles](https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles). -- `token_encryption` (Block List, Max: 1) Configuration for JSON Web Encryption(JWE) of tokens for this resource server. (see [below for nested schema](#nestedblock--token_encryption)) +- `token_encryption` (Attributes) Configuration for JSON Web Encryption(JWE) of tokens for this resource server. (see [below for nested schema](#nestedatt--token_encryption)) - `token_lifetime` (Number) Number of seconds during which access tokens issued for this resource server from the token endpoint remain valid. - `token_lifetime_for_web` (Number) Number of seconds during which access tokens issued for this resource server via implicit or hybrid flows remain valid. Cannot be greater than the `token_lifetime` value. - `verification_location` (String) URL from which to retrieve JWKs for this resource server. Used for verifying the JWT sent to Auth0 for token introspection. ### Read-Only -- `id` (String) The ID of this resource. +- `resource_server_id` (String) A generated string identifying the resource server. - + ### Nested Schema for `authorization_details` -Optional: +Required: -- `disable` (Boolean) Disable authorization details. - `type` (String) Type of authorization details. - + ### Nested Schema for `proof_of_possession` Optional: -- `disable` (Boolean) Disable proof-of-possession. - `mechanism` (String) Mechanism used for proof-of-possession. Only `mtls` is supported. - `required` (Boolean) Indicates whether proof-of-possession is required with this resource server. - + ### Nested Schema for `token_encryption` Optional: -- `disable` (Boolean) Disable token encryption. -- `encryption_key` (Block List, Max: 1) Authorization details for this resource server. (see [below for nested schema](#nestedblock--token_encryption--encryption_key)) +- `encryption_key` (Attributes) Authorization details for this resource server. (see [below for nested schema](#nestedatt--token_encryption--encryption_key)) - `format` (String) Format of the token encryption. Only `compact-nested-jwe` is supported. - + ### Nested Schema for `token_encryption.encryption_key` -Required: - -- `algorithm` (String) Algorithm used to encrypt the token. -- `pem` (String) PEM-formatted public key. Must be JSON escaped. - Optional: +- `algorithm` (String) Algorithm used to encrypt the token. - `kid` (String) Key ID. - `name` (String) Name of the encryption key. +- `pem` (String) PEM-formatted public key. Must be JSON escaped. ## Import diff --git a/docs/resources/resource_server_scope.md b/docs/resources/resource_server_scope.md index f94e41c9d..24bf9b752 100644 --- a/docs/resources/resource_server_scope.md +++ b/docs/resources/resource_server_scope.md @@ -50,10 +50,6 @@ resource "auth0_resource_server_scope" "write_posts" { - `description` (String) Description of the scope (permission). -### Read-Only - -- `id` (String) The ID of this resource. - ## Import Import is supported using the following syntax: diff --git a/docs/resources/resource_server_scopes.md b/docs/resources/resource_server_scopes.md index b1aacae83..9eb8c552a 100644 --- a/docs/resources/resource_server_scopes.md +++ b/docs/resources/resource_server_scopes.md @@ -49,11 +49,10 @@ resource "auth0_resource_server_scopes" "my_api_scopes" { ### Required - `resource_server_identifier` (String) Identifier of the resource server that the scopes (permission) are associated with. -- `scopes` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--scopes)) -### Read-Only +### Optional -- `id` (String) The ID of this resource. +- `scopes` (Block Set) List of the scopes associated with a resource server. (see [below for nested schema](#nestedblock--scopes)) ### Nested Schema for `scopes` diff --git a/go.mod b/go.mod index 2d32898ce..5176958dc 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,11 @@ require ( github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/terraform-plugin-docs v0.19.4 + github.com/hashicorp/terraform-plugin-framework v1.13.0 + github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0 + github.com/hashicorp/terraform-plugin-framework-validators v0.15.0 + github.com/hashicorp/terraform-plugin-go v0.25.0 + github.com/hashicorp/terraform-plugin-mux v0.16.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 github.com/hashicorp/terraform-plugin-testing v1.11.0 github.com/stretchr/testify v1.10.0 @@ -48,7 +53,6 @@ require ( github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-exec v0.21.0 // indirect github.com/hashicorp/terraform-json v0.23.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.25.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect diff --git a/go.sum b/go.sum index 657097819..fed0d9f37 100644 --- a/go.sum +++ b/go.sum @@ -111,10 +111,22 @@ github.com/hashicorp/terraform-json v0.23.0 h1:sniCkExU4iKtTADReHzACkk8fnpQXrdD2 github.com/hashicorp/terraform-json v0.23.0/go.mod h1:MHdXbBAbSg0GvzuWazEGKAn/cyNfIB7mN6y7KJN6y2c= github.com/hashicorp/terraform-plugin-docs v0.19.4 h1:G3Bgo7J22OMtegIgn8Cd/CaSeyEljqjH3G39w28JK4c= github.com/hashicorp/terraform-plugin-docs v0.19.4/go.mod h1:4pLASsatTmRynVzsjEhbXZ6s7xBlUw/2Kt0zfrq8HxA= +github.com/hashicorp/terraform-plugin-framework v1.12.0 h1:7HKaueHPaikX5/7cbC1r9d1m12iYHY+FlNZEGxQ42CQ= +github.com/hashicorp/terraform-plugin-framework v1.12.0/go.mod h1:N/IOQ2uYjW60Jp39Cp3mw7I/OpC/GfZ0385R0YibmkE= +github.com/hashicorp/terraform-plugin-framework v1.13.0 h1:8OTG4+oZUfKgnfTdPTJwZ532Bh2BobF4H+yBiYJ/scw= +github.com/hashicorp/terraform-plugin-framework v1.13.0/go.mod h1:j64rwMGpgM3NYXTKuxrCnyubQb/4VKldEKlcG8cvmjU= +github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0 h1:v3DapR8gsp3EM8fKMh6up9cJUFQ2iRaFsYLP8UJnCco= +github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0/go.mod h1:c3PnGE9pHBDfdEVG9t1S1C9ia5LW+gkFR0CygXlM8ak= +github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 h1:bxZfGo9DIUoLLtHMElsu+zwqI4IsMZQBRRy4iLzZJ8E= +github.com/hashicorp/terraform-plugin-framework-validators v0.13.0/go.mod h1:wGeI02gEhj9nPANU62F2jCaHjXulejm/X+af4PdZaNo= +github.com/hashicorp/terraform-plugin-framework-validators v0.15.0 h1:RXMmu7JgpFjnI1a5QjMCBb11usrW2OtAG+iOTIj5c9Y= +github.com/hashicorp/terraform-plugin-framework-validators v0.15.0/go.mod h1:Bh89/hNmqsEWug4/XWKYBwtnw3tbz5BAy1L1OgvbIaY= github.com/hashicorp/terraform-plugin-go v0.25.0 h1:oi13cx7xXA6QciMcpcFi/rwA974rdTxjqEhXJjbAyks= github.com/hashicorp/terraform-plugin-go v0.25.0/go.mod h1:+SYagMYadJP86Kvn+TGeV+ofr/R3g4/If0O5sO96MVw= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= +github.com/hashicorp/terraform-plugin-mux v0.16.0 h1:RCzXHGDYwUwwqfYYWJKBFaS3fQsWn/ZECEiW7p2023I= +github.com/hashicorp/terraform-plugin-mux v0.16.0/go.mod h1:PF79mAsPc8CpusXPfEVa4X8PtkB+ngWoiUClMrNZlYo= github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 h1:wyKCCtn6pBBL46c1uIIBNUOWlNfYXfXpVo16iDyLp8Y= github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0/go.mod h1:B0Al8NyYVr8Mp/KLwssKXG1RqnTk7FySqSn4fRuLNgw= github.com/hashicorp/terraform-plugin-testing v1.11.0 h1:MeDT5W3YHbONJt2aPQyaBsgQeAIckwPX41EUHXEn29A= diff --git a/internal/acctest/acctest.go b/internal/acctest/acctest.go index e68b29b48..29e267c62 100644 --- a/internal/acctest/acctest.go +++ b/internal/acctest/acctest.go @@ -7,13 +7,17 @@ import ( "testing" "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-framework/provider" + "github.com/hashicorp/terraform-plugin-go/tfprotov6" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "gopkg.in/dnaeon/go-vcr.v3/recorder" "github.com/auth0/terraform-provider-auth0/internal/config" - "github.com/auth0/terraform-provider-auth0/internal/provider" + frameworkError "github.com/auth0/terraform-provider-auth0/internal/framework/error" + frameworkProvider "github.com/auth0/terraform-provider-auth0/internal/framework/provider" + internalProvider "github.com/auth0/terraform-provider-auth0/internal/provider" ) // Test checks to see if http recordings are enabled and runs the tests @@ -21,13 +25,13 @@ import ( func Test(t *testing.T, testCase resource.TestCase) { if httpRecordingsAreEnabled() { httpRecorder := newHTTPRecorder(t) - testCase.ProviderFactories = testFactoriesWithHTTPRecordings(httpRecorder) + testCase.ProtoV6ProviderFactories = testProviderFactoriesWithHTTPRecordings(httpRecorder) resource.ParallelTest(t, testCase) return } - testCase.ProviderFactories = TestFactories() + testCase.ProtoV6ProviderFactories = TestProviderFactories() resource.Test(t, testCase) } @@ -36,23 +40,29 @@ func httpRecordingsAreEnabled() bool { return httpRecordings == "true" || httpRecordings == "1" || httpRecordings == "on" } -// TestFactories returns the configured auth0 provider used in testing. -func TestFactories() map[string]func() (*schema.Provider, error) { - return map[string]func() (*schema.Provider, error){ - "auth0": func() (*schema.Provider, error) { - return provider.New(), nil +// TestProviderFactories returns the configured auth0 provider used in testing for the framework. +func TestProviderFactories() map[string]func() (tfprotov6.ProviderServer, error) { + // Set descriptions to support Markdown syntax for SDK resources, + // this will be used in document generation. + schema.DescriptionKind = schema.StringMarkdown + return map[string]func() (tfprotov6.ProviderServer, error){ + "auth0": func() (tfprotov6.ProviderServer, error) { + return frameworkProvider.MuxServer(internalProvider.New(), frameworkProvider.New()) }, } } -func testFactoriesWithHTTPRecordings(httpRecorder *recorder.Recorder) map[string]func() (*schema.Provider, error) { - return map[string]func() (*schema.Provider, error){ - "auth0": func() (*schema.Provider, error) { - auth0Provider := provider.New() - - auth0Provider.ConfigureContextFunc = configureTestProviderWithHTTPRecordings(httpRecorder) - - return auth0Provider, nil +func testProviderFactoriesWithHTTPRecordings(httpRecorder *recorder.Recorder) map[string]func() (tfprotov6.ProviderServer, error) { + // Set descriptions to support Markdown syntax for SDK resources, + // this will be used in document generation. + schema.DescriptionKind = schema.StringMarkdown + return map[string]func() (tfprotov6.ProviderServer, error){ + "auth0": func() (tfprotov6.ProviderServer, error) { + sdkProvider := internalProvider.New() + sdkProvider.ConfigureContextFunc = configureTestProviderWithHTTPRecordings(httpRecorder) + fwkProvider := frameworkProvider.New() + fwkProvider.SetConfigureFunc(configureTestFrameworkProviderWithHTTPRecordings(httpRecorder)) + return frameworkProvider.MuxServer(sdkProvider, fwkProvider) }, } } @@ -96,3 +106,71 @@ func configureTestProviderWithHTTPRecordings(httpRecorder *recorder.Recorder) sc return config.New(apiClient), nil } } + +func configureTestFrameworkProviderWithHTTPRecordings(httpRecorder *recorder.Recorder) func(context.Context, provider.ConfigureRequest, *provider.ConfigureResponse) { + return func(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse) { + domain := os.Getenv("AUTH0_DOMAIN") + debugStr := os.Getenv("AUTH0_DEBUG") + debug := (debugStr == "1" || debugStr == "true" || debugStr == "TRUE" || debugStr == "on" || debugStr == "ON") + + var data config.FrameworkProviderModel + response.Diagnostics.Append(request.Config.Get(ctx, &data)...) + + if data.Domain.ValueString() != "" { + domain = data.Domain.ValueString() + } + if !data.Debug.IsNull() && !data.Debug.IsUnknown() { + debug = data.Debug.ValueBool() + } + + clientOptions := []management.Option{ + management.WithStaticToken("insecure"), + management.WithClient(httpRecorder.GetDefaultClient()), + management.WithDebug(debug), + management.WithRetries(3, []int{http.StatusTooManyRequests, http.StatusInternalServerError}), + } + + if domain != RecordingsDomain { + clientID := os.Getenv("AUTH0_CLIENT_ID") + clientSecret := os.Getenv("AUTH0_CLIENT_SECRET") + apiToken := os.Getenv("AUTH0_API_TOKEN") + audience := os.Getenv("AUTH0_AUDIENCE") + + if data.ClientID.ValueString() != "" { + clientID = data.ClientID.ValueString() + } + if data.ClientSecret.ValueString() != "" { + clientSecret = data.ClientSecret.ValueString() + } + if data.APIToken.ValueString() != "" { + apiToken = data.APIToken.ValueString() + } + if data.Audience.ValueString() != "" { + audience = data.Audience.ValueString() + } + + authenticationOption := management.WithStaticToken(apiToken) + if apiToken == "" { + ctx := context.Background() + + authenticationOption = management.WithClientCredentials(ctx, clientID, clientSecret) + if audience != "" { + authenticationOption = management.WithClientCredentialsAndAudience(ctx, clientID, clientSecret, audience) + } + } + + clientOptions = append(clientOptions, authenticationOption) + } + + apiClient, err := management.New(domain, clientOptions...) + if err != nil { + response.Diagnostics.Append(frameworkError.Diagnostics(err)...) + } + + if !response.Diagnostics.HasError() { + config := config.New(apiClient) + response.ResourceData = config + response.DataSourceData = config + } + } +} diff --git a/internal/acctest/http_recorder.go b/internal/acctest/http_recorder.go index 4d095bc75..6526a2641 100644 --- a/internal/acctest/http_recorder.go +++ b/internal/acctest/http_recorder.go @@ -103,6 +103,8 @@ func redactDomain(i *cassette.Interaction, domain string) { domainParts := strings.Split(domain, ".") + i.Response.Body = strings.ReplaceAll(i.Response.Body, domain, RecordingsDomain) + i.Request.Body = strings.ReplaceAll(i.Request.Body, domain, RecordingsDomain) i.Response.Body = strings.ReplaceAll(i.Response.Body, domainParts[0], recordingsTenant) i.Request.Body = strings.ReplaceAll(i.Request.Body, domainParts[0], recordingsTenant) } diff --git a/internal/auth0/client/data_source_clients.go b/internal/auth0/client/data_source_clients.go index 63488a271..b71cded2c 100644 --- a/internal/auth0/client/data_source_clients.go +++ b/internal/auth0/client/data_source_clients.go @@ -40,7 +40,7 @@ func NewClientsDataSource() *schema.Resource { Description: "Filter clients by first party status.", }, "clients": { - Type: schema.TypeList, + Type: schema.TypeSet, Computed: true, Description: "List of clients matching the filter criteria.", Elem: &schema.Resource{ diff --git a/internal/auth0/client/resource_test.go b/internal/auth0/client/resource_test.go index 1f83fd5db..f89a0a8f5 100644 --- a/internal/auth0/client/resource_test.go +++ b/internal/auth0/client/resource_test.go @@ -21,7 +21,7 @@ resource "auth0_client" "my_client" { func TestAccClientInitiateLoginUriValidation(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: acctest.ParseTestName(testAccClientValidationOnInitiateLoginURIWithHTTP, t.Name()), @@ -44,7 +44,7 @@ resource "auth0_client" "my_client" { func TestAccClientMobileValidationError(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: acctest.ParseTestName(testAccClientValidationOnMobile, t.Name()), diff --git a/internal/auth0/connection/data_source_test.go b/internal/auth0/connection/data_source_test.go index 41e694675..c873be4db 100644 --- a/internal/auth0/connection/data_source_test.go +++ b/internal/auth0/connection/data_source_test.go @@ -55,7 +55,7 @@ data "auth0_connection" "test" { func TestAccDataSourceConnectionRequiredArguments(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: `data "auth0_connection" "test" { }`, diff --git a/internal/auth0/encryptionkeymanager/flatten.go b/internal/auth0/encryptionkeymanager/flatten.go deleted file mode 100644 index 5687cc09b..000000000 --- a/internal/auth0/encryptionkeymanager/flatten.go +++ /dev/null @@ -1,65 +0,0 @@ -package encryptionkeymanager - -import ( - "github.com/auth0/go-auth0/management" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" -) - -func flattenCustomerProvidedRootKey(data *schema.ResourceData, rootKey *management.EncryptionKey, wrappingKey *management.WrappingKey) []interface{} { - const timeRFC3339WithMilliseconds = "2006-01-02T15:04:05.000Z07:00" - - originalValue := data.Get("customer_provided_root_key").([]interface{}) - result := make(map[string]interface{}) - if len(originalValue) > 0 && originalValue[0] != nil { - result = originalValue[0].(map[string]interface{}) - } - if rootKey != nil { - result["key_id"] = rootKey.GetKID() - result["parent_key_id"] = rootKey.GetParentKID() - result["type"] = rootKey.GetType() - result["state"] = rootKey.GetState() - result["created_at"] = rootKey.GetCreatedAt().Format(timeRFC3339WithMilliseconds) - result["updated_at"] = rootKey.GetUpdatedAt().Format(timeRFC3339WithMilliseconds) - if rootKey.GetState() != "pre-activation" { - result["public_wrapping_key"] = nil - result["wrapping_algorithm"] = nil - } - } - if wrappingKey != nil { - result["public_wrapping_key"] = wrappingKey.GetPublicKey() - result["wrapping_algorithm"] = wrappingKey.GetAlgorithm() - } - - return []interface{}{result} -} - -func flattenEncryptionKeys(keys []*management.EncryptionKey) []interface{} { - var flattenedKeys []interface{} - for _, key := range keys { - flattenedKeys = append(flattenedKeys, flattenKey(key)) - } - - return flattenedKeys -} - -func flattenKey(key *management.EncryptionKey) interface{} { - const timeRFC3339WithMilliseconds = "2006-01-02T15:04:05.000Z07:00" - - return map[string]interface{}{ - "key_id": key.GetKID(), - "parent_key_id": key.GetParentKID(), - "type": key.GetType(), - "state": key.GetState(), - "created_at": key.GetCreatedAt().Format(timeRFC3339WithMilliseconds), - "updated_at": key.GetUpdatedAt().Format(timeRFC3339WithMilliseconds), - } -} - -func getKeyByTypeAndState(keyType, keyState string, keys []*management.EncryptionKey) *management.EncryptionKey { - for _, key := range keys { - if key.GetType() == keyType && key.GetState() == keyState { - return key - } - } - return nil -} diff --git a/internal/auth0/encryptionkeymanager/resource.go b/internal/auth0/encryptionkeymanager/resource.go deleted file mode 100644 index fdace5a96..000000000 --- a/internal/auth0/encryptionkeymanager/resource.go +++ /dev/null @@ -1,322 +0,0 @@ -package encryptionkeymanager - -import ( - "context" - "fmt" - - "github.com/hashicorp/go-cty/cty" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/id" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - "github.com/auth0/go-auth0" - "github.com/auth0/go-auth0/management" - - "github.com/auth0/terraform-provider-auth0/internal/config" - internalError "github.com/auth0/terraform-provider-auth0/internal/error" - "github.com/auth0/terraform-provider-auth0/internal/value" - "github.com/auth0/terraform-provider-auth0/internal/wait" -) - -// NewEncryptionKeyManagerResource will return a new auth0_encryption_key_manager resource. -func NewEncryptionKeyManagerResource() *schema.Resource { - return &schema.Resource{ - CreateContext: createEncryptionKeyManager, - UpdateContext: updateEncryptionKeyManager, - ReadContext: readEncryptionKeyManager, - DeleteContext: deleteEncryptionKeyManager, - Description: "Resource to allow the rekeying of your tenant master key.", - Schema: map[string]*schema.Schema{ - "key_rotation_id": { - Type: schema.TypeString, - Optional: true, - Description: "If this value is changed, the encryption keys will be rotated. A UUID is recommended for the `key_rotation_id`.", - }, - "customer_provided_root_key": { - Type: schema.TypeList, - Optional: true, - MaxItems: 1, - Description: "This attribute is used for provisioning the customer provided " + - "root key. To initiate the provisioning process, create a new empty " + - "`customer_provided_root_key` block. After applying this, the " + - "`public_wrapping_key` can be retreived from the resource, and the new root " + - "key should be generated by the customer and wrapped with the wrapping key, " + - "then base64-encoded and added as the `wrapped_key` attribute.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "wrapped_key": { - Type: schema.TypeString, - Optional: true, - Description: "The base64-encoded customer provided root key, " + - "wrapped using the `public_wrapping_key`. This can be removed " + - "after the wrapped key has been applied.", - }, - "public_wrapping_key": { - Type: schema.TypeString, - Computed: true, - Description: "The public wrapping key in PEM format.", - }, - "wrapping_algorithm": { - Type: schema.TypeString, - Computed: true, - Description: "The algorithm that should be used to wrap the " + - "customer provided root key. Should be `CKM_RSA_AES_KEY_WRAP`.", - }, - "key_id": { - Type: schema.TypeString, - Computed: true, - Description: "The key ID of the customer provided root key.", - }, - "type": { - Type: schema.TypeString, - Computed: true, - Description: "The type of the customer provided root key. " + - "Should be `customer-provided-root-key`.", - }, - "state": { - Type: schema.TypeString, - Computed: true, - Description: "The state of the encryption key. One of " + - "`pre-activation`, `active`, `deactivated`, or `destroyed`.", - }, - "parent_key_id": { - Type: schema.TypeString, - Computed: true, - Description: "The key ID of the parent wrapping key.", - }, - "created_at": { - Type: schema.TypeString, - Computed: true, - Description: "The ISO 8601 formatted date the customer provided " + - "root key was created.", - }, - "updated_at": { - Type: schema.TypeString, - Computed: true, - Description: "The ISO 8601 formatted date the customer provided " + - "root key was updated.", - }, - }, - }, - }, - "encryption_keys": { - Type: schema.TypeList, - Computed: true, - Description: "All encryption keys.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "key_id": { - Type: schema.TypeString, - Computed: true, - Description: "The key ID of the encryption key.", - }, - "type": { - Type: schema.TypeString, - Computed: true, - Description: "The type of the encryption key. One of " + - "`customer-provided-root-key`, `environment-root-key`, " + - "or `tenant-master-key`.", - }, - "state": { - Type: schema.TypeString, - Computed: true, - Description: "The state of the encryption key. One of " + - "`pre-activation`, `active`, `deactivated`, or `destroyed`.", - }, - "parent_key_id": { - Type: schema.TypeString, - Computed: true, - Description: "The key ID of the parent wrapping key.", - }, - "created_at": { - Type: schema.TypeString, - Computed: true, - Description: "The ISO 8601 formatted date the encryption key was created.", - }, - "updated_at": { - Type: schema.TypeString, - Computed: true, - Description: "The ISO 8601 formatted date the encryption key was updated.", - }, - }, - }, - }, - }, - } -} - -func createEncryptionKeyManager(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - data.SetId(id.UniqueId()) - - return updateEncryptionKeyManager(ctx, data, meta) -} - -func updateEncryptionKeyManager(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - config := data.GetRawConfig() - - if !data.IsNewResource() && data.HasChange("key_rotation_id") { - keyRotationID := data.Get("key_rotation_id").(string) - if len(keyRotationID) > 0 { - if err := api.EncryptionKey.Rekey(ctx); err != nil { - return diag.FromErr(err) - } - } - } - - if data.IsNewResource() || data.HasChange("customer_provided_root_key") { - oldCountValue, newCountValue := data.GetChange("customer_provided_root_key.#") - rootKeyID := data.Get("customer_provided_root_key.0.key_id").(string) - rootKeyState := data.Get("customer_provided_root_key.0.state").(string) - publicWrappingKey := data.Get("customer_provided_root_key.0.public_wrapping_key").(string) - - rootKeyAttrib := config.GetAttr("customer_provided_root_key") - if rootKeyAttrib.IsNull() || rootKeyAttrib.LengthInt() == 0 { - // The customer_provided_root_key block is not present, check if there was a key. - if len(rootKeyID) > 0 { - if err := removeKey(ctx, api, rootKeyID); err != nil { - return diag.FromErr(err) - } - } - } else { - var wrappedKey *string - - rootKeyAttrib.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - wrappedKey = value.String(cfg.GetAttr("wrapped_key")) - return stop - }) - if wrappedKey != nil { - if len(rootKeyID) > 0 && rootKeyState == "pre-activation" && len(publicWrappingKey) > 0 { - if err := importWrappedKey(ctx, api, auth0.String(rootKeyID), wrappedKey); err != nil { - return diag.FromErr(err) - } - } else if len(rootKeyID) == 0 || len(publicWrappingKey) == 0 { - return diag.FromErr(fmt.Errorf("The wrapped_key attribute should not be specified in the " + - "customer_provided_root_key block until after the public_wrapping_key has been generated")) - } - } - - // If we don't have a root key in progress yet, or this block is newly created - // create a new one. - if len(rootKeyID) == 0 || (oldCountValue.(int) == 0 && newCountValue.(int) == 1) { - if rootKey, wrappingKey, err := createRootKey(ctx, api); err != nil { - return diag.FromErr(err) - } else if err := data.Set("customer_provided_root_key", flattenCustomerProvidedRootKey(data, rootKey, wrappingKey)); err != nil { - return diag.FromErr(err) - } - } - } - } - - return readEncryptionKeyManager(ctx, data, meta) -} - -func readEncryptionKeyManager(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - encryptionKeys := make([]*management.EncryptionKey, 0) - page := 0 - for { - encryptionKeyList, err := api.EncryptionKey.List(ctx, management.Page(page), management.PerPage(5)) - if err != nil { - return diag.FromErr(err) - } - encryptionKeys = append(encryptionKeys, encryptionKeyList.Keys...) - if !encryptionKeyList.HasNext() { - break - } - page++ - } - - if data.Get("customer_provided_root_key.#").(int) > 0 { - // First try to find a key that is going through the activation process. - rootKey := getKeyByTypeAndState("customer-provided-root-key", "pre-activation", encryptionKeys) - - if rootKey == nil { - // If we didn't find one, try to find a key that is already active. - rootKey = getKeyByTypeAndState("customer-provided-root-key", "active", encryptionKeys) - } - - if rootKey != nil { - if err := data.Set("customer_provided_root_key", flattenCustomerProvidedRootKey(data, rootKey, nil)); err != nil { - return diag.FromErr(err) - } - } - } - - return diag.FromErr(data.Set("encryption_keys", flattenEncryptionKeys(encryptionKeys))) -} - -func deleteEncryptionKeyManager(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - rootKeyID := data.Get("customer_provided_root_key.0.key_id").(string) - if len(rootKeyID) > 0 { - return diag.FromErr(removeKey(ctx, api, rootKeyID)) - } - - return nil -} - -func removeKey(ctx context.Context, api *management.Management, keyID string) error { - if err := api.EncryptionKey.Delete(ctx, keyID); err != nil { - return err - } - - // Wait until the key is actually destroyed. - return wait.Until(100, 20, func() (bool, error) { - key, err := api.EncryptionKey.Read(ctx, keyID) - if err != nil { - return false, err - } - return key.GetState() == "destroyed", nil - }) -} - -func importWrappedKey(ctx context.Context, api *management.Management, keyID, wrappedKey *string) error { - encryptionKey := management.EncryptionKey{ - KID: keyID, - WrappedKey: wrappedKey, - } - if err := api.EncryptionKey.ImportWrappedKey(ctx, &encryptionKey); err != nil { - return err - } - // Wait until the key is actually activated. - return wait.Until(100, 20, func() (bool, error) { - key, err := api.EncryptionKey.Read(ctx, *keyID) - if err != nil { - return false, err - } - return key.GetState() == "active", nil - }) -} - -func createRootKey(ctx context.Context, api *management.Management) (*management.EncryptionKey, *management.WrappingKey, error) { - key := management.EncryptionKey{ - Type: auth0.String("customer-provided-root-key"), - } - if err := api.EncryptionKey.Create(ctx, &key); err != nil { - return nil, nil, err - } - - // Wait until the key is actually available. - err := wait.Until(100, 20, func() (bool, error) { - if _, err := api.EncryptionKey.Read(ctx, key.GetKID()); err != nil { - if internalError.IsStatusNotFound(err) { - return false, nil - } - return false, err - } - return true, nil - }) - if err != nil { - return nil, nil, err - } - - wrappingKey, err := api.EncryptionKey.CreatePublicWrappingKey(ctx, key.GetKID()) - if err != nil { - return nil, nil, err - } - - return &key, wrappingKey, nil -} diff --git a/internal/auth0/logstream/resource_test.go b/internal/auth0/logstream/resource_test.go index bf2ab56aa..49993f59c 100644 --- a/internal/auth0/logstream/resource_test.go +++ b/internal/auth0/logstream/resource_test.go @@ -305,7 +305,7 @@ resource "auth0_log_stream" "my_log_stream" { func TestAccLogStreamDataDogRegionValidation(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: fmt.Sprintf(logStreamDatadogInvalidConfig, "uS"), diff --git a/internal/auth0/organization/data_source_test.go b/internal/auth0/organization/data_source_test.go index 7f82f3b08..b84c6ea59 100644 --- a/internal/auth0/organization/data_source_test.go +++ b/internal/auth0/organization/data_source_test.go @@ -72,7 +72,7 @@ data "auth0_organization" "test" { func TestAccDataSourceOrganizationRequiredArguments(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: `data "auth0_organization" "test" { }`, diff --git a/internal/auth0/resourceserver/data_source.go b/internal/auth0/resourceserver/data_source.go deleted file mode 100644 index b445dfff6..000000000 --- a/internal/auth0/resourceserver/data_source.go +++ /dev/null @@ -1,81 +0,0 @@ -package resourceserver - -import ( - "context" - "net/url" - - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - "github.com/auth0/terraform-provider-auth0/internal/config" - internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" -) - -// NewDataSource will return a new auth0_resource_server data source. -func NewDataSource() *schema.Resource { - return &schema.Resource{ - ReadContext: readResourceServerForDataSource, - Description: "Data source to retrieve a specific Auth0 resource server by `resource_server_id` or `identifier`.", - Schema: dataSourceSchema(), - } -} - -func dataSourceSchema() map[string]*schema.Schema { - dataSourceSchema := internalSchema.TransformResourceToDataSource(internalSchema.Clone(NewResource().Schema)) - - dataSourceSchema["resource_server_id"] = &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Description: "The ID of the resource server. If not provided, `identifier` must be set.", - AtLeastOneOf: []string{"resource_server_id", "identifier"}, - } - - dataSourceSchema["identifier"] = &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Description: "Unique identifier for the resource server. Used as the audience parameter " + - "for authorization calls. If not provided, `resource_server_id` must be set. ", - AtLeastOneOf: []string{"resource_server_id", "identifier"}, - } - - dataSourceSchema["scopes"] = &schema.Schema{ - Type: schema.TypeSet, - Computed: true, - Description: "List of permissions (scopes) used by this resource server.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Computed: true, - Description: "Name of the permission (scope). Examples include `read:appointments` or `delete:appointments`.", - }, - "description": { - Type: schema.TypeString, - Computed: true, - Description: "Description of the permission (scope).", - }, - }, - }, - } - - return dataSourceSchema -} - -func readResourceServerForDataSource(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - resourceServerID := data.Get("resource_server_id").(string) - if resourceServerID == "" { - resourceServerID = url.PathEscape(data.Get("identifier").(string)) - } - - api := meta.(*config.Config).GetAPI() - resourceServer, err := api.ResourceServer.Read(ctx, resourceServerID) - if err != nil { - return diag.FromErr(err) - } - - // Ensuring the ID is the resource server ID and not the identifier, - // as both can be used to find a resource server with the Read() func. - data.SetId(resourceServer.GetID()) - - return diag.FromErr(flattenResourceServerForDataSource(data, resourceServer)) -} diff --git a/internal/auth0/resourceserver/expand.go b/internal/auth0/resourceserver/expand.go deleted file mode 100644 index a25fb8f08..000000000 --- a/internal/auth0/resourceserver/expand.go +++ /dev/null @@ -1,243 +0,0 @@ -package resourceserver - -import ( - "github.com/auth0/go-auth0/management" - "github.com/hashicorp/go-cty/cty" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - "github.com/auth0/terraform-provider-auth0/internal/value" -) - -func expandResourceServer(data *schema.ResourceData) *management.ResourceServer { - cfg := data.GetRawConfig() - - resourceServer := &management.ResourceServer{ - TokenLifetime: value.Int(cfg.GetAttr("token_lifetime")), - SkipConsentForVerifiableFirstPartyClients: value.Bool( - cfg.GetAttr("skip_consent_for_verifiable_first_party_clients"), - ), - } - - if data.IsNewResource() { - resourceServer.Identifier = value.String(cfg.GetAttr("identifier")) - } - - if !resourceServerIsAuth0ManagementAPI(data.GetRawState()) { - resourceServer.Name = value.String(cfg.GetAttr("name")) - resourceServer.SigningAlgorithm = value.String(cfg.GetAttr("signing_alg")) - resourceServer.SigningSecret = value.String(cfg.GetAttr("signing_secret")) - resourceServer.AllowOfflineAccess = value.Bool(cfg.GetAttr("allow_offline_access")) - resourceServer.TokenLifetimeForWeb = value.Int(cfg.GetAttr("token_lifetime_for_web")) - resourceServer.EnforcePolicies = value.Bool(cfg.GetAttr("enforce_policies")) - resourceServer.TokenDialect = value.String(cfg.GetAttr("token_dialect")) - resourceServer.VerificationLocation = value.String(cfg.GetAttr("verification_location")) - resourceServer.AuthorizationDetails = expandAuthorizationDetails(data) - resourceServer.TokenEncryption = expandTokenEncryption(data) - resourceServer.ConsentPolicy = expandConsentPolicy(data) - resourceServer.ProofOfPossession = expandProofOfPossession(data) - } - return resourceServer -} - -func expandResourceServerScopes(scopes cty.Value) *[]management.ResourceServerScope { - resourceServerScopes := make([]management.ResourceServerScope, 0) - - scopes.ForEachElement(func(_ cty.Value, scope cty.Value) (stop bool) { - resourceServerScopes = append(resourceServerScopes, management.ResourceServerScope{ - Value: value.String(scope.GetAttr("name")), - Description: value.String(scope.GetAttr("description")), - }) - - return stop - }) - - return &resourceServerScopes -} - -func isConsentPolicyNull(data *schema.ResourceData) bool { - if !data.IsNewResource() && !data.HasChange("consent_policy") { - return false - } - consentPolicy := value.String(data.GetRawConfig().GetAttr("consent_policy")) - return consentPolicy != nil && *consentPolicy == "null" -} - -func expandConsentPolicy(data *schema.ResourceData) *string { - if !data.IsNewResource() && !data.HasChange("consent_policy") { - return nil - } else if isConsentPolicyNull(data) { - return nil - } - - return value.String(data.GetRawConfig().GetAttr("consent_policy")) -} - -func isAuthorizationDetailsNull(data *schema.ResourceData) bool { - if !data.IsNewResource() && !data.HasChange("authorization_details") { - return false - } - empty := true - - config := data.GetRawConfig().GetAttr("authorization_details") - if config.IsNull() || config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - disable := cfg.GetAttr("disable") - if !disable.IsNull() && disable.True() { - stop = true - } else { - empty = false - } - return stop - }) { - // We forced an early return because it was disabled. - return true - } - - return empty -} - -func expandAuthorizationDetails(data *schema.ResourceData) *[]management.ResourceServerAuthorizationDetails { - if !data.IsNewResource() && !data.HasChange("authorization_details") { - return nil - } else if isAuthorizationDetailsNull(data) { - return nil - } - - config := data.GetRawConfig().GetAttr("authorization_details") - authorizationDetails := make([]management.ResourceServerAuthorizationDetails, 0, config.LengthInt()) - - config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - authorizationDetails = append(authorizationDetails, management.ResourceServerAuthorizationDetails{ - Type: value.String(cfg.GetAttr("type")), - }) - - return stop - }) - - if len(authorizationDetails) == 0 { - return nil - } - - return &authorizationDetails -} - -func isTokenEncryptionNull(data *schema.ResourceData) bool { - if !data.IsNewResource() && !data.HasChange("token_encryption") { - return false - } - empty := true - - config := data.GetRawConfig().GetAttr("token_encryption") - if config.IsNull() || config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - disable := cfg.GetAttr("disable") - if !disable.IsNull() && disable.True() { - stop = true - } else { - empty = false - } - return stop - }) { - // We forced an early return because it was disabled. - return true - } - - return empty -} - -func expandTokenEncryption(data *schema.ResourceData) *management.ResourceServerTokenEncryption { - if !data.IsNewResource() && !data.HasChange("token_encryption") { - return nil - } else if isTokenEncryptionNull(data) { - return nil - } - - var tokenEncryption management.ResourceServerTokenEncryption - - config := data.GetRawConfig().GetAttr("token_encryption") - config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - tokenEncryption.Format = value.String(cfg.GetAttr("format")) - tokenEncryption.EncryptionKey = expandTokenEncryptionKey(cfg.GetAttr("encryption_key")) - return stop - }) - - if tokenEncryption == (management.ResourceServerTokenEncryption{}) { - return nil - } - - return &tokenEncryption -} - -func expandTokenEncryptionKey(config cty.Value) *management.ResourceServerTokenEncryptionKey { - if config.IsNull() { - return nil - } - - var tokenEncryptionKey management.ResourceServerTokenEncryptionKey - - config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - tokenEncryptionKey.Name = value.String(cfg.GetAttr("name")) - tokenEncryptionKey.Alg = value.String(cfg.GetAttr("algorithm")) - tokenEncryptionKey.Kid = value.String(cfg.GetAttr("kid")) - tokenEncryptionKey.Pem = value.String(cfg.GetAttr("pem")) - return stop - }) - - if tokenEncryptionKey == (management.ResourceServerTokenEncryptionKey{}) { - return nil - } - - return &tokenEncryptionKey -} - -func isProofOfPossessionNull(data *schema.ResourceData) bool { - if !data.IsNewResource() && !data.HasChange("proof_of_possession") { - return false - } - empty := true - - config := data.GetRawConfig().GetAttr("proof_of_possession") - if config.IsNull() || config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - disable := cfg.GetAttr("disable") - if !disable.IsNull() && disable.True() { - stop = true - } else { - empty = false - } - return stop - }) { - // We forced an early return because it was disabled. - return true - } - - return empty -} - -func expandProofOfPossession(data *schema.ResourceData) *management.ResourceServerProofOfPossession { - if !data.IsNewResource() && !data.HasChange("proof_of_possession") { - return nil - } else if isProofOfPossessionNull(data) { - return nil - } - - var proofOfPossession management.ResourceServerProofOfPossession - - config := data.GetRawConfig().GetAttr("proof_of_possession") - config.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - proofOfPossession.Mechanism = value.String(cfg.GetAttr("mechanism")) - proofOfPossession.Required = value.Bool(cfg.GetAttr("required")) - return stop - }) - - if proofOfPossession == (management.ResourceServerProofOfPossession{}) { - return nil - } - - return &proofOfPossession -} - -func resourceServerIsAuth0ManagementAPI(state cty.Value) bool { - if state.IsNull() { - return false - } - - return state.GetAttr("name").AsString() == auth0ManagementAPIName -} diff --git a/internal/auth0/resourceserver/flatten.go b/internal/auth0/resourceserver/flatten.go deleted file mode 100644 index 25512dee1..000000000 --- a/internal/auth0/resourceserver/flatten.go +++ /dev/null @@ -1,142 +0,0 @@ -package resourceserver - -import ( - "github.com/auth0/go-auth0/management" - "github.com/hashicorp/go-multierror" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" -) - -func flattenResourceServer(data *schema.ResourceData, resourceServer *management.ResourceServer) error { - result := multierror.Append( - data.Set("name", resourceServer.GetName()), - data.Set("identifier", resourceServer.GetIdentifier()), - data.Set("token_lifetime", resourceServer.GetTokenLifetime()), - data.Set("allow_offline_access", resourceServer.GetAllowOfflineAccess()), - data.Set("token_lifetime_for_web", resourceServer.GetTokenLifetimeForWeb()), - data.Set("signing_alg", resourceServer.GetSigningAlgorithm()), - data.Set("signing_secret", resourceServer.GetSigningSecret()), - data.Set( - "skip_consent_for_verifiable_first_party_clients", - resourceServer.GetSkipConsentForVerifiableFirstPartyClients(), - ), - data.Set("consent_policy", flattenConsentPolicy(resourceServer.ConsentPolicy)), - data.Set("authorization_details", flattenAuthorizationDetails(resourceServer.GetAuthorizationDetails())), - data.Set("token_encryption", flattenTokenEncryption(data, resourceServer.GetTokenEncryption())), - data.Set("proof_of_possession", flattenProofOfPossession(resourceServer.GetProofOfPossession())), - ) - if resourceServer.GetName() != auth0ManagementAPIName { - result = multierror.Append( - result, - data.Set("verification_location", resourceServer.GetVerificationLocation()), - data.Set("enforce_policies", resourceServer.GetEnforcePolicies()), - data.Set("token_dialect", resourceServer.GetTokenDialect()), - ) - } - - return result.ErrorOrNil() -} - -func flattenResourceServerForDataSource(data *schema.ResourceData, resourceServer *management.ResourceServer) error { - result := multierror.Append( - flattenResourceServer(data, resourceServer), - data.Set("verification_location", resourceServer.GetVerificationLocation()), - data.Set("enforce_policies", resourceServer.GetEnforcePolicies()), - data.Set("token_dialect", resourceServer.GetTokenDialect()), - data.Set("scopes", flattenResourceServerScopesSlice(resourceServer.GetScopes())), - ) - - return result.ErrorOrNil() -} - -func flattenResourceServerScopes(data *schema.ResourceData, resourceServer *management.ResourceServer) error { - result := multierror.Append( - data.Set("resource_server_identifier", resourceServer.GetIdentifier()), - data.Set("scopes", flattenResourceServerScopesSlice(resourceServer.GetScopes())), - ) - - return result.ErrorOrNil() -} - -func flattenResourceServerScopesSlice(resourceServerScopes []management.ResourceServerScope) []map[string]interface{} { - scopes := make([]map[string]interface{}, len(resourceServerScopes)) - - for index, scope := range resourceServerScopes { - scopes[index] = map[string]interface{}{ - "name": scope.GetValue(), - "description": scope.GetDescription(), - } - } - - return scopes -} - -func flattenConsentPolicy(consentPolicy *string) string { - if consentPolicy == nil { - return "null" - } - return *consentPolicy -} - -func flattenAuthorizationDetails(authorizationDetails []management.ResourceServerAuthorizationDetails) []map[string]interface{} { - if authorizationDetails == nil { - return []map[string]interface{}{ - { - "disable": true, - }, - } - } - results := make([]map[string]interface{}, len(authorizationDetails)) - - for index, item := range authorizationDetails { - results[index] = map[string]interface{}{ - "type": item.GetType(), - } - } - - return results -} - -func flattenTokenEncryption(data *schema.ResourceData, tokenEncryption *management.ResourceServerTokenEncryption) []map[string]interface{} { - if tokenEncryption == nil { - return []map[string]interface{}{ - { - "disable": true, - }, - } - } - result := map[string]interface{}{ - "format": tokenEncryption.GetFormat(), - } - encryptionKey := tokenEncryption.GetEncryptionKey() - if encryptionKey == nil { - result["encryption_key"] = nil - } else { - result["encryption_key"] = []map[string]interface{}{ - { - "name": encryptionKey.GetName(), - "algorithm": encryptionKey.GetAlg(), - "kid": encryptionKey.GetKid(), - // This one doesn't get read back, so we have to get it from the state. - "pem": data.Get("token_encryption.0.encryption_key.0.pem"), - }, - } - } - - return []map[string]interface{}{result} -} - -func flattenProofOfPossession(proofOfPossession *management.ResourceServerProofOfPossession) []map[string]interface{} { - if proofOfPossession == nil { - return []map[string]interface{}{ - { - "disable": true, - }, - } - } - result := map[string]interface{}{ - "mechanism": proofOfPossession.GetMechanism(), - "required": proofOfPossession.GetRequired(), - } - - return []map[string]interface{}{result} -} diff --git a/internal/auth0/resourceserver/resource.go b/internal/auth0/resourceserver/resource.go deleted file mode 100644 index c696313aa..000000000 --- a/internal/auth0/resourceserver/resource.go +++ /dev/null @@ -1,437 +0,0 @@ -package resourceserver - -import ( - "context" - "fmt" - "net/http" - "time" - - "github.com/hashicorp/go-cty/cty" - "github.com/hashicorp/go-multierror" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - - "github.com/auth0/go-auth0/management" - - "github.com/auth0/terraform-provider-auth0/internal/config" - internalError "github.com/auth0/terraform-provider-auth0/internal/error" -) - -const auth0ManagementAPIName = "Auth0 Management API" - -// NewResource will return a new auth0_resource_server resource. -func NewResource() *schema.Resource { - return &schema.Resource{ - CreateContext: createResourceServer, - ReadContext: readResourceServer, - UpdateContext: updateResourceServer, - DeleteContext: deleteResourceServer, - CustomizeDiff: validateResourceServer, - Importer: &schema.ResourceImporter{ - StateContext: schema.ImportStatePassthroughContext, - }, - Description: "With this resource, you can set up APIs that can be consumed from your authorized applications.", - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Optional: true, - Description: "Friendly name for the resource server. Cannot include `<` or `>` characters.", - }, - "identifier": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - Description: "Unique identifier for the resource server. Used as the audience parameter " + - "for authorization calls. Cannot be changed once set.", - }, - "signing_alg": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "HS256", - "RS256", - "PS256", - }, true), - Description: "Algorithm used to sign JWTs. Options include `HS256`, `RS256`, and `PS256`.", - }, - "signing_secret": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: func(i interface{}, k string) (s []string, es []error) { - v, ok := i.(string) - if !ok { - es = append(es, fmt.Errorf("expected type of %s to be string", k)) - return - } - minLength := 16 - if len(v) < minLength { - es = append(es, fmt.Errorf("expected length of %s to be at least %d, %q is %d", k, minLength, v, len(v))) - } - return - }, - Description: "Secret used to sign tokens when using symmetric algorithms (HS256).", - }, - "allow_offline_access": { - Type: schema.TypeBool, - Optional: true, - Description: "Indicates whether refresh tokens can be issued for this resource server.", - }, - "token_lifetime": { - Type: schema.TypeInt, - Optional: true, - Computed: true, - Description: "Number of seconds during which access tokens issued for this resource server " + - "from the token endpoint remain valid.", - }, - "token_lifetime_for_web": { - Type: schema.TypeInt, - Optional: true, - Computed: true, - Description: "Number of seconds during which access tokens issued for this resource server via " + - "implicit or hybrid flows remain valid. Cannot be greater than the `token_lifetime` value.", - }, - "skip_consent_for_verifiable_first_party_clients": { - Type: schema.TypeBool, - Optional: true, - Computed: true, - Description: "Indicates whether to skip user consent for applications flagged as first party.", - }, - "verification_location": { - Type: schema.TypeString, - Optional: true, - Description: "URL from which to retrieve JWKs for this resource server. " + - "Used for verifying the JWT sent to Auth0 for token introspection.", - }, - "enforce_policies": { - Type: schema.TypeBool, - Computed: true, - Optional: true, - Description: "If this setting is enabled, RBAC authorization policies will be enforced for this API. " + - "Role and permission assignments will be evaluated during the login transaction.", - }, - "token_dialect": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "access_token", - "access_token_authz", - "rfc9068_profile", - "rfc9068_profile_authz", - }, true), - Description: "Dialect of access tokens that should be issued for this resource server. " + - "Options include `access_token`, `rfc9068_profile`, `access_token_authz`, and `rfc9068_profile_authz`. " + - "`access_token` is a JWT containing standard Auth0 claims. `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. " + - "`access_token_authz` is a JWT containing standard Auth0 claims, including RBAC permissions claims. `rfc9068_profile_authz` is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. " + - "RBAC permissions claims are available if RBAC (`enforce_policies`) is enabled for this API. " + - "For more details, refer to [Access Token Profiles](https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles).", - }, - "consent_policy": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "transactional-authorization-with-mfa", - "null", - }, true), - Description: "Consent policy for this resource server. " + - "Options include `transactional-authorization-with-mfa`, or `null` to disable.", - }, - "authorization_details": { - Type: schema.TypeList, - Optional: true, - Computed: true, - Description: "Authorization details for this resource server.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "type": { - Type: schema.TypeString, - Optional: true, - Description: "Type of authorization details.", - }, - "disable": { - Type: schema.TypeBool, - Optional: true, - Description: "Disable authorization details.", - }, - }, - }, - }, - "token_encryption": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Description: "Configuration for JSON Web Encryption(JWE) of tokens for this resource server.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "format": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "compact-nested-jwe", - }, true), - RequiredWith: []string{"token_encryption.0.encryption_key"}, - Description: "Format of the token encryption. " + - "Only `compact-nested-jwe` is supported.", - }, - "encryption_key": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - RequiredWith: []string{"token_encryption.0.format"}, - Description: "Authorization details for this resource server.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Optional: true, - Computed: true, - Description: "Name of the encryption key.", - }, - "algorithm": { - Type: schema.TypeString, - Required: true, - Description: "Algorithm used to encrypt the token.", - }, - "kid": { - Type: schema.TypeString, - Optional: true, - Computed: true, - Description: "Key ID.", - }, - "pem": { - Type: schema.TypeString, - Required: true, - Description: "PEM-formatted public key. Must be JSON escaped.", - }, - }, - }, - }, - "disable": { - Type: schema.TypeBool, - Optional: true, - Description: "Disable token encryption.", - }, - }, - }, - }, - "proof_of_possession": { - Type: schema.TypeList, - Optional: true, - Computed: true, - MaxItems: 1, - Description: "Configuration settings for proof-of-possession for this resource server.", - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "mechanism": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validation.StringInSlice([]string{ - "mtls", - }, true), - Description: "Mechanism used for proof-of-possession. " + - "Only `mtls` is supported.", - }, - "required": { - Type: schema.TypeBool, - Optional: true, - Computed: true, - Description: "Indicates whether proof-of-possession is required with this resource server.", - }, - "disable": { - Type: schema.TypeBool, - Optional: true, - Description: "Disable proof-of-possession.", - }, - }, - }, - }, - }, - } -} - -func createResourceServer(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServer := expandResourceServer(data) - - if err := api.ResourceServer.Create(ctx, resourceServer); err != nil { - return diag.FromErr(err) - } - - data.SetId(resourceServer.GetID()) - - if err := fixNullableAttributes(ctx, data, api); err != nil { - return diag.FromErr(err) - } - time.Sleep(200 * time.Millisecond) - - return readResourceServer(ctx, data, meta) -} - -func updateResourceServer(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServer := expandResourceServer(data) - - if err := api.ResourceServer.Update(ctx, data.Id(), resourceServer); err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - if err := fixNullableAttributes(ctx, data, api); err != nil { - return diag.FromErr(err) - } - time.Sleep(200 * time.Millisecond) - - return readResourceServer(ctx, data, meta) -} - -func validateResourceServer(_ context.Context, diff *schema.ResourceDiff, _ interface{}) error { - var result *multierror.Error - - authorizationDetailsConfig := diff.GetRawConfig().GetAttr("authorization_details") - if !authorizationDetailsConfig.IsNull() { - disable := false - found := false - - authorizationDetailsConfig.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - if !cfg.GetAttr("disable").IsNull() && cfg.GetAttr("disable").True() { - disable = true - } - if !cfg.GetAttr("type").IsNull() { - found = true - } - return stop - }) - if disable && found { - result = multierror.Append( - result, - fmt.Errorf("only one of disable and type should be set in the authorization_details block"), - ) - } - } - - tokenEncryptionConfig := diff.GetRawConfig().GetAttr("token_encryption") - if !tokenEncryptionConfig.IsNull() { - disable := false - found := false - - tokenEncryptionConfig.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - if !cfg.GetAttr("disable").IsNull() && cfg.GetAttr("disable").True() { - disable = true - } - if !cfg.GetAttr("format").IsNull() { - found = true - } - if !cfg.GetAttr("encryption_key").IsNull() && cfg.GetAttr("encryption_key").LengthInt() > 0 { - found = true - } - return stop - }) - if disable && found { - result = multierror.Append( - result, - fmt.Errorf("only one of disable and format or encryption_key should be set in the token_encryption blocks"), - ) - } - } - - proofOfPossessionConfig := diff.GetRawConfig().GetAttr("proof_of_possession") - if !proofOfPossessionConfig.IsNull() { - disable := false - found := false - - proofOfPossessionConfig.ForEachElement(func(_ cty.Value, cfg cty.Value) (stop bool) { - if !cfg.GetAttr("disable").IsNull() && cfg.GetAttr("disable").True() { - disable = true - } - if !cfg.GetAttr("mechanism").IsNull() { - found = true - } - if !cfg.GetAttr("required").IsNull() && cfg.GetAttr("required").True() { - found = true - } - return stop - }) - if disable && found { - result = multierror.Append( - result, - fmt.Errorf("only one of disable and mechanism or required should be set in the proof_of_possession block"), - ) - } - } - - return result.ErrorOrNil() -} - -func fixNullableAttributes(ctx context.Context, data *schema.ResourceData, api *management.Management) error { - if isConsentPolicyNull(data) { - if err := api.Request(ctx, http.MethodPatch, api.URI("resource-servers", data.Id()), map[string]interface{}{ - "consent_policy": nil, - }); err != nil { - return err - } - } - - if isAuthorizationDetailsNull(data) { - if err := api.Request(ctx, http.MethodPatch, api.URI("resource-servers", data.Id()), map[string]interface{}{ - "authorization_details": nil, - }); err != nil { - return err - } - } - - if isTokenEncryptionNull(data) { - if err := api.Request(ctx, http.MethodPatch, api.URI("resource-servers", data.Id()), map[string]interface{}{ - "token_encryption": nil, - }); err != nil { - return err - } - } - - if isProofOfPossessionNull(data) { - if err := api.Request(ctx, http.MethodPatch, api.URI("resource-servers", data.Id()), map[string]interface{}{ - "proof_of_possession": nil, - }); err != nil { - return err - } - } - - return nil -} - -func readResourceServer(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServer, err := api.ResourceServer.Read(ctx, data.Id()) - if err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - // Ensuring the ID is the resource server ID and not the identifier, - // as both can be used to find a resource server with the Read() func. - data.SetId(resourceServer.GetID()) - - return diag.FromErr(flattenResourceServer(data, resourceServer)) -} - -func deleteResourceServer(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - if resourceServerIsAuth0ManagementAPI(data.GetRawState()) { - return nil - } - - api := meta.(*config.Config).GetAPI() - - if err := api.ResourceServer.Delete(ctx, data.Id()); err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - return nil -} diff --git a/internal/auth0/resourceserver/resource_scope.go b/internal/auth0/resourceserver/resource_scope.go deleted file mode 100644 index 7356816de..000000000 --- a/internal/auth0/resourceserver/resource_scope.go +++ /dev/null @@ -1,185 +0,0 @@ -package resourceserver - -import ( - "context" - - "github.com/auth0/go-auth0/management" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - "github.com/auth0/terraform-provider-auth0/internal/config" - internalError "github.com/auth0/terraform-provider-auth0/internal/error" - internalSchema "github.com/auth0/terraform-provider-auth0/internal/schema" -) - -// NewScopeResource will return a new auth0_connection_client resource. -func NewScopeResource() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "scope": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - Description: "Name of the scope (permission).", - }, - "resource_server_identifier": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - Description: "Identifier of the resource server that the scope (permission) is associated with.", - }, - "description": { - Type: schema.TypeString, - Optional: true, - Description: "Description of the scope (permission).", - }, - }, - CreateContext: createResourceServerScope, - UpdateContext: updateResourceServerScope, - ReadContext: readResourceServerScope, - DeleteContext: deleteResourceServerScope, - Importer: &schema.ResourceImporter{ - StateContext: internalSchema.ImportResourceGroupID("resource_server_identifier", "scope"), - }, - Description: "With this resource, you can manage scopes (permissions) associated with a resource server (API).", - } -} - -func createResourceServerScope(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServerIdentifier := data.Get("resource_server_identifier").(string) - scope := data.Get("scope").(string) - description := data.Get("description").(string) - - mutex := meta.(*config.Config).GetMutex() - mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. - defer mutex.Unlock(resourceServerIdentifier) - - existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) - if err != nil { - return diag.FromErr(err) - } - - internalSchema.SetResourceGroupID(data, resourceServerIdentifier, scope) - - for _, apiScope := range existingAPI.GetScopes() { - if apiScope.GetValue() == scope { - return readResourceServerScope(ctx, data, meta) - } - } - - scopes := append(existingAPI.GetScopes(), management.ResourceServerScope{ - Value: &scope, - Description: &description, - }) - resourceServer := management.ResourceServer{ - Scopes: &scopes, - } - - if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, &resourceServer); err != nil { - return diag.FromErr(err) - } - - return readResourceServerScope(ctx, data, meta) -} - -func updateResourceServerScope(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServerIdentifier := data.Get("resource_server_identifier").(string) - scope := data.Get("scope").(string) - newDescription := data.Get("description").(string) - - mutex := meta.(*config.Config).GetMutex() - mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. - defer mutex.Unlock(resourceServerIdentifier) - - existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) - if err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - updatedScopes := make([]management.ResourceServerScope, 0) - - found := false - for _, existingScope := range existingAPI.GetScopes() { - updated := existingScope - if existingScope.GetValue() == scope { - found = true - updated.Description = &newDescription - } - updatedScopes = append(updatedScopes, updated) - } - - if !found { - data.SetId("") - return nil - } - - if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, &management.ResourceServer{ - Scopes: &updatedScopes, - }); err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - internalSchema.SetResourceGroupID(data, resourceServerIdentifier, scope) - - return readResourceServerScope(ctx, data, meta) -} - -func readResourceServerScope(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServerID := data.Get("resource_server_identifier").(string) - scope := data.Get("scope").(string) - - existingAPI, err := api.ResourceServer.Read(ctx, resourceServerID) - if err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - for _, existingScope := range existingAPI.GetScopes() { - if existingScope.GetValue() == scope { - return diag.FromErr(data.Set("description", existingScope.GetDescription())) - } - } - - data.SetId("") - return nil -} - -func deleteResourceServerScope(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServerIdentifier := data.Get("resource_server_identifier").(string) - scope := data.Get("scope").(string) - - mutex := meta.(*config.Config).GetMutex() - mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. - defer mutex.Unlock(resourceServerIdentifier) - - existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) - if err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - updateScopes := make([]management.ResourceServerScope, 0) - for _, existingScope := range existingAPI.GetScopes() { - if existingScope.GetValue() != scope { - updateScopes = append(updateScopes, existingScope) - } - } - - if err := api.ResourceServer.Update( - ctx, - resourceServerIdentifier, - &management.ResourceServer{ - Scopes: &updateScopes, - }, - ); err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - return nil -} diff --git a/internal/auth0/resourceserver/resource_scopes.go b/internal/auth0/resourceserver/resource_scopes.go deleted file mode 100644 index d7f4efe0e..000000000 --- a/internal/auth0/resourceserver/resource_scopes.go +++ /dev/null @@ -1,153 +0,0 @@ -package resourceserver - -import ( - "context" - "fmt" - - "github.com/auth0/go-auth0/management" - "github.com/google/go-cmp/cmp" - "github.com/hashicorp/terraform-plugin-sdk/v2/diag" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - - "github.com/auth0/terraform-provider-auth0/internal/config" - internalError "github.com/auth0/terraform-provider-auth0/internal/error" -) - -// NewScopesResource will return a new auth0_resource_server_scopes (1:many) resource. -func NewScopesResource() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "resource_server_identifier": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - Description: "Identifier of the resource server that the scopes (permission) are associated with.", - }, - "scopes": { - Type: schema.TypeSet, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "name": { - Type: schema.TypeString, - Required: true, - Description: "Name of the scope (permission). Examples include " + - "`read:appointments` or `delete:appointments`.", - }, - "description": { - Type: schema.TypeString, - Optional: true, - Description: "User-friendly description of the scope (permission).", - }, - }, - }, - }, - }, - CreateContext: createResourceServerScopes, - ReadContext: readResourceServerScopes, - UpdateContext: updateResourceServerScopes, - DeleteContext: deleteResourceServerScopes, - Importer: &schema.ResourceImporter{ - StateContext: schema.ImportStatePassthroughContext, - }, - Description: "With this resource, you can manage scopes (permissions) associated with a resource server (API).", - } -} - -func createResourceServerScopes(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServerIdentifier := data.Get("resource_server_identifier").(string) - - existingResourceServer, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) - if err != nil { - return diag.FromErr(err) - } - - updatedResourceServer := &management.ResourceServer{ - Scopes: expandResourceServerScopes(data.GetRawConfig().GetAttr("scopes")), - } - - if diagnostics := guardAgainstErasingUnwantedScopes( - existingResourceServer.GetIdentifier(), - existingResourceServer.GetScopes(), - updatedResourceServer.GetScopes(), - ); diagnostics.HasError() { - data.SetId("") - return diagnostics - } - - if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, updatedResourceServer); err != nil { - return diag.FromErr(err) - } - - data.SetId(resourceServerIdentifier) - - return readResourceServerScopes(ctx, data, meta) -} - -func readResourceServerScopes(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServer, err := api.ResourceServer.Read(ctx, data.Id()) - if err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - return diag.FromErr(flattenResourceServerScopes(data, resourceServer)) -} - -func updateResourceServerScopes(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServerIdentifier := data.Get("resource_server_identifier").(string) - - updatedResourceServer := &management.ResourceServer{ - Scopes: expandResourceServerScopes(data.GetRawConfig().GetAttr("scopes")), - } - - if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, updatedResourceServer); err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - return readResourceServerScopes(ctx, data, meta) -} - -func deleteResourceServerScopes(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { - api := meta.(*config.Config).GetAPI() - - resourceServer := &management.ResourceServer{ - Scopes: &[]management.ResourceServerScope{}, - } - - if err := api.ResourceServer.Update(ctx, data.Id(), resourceServer); err != nil { - return diag.FromErr(internalError.HandleAPIError(data, err)) - } - - return nil -} - -func guardAgainstErasingUnwantedScopes( - apiIdentifier string, - apiScopes []management.ResourceServerScope, - configScopes []management.ResourceServerScope, -) diag.Diagnostics { - if len(apiScopes) == 0 { - return nil - } - - if cmp.Equal(configScopes, apiScopes) { - return nil - } - - return diag.Diagnostics{ - diag.Diagnostic{ - Severity: diag.Error, - Summary: "Resource Server with non empty scopes", - Detail: cmp.Diff(configScopes, apiScopes) + - fmt.Sprintf("\nThe resource server already has scopes attached to it. "+ - "Import the resource instead in order to proceed with the changes. "+ - "Run: 'terraform import auth0_resource_server_scopes. %s'.", apiIdentifier), - }, - } -} diff --git a/internal/auth0/role/data_source_test.go b/internal/auth0/role/data_source_test.go index 8dabd47c3..154b2d638 100644 --- a/internal/auth0/role/data_source_test.go +++ b/internal/auth0/role/data_source_test.go @@ -113,7 +113,7 @@ data "auth0_role" "test" { func TestAccDataSourceRoleRequiredArguments(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: `data "auth0_role" "test" { }`, diff --git a/internal/auth0/selfserviceprofile/data_source_test.go b/internal/auth0/selfserviceprofile/data_source_test.go index f918831d9..c1b3098d0 100644 --- a/internal/auth0/selfserviceprofile/data_source_test.go +++ b/internal/auth0/selfserviceprofile/data_source_test.go @@ -50,7 +50,7 @@ data "auth0_self_service_profile" "my_profile" { func TestSelfServiceDataSourceResourceRequiredId(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: testDataResourceWithoutID, diff --git a/internal/auth0/user/resource_test.go b/internal/auth0/user/resource_test.go index 2896d8947..cd7b0b187 100644 --- a/internal/auth0/user/resource_test.go +++ b/internal/auth0/user/resource_test.go @@ -13,7 +13,7 @@ import ( func TestAccUserMissingRequiredParams(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: "resource auth0_user user {}", diff --git a/internal/config/config.go b/internal/config/config.go index 372f19ce5..fe1bae50e 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -7,6 +7,7 @@ import ( "fmt" "net/http" "net/url" + "os" "regexp" "strconv" "time" @@ -14,10 +15,13 @@ import ( "github.com/PuerkitoBio/rehttp" "github.com/auth0/go-auth0" "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-framework/provider" + "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/meta" + frameworkError "github.com/auth0/terraform-provider-auth0/internal/framework/error" "github.com/auth0/terraform-provider-auth0/internal/mutex" ) @@ -25,8 +29,8 @@ const providerName = "Terraform-Provider-Auth0" // #nosec G101 var version = "dev" -// Config is the type used for the -// *schema.Provider meta parameter. +// Config is the type used for the *schema.Provider meta parameter +// and the framework ResourceData and DatasourceData parameters. type Config struct { api *management.Management mutex *mutex.KeyValue @@ -50,6 +54,11 @@ func (c *Config) GetMutex() *mutex.KeyValue { return c.mutex } +// GetProviderVersion fetches the build version of the provider. +func GetProviderVersion() string { + return version +} + // ConfigureProvider will configure the *schema.Provider so that // *management.Management client and *mutex.KeyValue is stored // and passed into the subsequent resources as the meta parameter. @@ -73,7 +82,8 @@ func ConfigureProvider(terraformVersion *string) schema.ConfigureContextFunc { } } - apiClient, err := management.New(domain, + apiClient, err := management.New( + domain, authenticationOption(clientID, clientSecret, apiToken, audience), management.WithDebug(debug), management.WithUserAgent(userAgent(terraformVersion)), @@ -89,6 +99,71 @@ func ConfigureProvider(terraformVersion *string) schema.ConfigureContextFunc { } } +// FrameworkProviderModel is the data model for our framework provider. +type FrameworkProviderModel struct { + Domain types.String `tfsdk:"domain"` + Audience types.String `tfsdk:"audience"` + ClientID types.String `tfsdk:"client_id"` + ClientSecret types.String `tfsdk:"client_secret"` + APIToken types.String `tfsdk:"api_token"` + Debug types.Bool `tfsdk:"debug"` +} + +// ConfigureFrameworkProvider will configure the provider.Provider so that +// *management.Management client and *mutex.KeyValue is stored +// and passed into the subsequent resources Configure method as the ConfigureRequest.ProviderData. +func ConfigureFrameworkProvider() func(context.Context, provider.ConfigureRequest, *provider.ConfigureResponse) { + return func(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse) { + domain := os.Getenv("AUTH0_DOMAIN") + clientID := os.Getenv("AUTH0_CLIENT_ID") + clientSecret := os.Getenv("AUTH0_CLIENT_SECRET") + apiToken := os.Getenv("AUTH0_API_TOKEN") + audience := os.Getenv("AUTH0_AUDIENCE") + debugStr := os.Getenv("AUTH0_DEBUG") + debug := (debugStr == "1" || debugStr == "true" || debugStr == "TRUE" || debugStr == "on" || debugStr == "ON") + + var data FrameworkProviderModel + response.Diagnostics.Append(request.Config.Get(ctx, &data)...) + + if data.Domain.ValueString() != "" { + domain = data.Domain.ValueString() + } + if data.ClientID.ValueString() != "" { + clientID = data.ClientID.ValueString() + } + if data.ClientSecret.ValueString() != "" { + clientSecret = data.ClientSecret.ValueString() + } + if data.APIToken.ValueString() != "" { + apiToken = data.APIToken.ValueString() + } + if data.Audience.ValueString() != "" { + audience = data.Audience.ValueString() + } + if !data.Debug.IsNull() && !data.Debug.IsUnknown() { + debug = data.Debug.ValueBool() + } + apiClient, err := management.New( + domain, + authenticationOption(clientID, clientSecret, apiToken, audience), + management.WithDebug(debug), + management.WithUserAgent(userAgentFramework(&request.TerraformVersion)), + management.WithAuth0ClientEnvEntry(providerName, version), + management.WithNoRetries(), + management.WithClient(customClientWithRetries()), + ) + if err != nil { + response.Diagnostics.Append(frameworkError.Diagnostics(err)...) + } + + if !response.Diagnostics.HasError() { + config := New(apiClient) + response.ResourceData = config + response.DataSourceData = config + } + } +} + // userAgent computes the desired User-Agent header for the *management.Management client. func userAgent(terraformVersion *string) string { sdkVersion := auth0.Version @@ -106,6 +181,22 @@ func userAgent(terraformVersion *string) string { return userAgent } +// userAgentFramework computes the desired User-Agent header for the +// *management.Management client using the Terraform Framework. +func userAgentFramework(terraformVersion *string) string { + sdkVersion := auth0.Version + + userAgent := fmt.Sprintf( + "%s/%s (Go-Auth0-SDK/%s; Terraform/%s)", + providerName, + version, + sdkVersion, + *terraformVersion, + ) + + return userAgent +} + // authenticationOption computes the desired authentication option for the *management.Management client. func authenticationOption(clientID, clientSecret, apiToken, audience string) management.Option { ctx := context.Background() diff --git a/internal/config/config_test.go b/internal/config/config_test.go index ec3d5e75c..e1d34d4f1 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -2,6 +2,7 @@ package config_test import ( "context" + "os" "testing" "github.com/auth0/go-auth0" @@ -16,6 +17,9 @@ import ( ) func TestConfigureProvider(t *testing.T) { + _ = os.Unsetenv("AUTH0_DOMAIN") + _ = os.Unsetenv("AUTH0_CLIENT_ID") + _ = os.Unsetenv("AUTH0_CLIENT_SECRET") var testCases = []struct { name string givenTerraformConfig map[string]interface{} diff --git a/internal/framework/attr/value/value.go b/internal/framework/attr/value/value.go new file mode 100644 index 000000000..f91073212 --- /dev/null +++ b/internal/framework/attr/value/value.go @@ -0,0 +1,286 @@ +package value + +import ( + "encoding/json" + "time" + + "github.com/hashicorp/terraform-plugin-framework-timetypes/timetypes" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" +) + +// HasChange returns true if the attribute is modified from the previous value. +func HasChange(before, after attr.Value) bool { + if HasValue(before) { + return !HasValue(after) || !before.Equal(after) + } + return HasValue(after) +} + +// HasValue returns returns true if an attribute has a known value. +func HasValue(val attr.Value) bool { + return !val.IsNull() && !val.IsUnknown() +} + +// Bool evaluates the typed value of the value +// and converts to a pointer of a boolean. +func Bool(attrValue attr.Value) *bool { + if attrValue.IsUnknown() { + return nil + } + + return attrValue.(types.Bool).ValueBoolPointer() +} + +// String evaluates the typed value of the value +// and converts to a pointer of a string. +func String(attrValue attr.Value) *string { + if attrValue.IsUnknown() || attrValue.IsNull() { + return nil + } + + var rval string + switch t := attrValue.(type) { + case types.String: + rval = t.ValueString() + default: + rval = attrValue.String() + } + return &rval +} + +// Int evaluates the typed value of the value +// and converts to a pointer of an int. +func Int(attrValue attr.Value) *int { + if attrValue.IsUnknown() || attrValue.IsNull() { + return nil + } + + var rval int + switch t := attrValue.(type) { + case types.Int32: + rval = int(t.ValueInt32()) + case types.Int64: + rval = int(t.ValueInt64()) + case types.Float32: + rval = int(t.ValueFloat32()) + case types.Float64: + rval = int(t.ValueFloat64()) + default: + bigInt, _ := attrValue.(types.Number).ValueBigFloat().Int(nil) + rval = int(bigInt.Int64()) + } + return &rval +} + +// Float64 evaluates the typed value of the value +// and converts to a pointer of a float64. +func Float64(attrValue attr.Value) *float64 { + if attrValue.IsUnknown() || attrValue.IsNull() { + return nil + } + + var rval float64 + switch t := attrValue.(type) { + case types.Int32: + rval = float64(t.ValueInt32()) + case types.Int64: + rval = float64(t.ValueInt64()) + case types.Float32: + rval = float64(t.ValueFloat32()) + case types.Float64: + rval = t.ValueFloat64() + default: + rval, _ = attrValue.(types.Number).ValueBigFloat().Float64() + } + return &rval +} + +// Time evaluates the typed value of the value +// and converts to a pointer of a string, which +// is then converted to a `time.Time` according +// to ISO 3339 (ISO 8601 is largely the same in +// common use cases, see https://ijmacd.github.io/rfc3339-iso8601/ +// for differences). +func Time(attrValue attr.Value) *time.Time { + if attrValue.IsUnknown() || attrValue.IsNull() { + return nil + } + + var rval time.Time + switch t := attrValue.(type) { + case timetypes.RFC3339: + rval, _ = t.ValueRFC3339Time() + default: + rval, _ = time.Parse(time.RFC3339, attrValue.String()) + } + return &rval +} + +// Strings evaluates the typed value of the value +// and converts to a pointer of a slice of strings. +func Strings(attrValue attr.Value) *[]string { + if attrValue.IsNull() || attrValue.IsUnknown() { + return nil + } + + var elements []attr.Value + switch t := attrValue.(type) { + case types.Set: + elements = t.Elements() + default: + elements = attrValue.(types.List).Elements() + } + + rval := make([]string, 0, len(elements)) + for _, element := range elements { + rval = append(rval, element.String()) + } + return &rval +} + +// MapOfStrings evaluates the typed value of the value +// and converts to a pointer of a map of strings. +func MapOfStrings(attrValue attr.Value) *map[string]string { + if attrValue.IsNull() || attrValue.IsUnknown() { + return nil + } + + var elements map[string]attr.Value + switch t := attrValue.(type) { + case types.Object: + elements = t.Attributes() + default: + elements = attrValue.(types.Map).Elements() + } + + rval := make(map[string]string) + for key, element := range elements { + rval[key] = element.String() + } + return &rval +} + +// MapFromJSON evaluates the typed value of the value +// and converts to a map[string]interface{}. +func MapFromJSON(attrValue attr.Value) (map[string]interface{}, error) { + if attrValue.IsUnknown() || attrValue.IsNull() { + return nil, nil + } + + var rval map[string]interface{} + if err := json.Unmarshal([]byte(attrValue.String()), &rval); err != nil { + return nil, err + } + + return rval, nil +} + +// Difference compares two sets for changes, if any and returns what needs to be added +// and what needs to be removed. +func Difference(before, after attr.Value) ([]attr.Value, []attr.Value, error) { + // Zero the add and rm sets. These may be modified if the diff observed any changes. + toAdd := make([]attr.Value, 0) + toRemove := make([]attr.Value, 0) + + var beforeSet, afterSet []attr.Value + if !before.IsNull() && !before.IsUnknown() { + switch t := before.(type) { + case types.Set: + beforeSet = t.Elements() + default: + beforeSet = before.(types.List).Elements() + } + } + if !after.IsNull() && !after.IsUnknown() { + switch t := after.(type) { + case types.Set: + afterSet = t.Elements() + default: + afterSet = after.(types.List).Elements() + } + } + + for _, item := range beforeSet { + if !contains(afterSet, item) && !contains(toRemove, item) { + toRemove = append(toRemove, item) + } + } + for _, item := range afterSet { + if !contains(beforeSet, item) && !contains(toAdd, item) { + toAdd = append(toAdd, item) + } + } + + return toAdd, toRemove, nil +} + +func contains(set []attr.Value, value attr.Value) bool { + for _, item := range set { + if item.Equal(value) { + return true + } + } + + return false +} + +// AttrBool converts a *bool to a types.Bool value. +func AttrBool(value *bool) types.Bool { + if value == nil { + return basetypes.NewBoolNull() + } + + return basetypes.NewBoolValue(*value) +} + +// AttrString converts a *string to a types.String value. +func AttrString(value *string) types.String { + if value == nil { + return basetypes.NewStringNull() + } + + return basetypes.NewStringValue(*value) +} + +// AttrInt64 converts an *int64, *int32, or *int to a types.Int64 value. +func AttrInt64[T int | int64 | int32](value *T) types.Int64 { + if value == nil { + return basetypes.NewInt64Null() + } + + return basetypes.NewInt64Value(int64(*value)) +} + +// AttrInt32 converts an *int32 to a types.Int64 value. +func AttrInt32(value *int32) types.Int32 { + if value == nil { + return basetypes.NewInt32Null() + } + + return basetypes.NewInt32Value(*value) +} + +// AttrFloat64 converts a *float64 to a types.Float64 value. +func AttrFloat64(value *float64) types.Float64 { + if value == nil { + return basetypes.NewFloat64Null() + } + + return basetypes.NewFloat64Value(*value) +} + +// AttrFloat32 converts a *float32 to a types.Float32 value. +func AttrFloat32(value *float32) types.Float32 { + if value == nil { + return basetypes.NewFloat32Null() + } + + return basetypes.NewFloat32Value(*value) +} + +// AttrTime converts a *time.Time to a timetypes.RFC3339 value. +func AttrTime(value *time.Time) timetypes.RFC3339 { + return timetypes.NewRFC3339TimePointerValue(value) +} diff --git a/internal/framework/auth0/encryptionkeymanager/flatten.go b/internal/framework/auth0/encryptionkeymanager/flatten.go new file mode 100644 index 000000000..3e27b0dac --- /dev/null +++ b/internal/framework/auth0/encryptionkeymanager/flatten.go @@ -0,0 +1,60 @@ +package encryptionkeymanager + +import ( + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-framework-timetypes/timetypes" + "github.com/hashicorp/terraform-plugin-framework/types" +) + +func flattenCustomerProvidedRootKey(rootKey *management.EncryptionKey, wrappingKey *management.WrappingKey, wrappedKey *string, rootKeyResponse customerProvidedRootKeyModel) customerProvidedRootKeyModel { + if rootKey != nil { + rootKeyResponse.KeyID = types.StringValue(rootKey.GetKID()) + rootKeyResponse.ParentKeyID = types.StringValue(rootKey.GetParentKID()) + rootKeyResponse.Type = types.StringValue(rootKey.GetType()) + rootKeyResponse.State = types.StringValue(rootKey.GetState()) + rootKeyResponse.CreatedAt = timetypes.NewRFC3339TimeValue(rootKey.GetCreatedAt()) + rootKeyResponse.UpdatedAt = timetypes.NewRFC3339TimeValue(rootKey.GetUpdatedAt()) + if rootKey.GetState() != "pre-activation" { + rootKeyResponse.PublicWrappingKey = types.StringNull() + rootKeyResponse.WrappingAlgorithm = types.StringNull() + } + } + if wrappingKey != nil { + rootKeyResponse.PublicWrappingKey = types.StringValue(wrappingKey.GetPublicKey()) + rootKeyResponse.WrappingAlgorithm = types.StringValue(wrappingKey.GetAlgorithm()) + } + if wrappedKey != nil { + rootKeyResponse.WrappedKey = types.StringValue(*wrappedKey) + } + + return rootKeyResponse +} + +func flattenEncryptionKeys(keys []*management.EncryptionKey) []encryptionKeyModel { + flattenedKeys := make([]encryptionKeyModel, 0, len(keys)) + for _, key := range keys { + flattenedKeys = append(flattenedKeys, flattenKey(key)) + } + + return flattenedKeys +} + +func flattenKey(key *management.EncryptionKey) encryptionKeyModel { + return encryptionKeyModel{ + KeyID: types.StringValue(key.GetKID()), + ParentKeyID: types.StringValue(key.GetParentKID()), + Type: types.StringValue(key.GetType()), + State: types.StringValue(key.GetState()), + CreatedAt: timetypes.NewRFC3339TimeValue(key.GetCreatedAt()), + UpdatedAt: timetypes.NewRFC3339TimeValue(key.GetUpdatedAt()), + } +} + +func getKeyByTypeAndState(keyType, keyState string, keys []*management.EncryptionKey) *management.EncryptionKey { + for _, key := range keys { + if key.GetType() == keyType && key.GetState() == keyState { + return key + } + } + return nil +} diff --git a/internal/framework/auth0/encryptionkeymanager/resource.go b/internal/framework/auth0/encryptionkeymanager/resource.go new file mode 100644 index 000000000..6e6f790ba --- /dev/null +++ b/internal/framework/auth0/encryptionkeymanager/resource.go @@ -0,0 +1,479 @@ +package encryptionkeymanager + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-framework-timetypes/timetypes" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/tfsdk" + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + + "github.com/auth0/go-auth0" + "github.com/auth0/go-auth0/management" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/error" + frameworkError "github.com/auth0/terraform-provider-auth0/internal/framework/error" + "github.com/auth0/terraform-provider-auth0/internal/wait" +) + +type managerResource struct { + cfg *config.Config +} + +type encryptionKeyModel struct { + KeyID types.String `tfsdk:"key_id"` + Type types.String `tfsdk:"type"` + State types.String `tfsdk:"state"` + ParentKeyID types.String `tfsdk:"parent_key_id"` + CreatedAt timetypes.RFC3339 `tfsdk:"created_at"` + UpdatedAt timetypes.RFC3339 `tfsdk:"updated_at"` +} + +type customerProvidedRootKeyModel struct { + encryptionKeyModel + WrappedKey types.String `tfsdk:"wrapped_key"` + PublicWrappingKey types.String `tfsdk:"public_wrapping_key"` + WrappingAlgorithm types.String `tfsdk:"wrapping_algorithm"` +} + +// NewResource will return a new auth0_encryption_key_manager resource. +func NewResource() resource.Resource { + return &managerResource{} +} + +// Configure will be called by the framework to configure the auth0_encryption_key_manager resource. +func (r *managerResource) Configure(_ context.Context, request resource.ConfigureRequest, _ *resource.ConfigureResponse) { + if request.ProviderData != nil { + r.cfg = request.ProviderData.(*config.Config) + } +} + +// Metadata will be called by the framework to get the type name for the auth0_encryption_key_manager resource. +func (r *managerResource) Metadata(_ context.Context, _ resource.MetadataRequest, response *resource.MetadataResponse) { + response.TypeName = "auth0_encryption_key_manager" +} + +// Schema will be called by the framework to get the schema for the auth0_encryption_key_manager resource. +func (r *managerResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse) { + if response != nil { + response.Schema = schema.Schema{ + Description: "A resource for managing the tenant root key.", + MarkdownDescription: "A resource for managing the tenant root key.", + Attributes: map[string]schema.Attribute{ + "key_rotation_id": schema.StringAttribute{ + Optional: true, + Description: "If this value is changed, the encryption keys will be rotated. " + + "A UUID is recommended for the key_rotation_id.", + MarkdownDescription: "If this value is changed, the encryption keys will be rotated. " + + "A UUID is recommended for the `key_rotation_id`.", + }, + "encryption_keys": schema.ListNestedAttribute{ + Computed: true, + Description: "All encryption keys.", + MarkdownDescription: "All encryption keys.", + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "key_id": schema.StringAttribute{ + Computed: true, + Description: "The key ID of the encryption key.", + MarkdownDescription: "The key ID of the customer provided root key.", + }, + "type": schema.StringAttribute{ + Computed: true, + Description: "The type of the encryption key. One of " + + "customer-provided-root-key, environment-root-key, " + + "or tenant-master-key.", + MarkdownDescription: "The type of the encryption key. One of " + + "`customer-provided-root-key`, `environment-root-key`, " + + "or `tenant-master-key`.", + }, + "state": schema.StringAttribute{ + Computed: true, + Description: "The state of the encryption key. One of " + + "pre-activation, active, deactivated, or destroyed.", + MarkdownDescription: "The state of the encryption key. One of " + + "`pre-activation`, `active`, `deactivated`, or `destroyed`.", + }, + "parent_key_id": schema.StringAttribute{ + Computed: true, + Description: "The key ID of the parent wrapping key.", + MarkdownDescription: "The key ID of the parent wrapping key.", + }, + "created_at": schema.StringAttribute{ + Computed: true, + Description: "The ISO 8601 formatted date the customer provided " + + "root key was created.", + MarkdownDescription: "The ISO 8601 formatted date the customer provided " + + "root key was created.", + }, + "updated_at": schema.StringAttribute{ + Computed: true, + Description: "The ISO 8601 formatted date the customer provided " + + "root key was updated.", + MarkdownDescription: "The ISO 8601 formatted date the customer provided " + + "root key was updated.", + }, + }, + }, + }, + }, + Blocks: map[string]schema.Block{ + "customer_provided_root_key": schema.SingleNestedBlock{ + Description: "This attribute is used for provisioning the customer provided " + + "root key. To initiate the provisioning process, create a new empty " + + "customer_provided_root_key block. After applying this, the " + + "public_wrapping_key can be retreived from the resource, and the new root " + + "key should be generated by the customer and wrapped with the wrapping key, " + + "then base64-encoded and added as the wrapped_key attribute.", + MarkdownDescription: "This attribute is used for provisioning the customer provided " + + "root key. To initiate the provisioning process, create a new empty " + + "`customer_provided_root_key` block. After applying this, the " + + "`public_wrapping_key` can be retreived from the resource, and the new root " + + "key should be generated by the customer and wrapped with the wrapping key, " + + "then base64-encoded and added as the `wrapped_key` attribute.", + Attributes: map[string]schema.Attribute{ + "wrapped_key": schema.StringAttribute{ + Optional: true, + Description: "The base64-encoded customer provided root key, " + + "wrapped using the public_wrapping_key. This can be removed " + + "after the wrapped key has been applied.", + MarkdownDescription: "The base64-encoded customer provided root key, " + + "wrapped using the `public_wrapping_key`. This can be removed " + + "after the wrapped key has been applied.", + }, + "public_wrapping_key": schema.StringAttribute{ + Computed: true, + Description: "The public wrapping key in PEM format.", + MarkdownDescription: "The public wrapping key in PEM format.", + }, + "wrapping_algorithm": schema.StringAttribute{ + Computed: true, + Description: "The algorithm that should be used to wrap the " + + "customer provided root key. Should be CKM_RSA_AES_KEY_WRAP.", + MarkdownDescription: "The algorithm that should be used to wrap the " + + "customer provided root key. Should be `CKM_RSA_AES_KEY_WRAP`.", + }, + "key_id": schema.StringAttribute{ + Computed: true, + Description: "The key ID of the customer provided root key.", + MarkdownDescription: "The key ID of the customer provided root key.", + }, + "type": schema.StringAttribute{ + Computed: true, + Description: "The type of the customer provided root key. " + + "Should be customer-provided-root-key.", + MarkdownDescription: "The type of the customer provided root key. " + + "Should be `customer-provided-root-key`.", + }, + "state": schema.StringAttribute{ + Computed: true, + Description: "The state of the encryption key. One of " + + "pre-activation, active, deactivated, or destroyed.", + MarkdownDescription: "The state of the encryption key. One of " + + "`pre-activation`, `active`, `deactivated`, or `destroyed`.", + }, + "parent_key_id": schema.StringAttribute{ + Computed: true, + Description: "The key ID of the parent wrapping key.", + MarkdownDescription: "The key ID of the parent wrapping key.", + }, + "created_at": schema.StringAttribute{ + CustomType: timetypes.RFC3339Type{}, + Computed: true, + Description: "The ISO 8601 formatted date the customer provided " + + "root key was created.", + MarkdownDescription: "The ISO 8601 formatted date the customer provided " + + "root key was created.", + }, + "updated_at": schema.StringAttribute{ + CustomType: timetypes.RFC3339Type{}, + Computed: true, + Description: "The ISO 8601 formatted date the customer provided " + + "root key was updated.", + MarkdownDescription: "The ISO 8601 formatted date the customer provided " + + "root key was updated.", + }, + }, + }, + }, + } + } +} + +// Create will be called by the framework to initialise a new auth0_encryption_key_manager resource. +func (r *managerResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse) { + response.Diagnostics.Append(updateResource(ctx, r.cfg.GetAPI(), request.Plan, response.State, &response.State)...) +} + +// Update will be called by the framework to update an auth0_encryption_key_manager resource. +func (r *managerResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse) { + response.Diagnostics.Append(updateResource(ctx, r.cfg.GetAPI(), request.Plan, request.State, &response.State)...) +} + +func updateResource(ctx context.Context, api *management.Management, requestPlan tfsdk.Plan, requestState tfsdk.State, responseState *tfsdk.State) diag.Diagnostics { + diagnostics := updateKeyRotationID(ctx, api, requestPlan, requestState, responseState) + if diagnostics.HasError() { + return diagnostics + } + + diagnostics = updateCustomerProvidedRootKey(ctx, api, requestPlan, requestState, responseState) + if diagnostics.HasError() { + return diagnostics + } + + diagnostics.Append(readResource(ctx, api, responseState)...) + return diagnostics +} + +func updateKeyRotationID(ctx context.Context, api *management.Management, requestPlan tfsdk.Plan, requestState tfsdk.State, responseState *tfsdk.State) diag.Diagnostics { + var keyRotationIDPlan, keyRotationIDState types.String + var diagnostics diag.Diagnostics + diagnostics.Append(requestPlan.GetAttribute(ctx, path.Root("key_rotation_id"), &keyRotationIDPlan)...) + if diagnostics.HasError() { + return diagnostics + } + + diagnostics.Append(requestState.GetAttribute(ctx, path.Root("key_rotation_id"), &keyRotationIDState)...) + if diagnostics.HasError() { + return diagnostics + } + if !keyRotationIDPlan.Equal(keyRotationIDState) && !keyRotationIDPlan.IsNull() { + diagnostics.Append(frameworkError.Diagnostics(api.EncryptionKey.Rekey(ctx))...) + if diagnostics.HasError() { + return diagnostics + } + } + if !keyRotationIDPlan.Equal(keyRotationIDState) { + diagnostics.Append(responseState.SetAttribute(ctx, path.Root("key_rotation_id"), keyRotationIDPlan)...) + } + return diagnostics +} + +func updateCustomerProvidedRootKey(ctx context.Context, api *management.Management, requestPlan tfsdk.Plan, requestState tfsdk.State, responseState *tfsdk.State) diag.Diagnostics { + var diagnostics diag.Diagnostics + + var rootKeyPlanObject, rootKeyStateObject, rootKeyResponseObject types.Object + var rootKeyPlan, rootKeyState, rootKeyResponse customerProvidedRootKeyModel + diagnostics.Append(requestPlan.GetAttribute(ctx, path.Root("customer_provided_root_key"), &rootKeyPlanObject)...) + diagnostics.Append(responseState.GetAttribute(ctx, path.Root("customer_provided_root_key"), &rootKeyResponseObject)...) + diagnostics.Append(requestState.GetAttribute(ctx, path.Root("customer_provided_root_key"), &rootKeyStateObject)...) + if diagnostics.HasError() { + return diagnostics + } + if !rootKeyPlanObject.IsNull() { + // We have a customer_provided_root_key block in the new plan. + diagnostics.Append(rootKeyPlanObject.As(ctx, &rootKeyPlan, basetypes.ObjectAsOptions{})...) + if diagnostics.HasError() { + return diagnostics + } + } + if !rootKeyResponseObject.IsNull() { + // We have a customer_provided_root_key block in the response. + diagnostics.Append(rootKeyResponseObject.As(ctx, &rootKeyResponse, basetypes.ObjectAsOptions{})...) + if diagnostics.HasError() { + return diagnostics + } + } + if !rootKeyStateObject.IsNull() { + // We had a customer_provided_root_key block previously. + diagnostics.Append(rootKeyStateObject.As(ctx, &rootKeyState, basetypes.ObjectAsOptions{})...) + if diagnostics.HasError() { + return diagnostics + } + + rootKeyID := rootKeyState.KeyID.ValueString() + if rootKeyPlanObject.IsNull() { + // The customer_provided_root_key block is not present, check if there was a key. + if len(rootKeyID) > 0 { + // If it had a value, but the block was removed, remove the key. + diagnostics.Append(frameworkError.Diagnostics(removeKey(ctx, api, rootKeyID))...) + if diagnostics.HasError() { + return diagnostics + } + } + } else { + // We still have a customer_provided_root_key block, check if we have a new wrapped_key. + if rootKeyState.WrappedKey.IsNull() && !rootKeyPlan.WrappedKey.IsNull() { + if len(rootKeyState.PublicWrappingKey.ValueString()) == 0 { + diagnostics.AddError("Error", "The wrapped_key attribute should not be specified in the "+ + "customer_provided_root_key block until after the public_wrapping_key has been generated") + return diagnostics + } + wrappedKey := rootKeyPlan.WrappedKey.ValueString() + diagnostics.Append(frameworkError.Diagnostics(importWrappedKey(ctx, api, auth0.String(rootKeyID), auth0.String(wrappedKey)))...) + if diagnostics.HasError() { + return diagnostics + } + rootKeyResponse = flattenCustomerProvidedRootKey(nil, nil, &wrappedKey, rootKeyResponse) + } + } + } else if !rootKeyPlanObject.IsNull() { + // We did not have a customer_provided_root_key block previously, but now we do. + if !rootKeyPlan.WrappedKey.IsNull() && !rootKeyPlan.WrappedKey.IsUnknown() { + diagnostics.AddError("Error", "The wrapped_key attribute should not be specified in the "+ + "customer_provided_root_key block until after the public_wrapping_key has been generated") + return diagnostics + } + rootKey, wrappingKey, err := createRootKey(ctx, api) + diagnostics.Append(frameworkError.Diagnostics(err)...) + if diagnostics.HasError() { + return diagnostics + } + rootKeyResponse = flattenCustomerProvidedRootKey(rootKey, wrappingKey, nil, rootKeyResponse) + if diagnostics.HasError() { + return diagnostics + } + } + + if !rootKeyPlanObject.IsNull() { + diagnostics.Append(responseState.SetAttribute(ctx, path.Root("customer_provided_root_key"), rootKeyResponse)...) + } else { + diagnostics.Append(responseState.SetAttribute(ctx, path.Root("customer_provided_root_key"), types.ObjectNull(rootKeyPlanObject.AttributeTypes(ctx)))...) + } + + return diagnostics +} + +// Read will be called by the framework to read an auth0_encryption_key_manager resource. +func (r *managerResource) Read(ctx context.Context, _ resource.ReadRequest, response *resource.ReadResponse) { + response.Diagnostics.Append(readResource(ctx, r.cfg.GetAPI(), &response.State)...) +} + +func readResource(ctx context.Context, api *management.Management, responseState *tfsdk.State) diag.Diagnostics { + var diagnostics diag.Diagnostics + encryptionKeys := make([]*management.EncryptionKey, 0) + page := 0 + + for { + encryptionKeyList, err := api.EncryptionKey.List(ctx, management.Page(page), management.PerPage(100)) + if err != nil { + diagnostics.Append(frameworkError.Diagnostics(err)...) + return diagnostics + } + encryptionKeys = append(encryptionKeys, encryptionKeyList.Keys...) + if !encryptionKeyList.HasNext() { + break + } + page++ + } + + var rootKeyResponseObject types.Object + diagnostics.Append(responseState.GetAttribute(ctx, path.Root("customer_provided_root_key"), &rootKeyResponseObject)...) + if diagnostics.HasError() { + return diagnostics + } + if !rootKeyResponseObject.IsNull() { + var rootKeyResponse customerProvidedRootKeyModel + diagnostics.Append(rootKeyResponseObject.As(ctx, &rootKeyResponse, basetypes.ObjectAsOptions{})...) + if diagnostics.HasError() { + return diagnostics + } + // First try to find a key that is going through the activation process. + rootKey := getKeyByTypeAndState("customer-provided-root-key", "pre-activation", encryptionKeys) + + if rootKey == nil { + // If we didn't find one, try to find a key that is already active. + rootKey = getKeyByTypeAndState("customer-provided-root-key", "active", encryptionKeys) + } + + if rootKey != nil { + var rootKeyResponse customerProvidedRootKeyModel + if !rootKeyResponseObject.IsNull() && !rootKeyResponseObject.IsUnknown() { + diagnostics.Append(rootKeyResponseObject.As(ctx, &rootKeyResponse, basetypes.ObjectAsOptions{})...) + if diagnostics.HasError() { + return diagnostics + } + } + diagnostics.Append(responseState.SetAttribute(ctx, path.Root("customer_provided_root_key"), flattenCustomerProvidedRootKey(rootKey, nil, nil, rootKeyResponse))...) + if diagnostics.HasError() { + return diagnostics + } + } + } + + diagnostics.Append(responseState.SetAttribute(ctx, path.Root("encryption_keys"), flattenEncryptionKeys(encryptionKeys))...) + + return diagnostics +} + +func (r *managerResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse) { + api := r.cfg.GetAPI() + var rootKeyRequestObject types.Object + + response.Diagnostics.Append(request.State.GetAttribute(ctx, path.Root("customer_provided_root_key"), &rootKeyRequestObject)...) + if !response.Diagnostics.HasError() && !rootKeyRequestObject.IsNull() { + var rootKeyRequest customerProvidedRootKeyModel + response.Diagnostics.Append(rootKeyRequestObject.As(ctx, &rootKeyRequest, basetypes.ObjectAsOptions{})...) + if !response.Diagnostics.HasError() && len(rootKeyRequest.KeyID.ValueString()) > 0 { + response.Diagnostics.Append(frameworkError.Diagnostics(removeKey(ctx, api, rootKeyRequest.KeyID.ValueString()))...) + } + } +} + +func removeKey(ctx context.Context, api *management.Management, keyID string) error { + if err := api.EncryptionKey.Delete(ctx, keyID); err != nil { + return err + } + + // Wait until the key is actually destroyed. + return wait.Until(200, 10, func() (bool, error) { + key, err := api.EncryptionKey.Read(ctx, keyID) + if err != nil { + return false, err + } + return key.GetState() == "destroyed", nil + }) +} + +func importWrappedKey(ctx context.Context, api *management.Management, keyID, wrappedKey *string) error { + encryptionKey := management.EncryptionKey{ + KID: keyID, + WrappedKey: wrappedKey, + } + if err := api.EncryptionKey.ImportWrappedKey(ctx, &encryptionKey); err != nil { + return err + } + // Wait until the key is actually activated. + return wait.Until(200, 10, func() (bool, error) { + key, err := api.EncryptionKey.Read(ctx, *keyID) + if err != nil { + return false, err + } + return key.GetState() == "active", nil + }) +} + +func createRootKey(ctx context.Context, api *management.Management) (*management.EncryptionKey, *management.WrappingKey, error) { + key := management.EncryptionKey{ + Type: auth0.String("customer-provided-root-key"), + } + if err := api.EncryptionKey.Create(ctx, &key); err != nil { + return nil, nil, err + } + + // Wait until the key is actually available. + err := wait.Until(100, 20, func() (bool, error) { + if _, err := api.EncryptionKey.Read(ctx, key.GetKID()); err != nil { + if internalError.IsStatusNotFound(err) { + return false, nil + } + return false, err + } + return true, nil + }) + if err != nil { + return nil, nil, err + } + + wrappingKey, err := api.EncryptionKey.CreatePublicWrappingKey(ctx, key.GetKID()) + if err != nil { + return nil, nil, err + } + + return &key, wrappingKey, nil +} diff --git a/internal/auth0/encryptionkeymanager/resource_test.go b/internal/framework/auth0/encryptionkeymanager/resource_test.go similarity index 90% rename from internal/auth0/encryptionkeymanager/resource_test.go rename to internal/framework/auth0/encryptionkeymanager/resource_test.go index a95d8ff60..73dfb6d8d 100644 --- a/internal/auth0/encryptionkeymanager/resource_test.go +++ b/internal/framework/auth0/encryptionkeymanager/resource_test.go @@ -80,7 +80,7 @@ resource "auth0_encryption_key_manager" "my_key_manager" { } ` -func TestAccEncryptionKeyManagerRotation(t *testing.T) { +func TestAccFrameworkEncryptionKeyManagerRotation(t *testing.T) { initialKey := make(map[string]string) firstRotationKey := make(map[string]string) secondRotationKey := make(map[string]string) @@ -179,7 +179,7 @@ func TestAccEncryptionKeyManagerRotation(t *testing.T) { }) } -func TestAccEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { +func TestAccFrameworkEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { initialRootKey := make(map[string]string) initialWrappingKey := make(map[string]string) secondRootKey := make(map[string]string) @@ -195,7 +195,7 @@ func TestAccEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { _ = os.Setenv("TF_VAR_WRAPPED_KEY", "bad-key-value") }, Config: testAccEncryptionKeyManagerAddWrappedKey, - ExpectError: regexp.MustCompile(`Error: The wrapped_key attribute should not be specified`), + ExpectError: regexp.MustCompile(`The wrapped_key attribute should not be specified`), }, { Config: testAccEncryptionKeyManagerCreateRootKey, @@ -203,7 +203,6 @@ func TestAccEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { { RefreshState: true, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.#", "1"), extractRootKey("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key", &initialRootKey), extractWrappingKey("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key", &initialWrappingKey), func(_ *terraform.State) error { @@ -227,7 +226,7 @@ func TestAccEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { { Config: testAccEncryptionKeyManagerRemoveRootKey, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.#", "0"), + resource.TestCheckNoResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key"), ), }, { @@ -236,7 +235,6 @@ func TestAccEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { { RefreshState: true, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.#", "1"), extractRootKey("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key", &secondRootKey), extractWrappingKey("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key", &secondWrappingKey), func(_ *terraform.State) error { @@ -280,9 +278,8 @@ func TestAccEncryptionKeyManagerCustomerProvidedRootKey(t *testing.T) { { RefreshState: true, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.#", "1"), - resource.TestCheckResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.0.public_wrapping_key", ""), - resource.TestCheckResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.0.wrapping_algorithm", ""), + resource.TestCheckNoResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.public_wrapping_key"), + resource.TestCheckNoResourceAttr("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key.wrapping_algorithm"), extractRootKey("auth0_encryption_key_manager.my_key_manager", "customer_provided_root_key", &thirdRootKey), func(_ *terraform.State) error { keyID, ok := thirdRootKey["key_id"] @@ -319,14 +316,14 @@ func extractKey(resource, attribute, keyType, keyState string, keyMapPtr *map[st return err } for i := range count { - stateValue, ok := tfResource.Primary.Attributes[keyName(attribute, i, "state")] + stateValue, ok := tfResource.Primary.Attributes[indexedKeyName(attribute, i, "state")] if !ok { return fmt.Errorf("extractKey: failed to find state for attribute with name: %q", attribute) } if stateValue != keyState { continue } - typeValue, ok := tfResource.Primary.Attributes[keyName(attribute, i, "type")] + typeValue, ok := tfResource.Primary.Attributes[indexedKeyName(attribute, i, "type")] if !ok { return fmt.Errorf("extractKey: failed to find type for attribute with name: %q", attribute) } @@ -334,8 +331,8 @@ func extractKey(resource, attribute, keyType, keyState string, keyMapPtr *map[st continue } for key, value := range tfResource.Primary.Attributes { - if strings.HasPrefix(key, keyName(attribute, i, "")) { - foundKey, _ := strings.CutPrefix(key, keyName(attribute, i, "")) + if strings.HasPrefix(key, indexedKeyName(attribute, i, "")) { + foundKey, _ := strings.CutPrefix(key, indexedKeyName(attribute, i, "")) (*keyMapPtr)[foundKey] = value } } @@ -353,15 +350,20 @@ func extractRootKey(resource, attribute string, keyMapPtr *map[string]string) re if !ok { return fmt.Errorf("extractRootKey: failed to find resource with name: %q", resource) } + found := false for key, value := range tfResource.Primary.Attributes { - if strings.HasPrefix(key, keyName(attribute, 0, "")) { - foundKey, _ := strings.CutPrefix(key, keyName(attribute, 0, "")) + if strings.HasPrefix(key, keyName(attribute, "")) { + found = true + foundKey, _ := strings.CutPrefix(key, keyName(attribute, "")) switch foundKey { case "key_id", "parent_key_id", "type", "state", "created_at", "updated_at": (*keyMapPtr)[foundKey] = value } } } + if !found { + return fmt.Errorf("extractRootKey: failed to find resource: %q attribute: %q", resource, attribute) + } return nil } } @@ -374,23 +376,32 @@ func extractWrappingKey(resource, attribute string, keyMapPtr *map[string]string if !ok { return fmt.Errorf("extractWrappingKey: failed to find resource with name: %q", resource) } + found := false for key, value := range tfResource.Primary.Attributes { - if strings.HasPrefix(key, keyName(attribute, 0, "")) { - foundKey, _ := strings.CutPrefix(key, keyName(attribute, 0, "")) + if strings.HasPrefix(key, keyName(attribute, "")) { + found = true + foundKey, _ := strings.CutPrefix(key, keyName(attribute, "")) switch foundKey { case "public_wrapping_key", "wrapping_algorithm": (*keyMapPtr)[foundKey] = value } } } + if !found { + return fmt.Errorf("extractWrappingKey: failed to find resource: %q attribute: %q", resource, attribute) + } return nil } } -func keyName(attribute string, index int, key string) string { +func indexedKeyName(attribute string, index int, key string) string { return fmt.Sprintf("%s.%d.%s", attribute, index, key) } +func keyName(attribute string, key string) string { + return fmt.Sprintf("%s.%s", attribute, key) +} + // Utility methods and constants for wrapping keys. // Constants for wrapping sizes and parameters. diff --git a/internal/framework/auth0/resourceserver/data_source.go b/internal/framework/auth0/resourceserver/data_source.go new file mode 100644 index 000000000..92917ecf8 --- /dev/null +++ b/internal/framework/auth0/resourceserver/data_source.go @@ -0,0 +1,250 @@ +package resourceserver + +import ( + "context" + "net/url" + + "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" + "github.com/hashicorp/terraform-plugin-framework/datasource" + "github.com/hashicorp/terraform-plugin-framework/datasource/schema" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" + "github.com/hashicorp/terraform-plugin-framework/types" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/framework/error" +) + +type dataSourceType struct { + cfg *config.Config +} + +type dataSourceModel struct { + resourceModel + Scopes types.Set `tfsdk:"scopes"` +} + +// NewDataSource will return a new auth0_resource_server data source. +func NewDataSource() datasource.DataSource { + return &dataSourceType{} +} + +// Configure will be called by the framework to configure the auth0_resource_server datasource. +func (r *dataSourceType) Configure(_ context.Context, request datasource.ConfigureRequest, _ *datasource.ConfigureResponse) { + if request.ProviderData != nil { + r.cfg = request.ProviderData.(*config.Config) + } +} + +// Metadata will be called by the framework to get the type name for the auth0_resource_server datasource. +func (r *dataSourceType) Metadata(_ context.Context, _ datasource.MetadataRequest, response *datasource.MetadataResponse) { + response.TypeName = "auth0_resource_server" +} + +// Schema will be called by the framework to get the schema for the auth0_resource_server datasource. +func (r *dataSourceType) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse) { + if response != nil { + response.Schema = schema.Schema{ + Description: "With this datasource, you can set up APIs that can be consumed from your authorized applications.", + Attributes: map[string]schema.Attribute{ + "resource_server_id": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.AtLeastOneOf( + path.MatchRelative().AtParent().AtName("identifier"), + ), + }, + Description: "The ID of the resource server. If not provided, `identifier` must be set.", + }, + "identifier": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.AtLeastOneOf( + path.MatchRelative().AtParent().AtName("resource_server_id"), + ), + }, + Description: "Unique identifier for the resource server. Used as the audience parameter " + + "for authorization calls. If not provided, resource_server_id must be set. ", + MarkdownDescription: "Unique identifier for the resource server. Used as the audience parameter " + + "for authorization calls. If not provided, `resource_server_id` must be set. ", + }, + "scopes": schema.SetNestedAttribute{ + Description: "List of permissions (scopes) used by this resource server.", + Computed: true, + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "name": schema.StringAttribute{ + Computed: true, + Description: "Name of the permission (scope). Examples include read:appointments or delete:appointments.", + MarkdownDescription: "Name of the permission (scope). Examples include `read:appointments` or `delete:appointments`.", + }, + "description": schema.StringAttribute{ + Computed: true, + Description: "Description of the permission (scope).", + }, + }, + }, + }, + "verification_location": schema.StringAttribute{ + Computed: true, + Description: "URL from which to retrieve JWKs for this resource server. " + + "Used for verifying the JWT sent to Auth0 for token introspection.", + }, + "enforce_policies": schema.BoolAttribute{ + Computed: true, + Description: "If this setting is enabled, RBAC authorization policies will be enforced for this API. " + + "Role and permission assignments will be evaluated during the login transaction.", + }, + "token_dialect": schema.StringAttribute{ + Computed: true, + Description: "Dialect of access tokens that should be issued for this resource server. " + + "Options include access_token, rfc9068_profile, access_token_authz, and rfc9068_profile_authz. " + + "access_token is a JWT containing standard Auth0 claims. rfc9068_profile is a JWT conforming to the IETF JWT Access Token Profile. " + + "access_token_authz is a JWT containing standard Auth0 claims, including RBAC permissions claims. rfc9068_profile_authz is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. " + + "RBAC permissions claims are available if RBAC (enforce_policies) is enabled for this API. " + + "For more details, refer to Access Token Profiles(https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles).", + MarkdownDescription: "Dialect of access tokens that should be issued for this resource server. " + + "Options include `access_token`, `rfc9068_profile`, `access_token_authz`, and `rfc9068_profile_authz`. " + + "`access_token` is a JWT containing standard Auth0 claims. `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. " + + "`access_token_authz` is a JWT containing standard Auth0 claims, including RBAC permissions claims. `rfc9068_profile_authz` is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. " + + "RBAC permissions claims are available if RBAC (`enforce_policies`) is enabled for this API. " + + "For more details, refer to [Access Token Profiles](https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles).", + }, + "name": schema.StringAttribute{ + Computed: true, + Description: "Friendly name for the resource server.", + }, + "signing_alg": schema.StringAttribute{ + Computed: true, + Description: "Algorithm used to sign JWTs. Options include HS256, RS256, and PS256.", + MarkdownDescription: "Algorithm used to sign JWTs. Options include `HS256`, `RS256`, and `PS256`.", + }, + "signing_secret": schema.StringAttribute{ + Computed: true, + Description: "Secret used to sign tokens when using symmetric algorithms (HS256).", + }, + "allow_offline_access": schema.BoolAttribute{ + Computed: true, + Description: "Indicates whether refresh tokens can be issued for this resource server.", + }, + "token_lifetime": schema.Int64Attribute{ + Computed: true, + Description: "Number of seconds during which access tokens issued for this resource " + + "server from the token endpoint remain valid.", + }, + "token_lifetime_for_web": schema.Int64Attribute{ + Computed: true, + Description: "Number of seconds during which access tokens issued for this resource server via " + + "implicit or hybrid flows remain valid. Cannot be greater than the token_lifetime value.", + MarkdownDescription: "Number of seconds during which access tokens issued for this resource server via " + + "implicit or hybrid flows remain valid. Cannot be greater than the `token_lifetime` value.", + }, + "skip_consent_for_verifiable_first_party_clients": schema.BoolAttribute{ + Computed: true, + Description: "Indicates whether to skip user consent for applications flagged as first party.", + }, + "consent_policy": schema.StringAttribute{ + Computed: true, + Description: "Consent policy for this resource server. " + + "Options include transactional-authorization-with-mfa, or null to disable.", + MarkdownDescription: "Consent policy for this resource server. " + + "Options include `transactional-authorization-with-mfa`, or `null` to disable.", + }, + "authorization_details": schema.ListNestedAttribute{ + Computed: true, + Description: "Authorization details for this resource server.", + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "type": schema.StringAttribute{ + Computed: true, + Description: "Type of authorization details.", + }, + }, + }, + }, + "token_encryption": schema.SingleNestedAttribute{ + Optional: true, + Description: "Configuration for JSON Web Encryption(JWE) of tokens for this resource server.", + Attributes: map[string]schema.Attribute{ + "format": schema.StringAttribute{ + Computed: true, + Description: "Format of the token encryption. " + + "Only compact-nested-jwe is supported.", + MarkdownDescription: "Format of the token encryption. " + + "Only `compact-nested-jwe` is supported.", + }, + "encryption_key": schema.SingleNestedAttribute{ + Computed: true, + Description: "Authorization details for this resource server.", + Attributes: map[string]schema.Attribute{ + "name": schema.StringAttribute{ + Computed: true, + Description: "Name of the encryption key.", + }, + "kid": schema.StringAttribute{ + Computed: true, + Description: "Key ID.", + }, + "algorithm": schema.StringAttribute{ + Computed: true, + Description: "Algorithm used to encrypt the token.", + }, + "pem": schema.StringAttribute{ + Computed: true, + Description: "PEM-formatted public key. Must be JSON escaped.", + }, + }, + }, + }, + }, + "proof_of_possession": schema.SingleNestedAttribute{ + Computed: true, + Description: "Configuration settings for proof-of-possession for this resource server.", + Attributes: map[string]schema.Attribute{ + "mechanism": schema.StringAttribute{ + Computed: true, + Description: "Mechanism used for proof-of-possession. " + + "Only mtls is supported.", + MarkdownDescription: "Mechanism used for proof-of-possession. " + + "Only `mtls` is supported.", + }, + "required": schema.BoolAttribute{ + Computed: true, + Description: "Indicates whether proof-of-possession is required with this resource server.", + }, + }, + }, + }, + } + } +} + +// Read will be called by the framework to read an auth0_resource_server datasource. +func (r *dataSourceType) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse) { + api := r.cfg.GetAPI() + + var resourceID *string + response.Diagnostics.Append(request.Config.GetAttribute(ctx, path.Root("resource_server_id"), &resourceID)...) + if response.Diagnostics.HasError() { + return + } + if resourceID == nil { + var identifier string + response.Diagnostics.Append(request.Config.GetAttribute(ctx, path.Root("identifier"), &identifier)...) + if response.Diagnostics.HasError() { + return + } + identifier = url.PathEscape(identifier) + resourceID = &identifier + } + + resourceServer, err := api.ResourceServer.Read(ctx, *resourceID) + if err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + return + } + + response.Diagnostics.Append(flattenResourceServerForDataSource(ctx, &response.State, resourceServer)...) +} diff --git a/internal/auth0/resourceserver/data_source_test.go b/internal/framework/auth0/resourceserver/data_source_test.go similarity index 91% rename from internal/auth0/resourceserver/data_source_test.go rename to internal/framework/auth0/resourceserver/data_source_test.go index 4c7719526..6bebcb2f8 100644 --- a/internal/auth0/resourceserver/data_source_test.go +++ b/internal/framework/auth0/resourceserver/data_source_test.go @@ -58,7 +58,7 @@ const testAccDataResourceServerConfigByID = testAccGivenAResourceServerWithScope data "auth0_resource_server" "test" { depends_on = [ auth0_resource_server_scopes.my_scopes ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -68,19 +68,19 @@ data "auth0_resource_server" "auth0" { } ` -func TestAccDataSourceResourceServerRequiredArguments(t *testing.T) { +func TestFrameworkDataSourceResourceServerRequiredArguments(t *testing.T) { resource.UnitTest(t, resource.TestCase{ - ProviderFactories: acctest.TestFactories(), + ProtoV6ProviderFactories: acctest.TestProviderFactories(), Steps: []resource.TestStep{ { Config: `data "auth0_resource_server" "test" { }`, - ExpectError: regexp.MustCompile("one of `identifier,resource_server_id` must be specified"), + ExpectError: regexp.MustCompile("Invalid Attribute Combination"), }, }, }) } -func TestAccDataSourceResourceServer(t *testing.T) { +func TestAccFrameworkDataSourceResourceServer(t *testing.T) { managementAPIIdentifier := "https://" + os.Getenv("AUTH0_DOMAIN") + "/api/v2/" acctest.Test(t, resource.TestCase{ @@ -166,9 +166,9 @@ func TestAccDataSourceResourceServer(t *testing.T) { "name": "read:users", "description": "Read Users", }), // Checking just one to ensure that scopes are not empty, as they get expanded periodically. - resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "verification_location", ""), - resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "enforce_policies", "false"), - resource.TestCheckResourceAttr("data.auth0_resource_server.auth0", "token_dialect", ""), + resource.TestCheckNoResourceAttr("data.auth0_resource_server.auth0", "verification_location"), + resource.TestCheckNoResourceAttr("data.auth0_resource_server.auth0", "enforce_policies"), + resource.TestCheckNoResourceAttr("data.auth0_resource_server.auth0", "token_dialect"), ), }, }, diff --git a/internal/framework/auth0/resourceserver/expand.go b/internal/framework/auth0/resourceserver/expand.go new file mode 100644 index 000000000..3cf50f9bd --- /dev/null +++ b/internal/framework/auth0/resourceserver/expand.go @@ -0,0 +1,252 @@ +package resourceserver + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + + "github.com/auth0/go-auth0/management" + + "github.com/auth0/terraform-provider-auth0/internal/framework/attr/value" +) + +func expandResourceServer(ctx context.Context, _, planData, stateData resourceModel) *management.ResourceServer { + // The config ang the plan should only differ in cases where + // attributes have default values. These will be nil in the + // config but will be set in the plan. The other difference + // between the two is that optional computed attributes will + // be nil in the config but unknown in the plan. + resourceServer := &management.ResourceServer{ + TokenLifetime: value.Int(planData.TokenLifetime), + SkipConsentForVerifiableFirstPartyClients: value.Bool(planData.SkipConsent), + } + + // Only add the Identifier field if it is new. + if stateData.Identifier.IsNull() { + resourceServer.Identifier = value.String(planData.Identifier) + } + + if planData.Name.ValueString() != auth0ManagementAPIName { + if value.HasValue(planData.Name) { + resourceServer.Name = value.String(planData.Name) + } + if value.HasValue(planData.SigningAlgorithm) { + resourceServer.SigningAlgorithm = value.String(planData.SigningAlgorithm) + } + if value.HasValue(planData.SigningSecret) { + resourceServer.SigningSecret = value.String(planData.SigningSecret) + } + if value.HasValue(planData.AllowOfflineAccess) { + resourceServer.AllowOfflineAccess = value.Bool(planData.AllowOfflineAccess) + } + if value.HasValue(planData.TokenLifetimeForWeb) { + resourceServer.TokenLifetimeForWeb = value.Int(planData.TokenLifetimeForWeb) + } + if value.HasValue(planData.EnforcePolicies) { + resourceServer.EnforcePolicies = value.Bool(planData.EnforcePolicies) + } + if value.HasValue(planData.TokenDialect) { + resourceServer.TokenDialect = value.String(planData.TokenDialect) + } + if value.HasValue(planData.VerificationLocation) { + resourceServer.VerificationLocation = value.String(planData.VerificationLocation) + } + if value.HasValue(planData.AuthorizationDetails) { + resourceServer.AuthorizationDetails = expandAuthorizationDetails(ctx, stateData.AuthorizationDetails, planData.AuthorizationDetails) + } + if value.HasValue(planData.TokenEncryption) { + resourceServer.TokenEncryption = expandTokenEncryption(ctx, stateData.TokenEncryption, planData.TokenEncryption) + } + if value.HasValue(planData.ConsentPolicy) { + resourceServer.ConsentPolicy = expandConsentPolicy(stateData.ConsentPolicy, planData.ConsentPolicy) + } + if value.HasValue(planData.ProofOfPossession) { + resourceServer.ProofOfPossession = expandProofOfPossession(ctx, stateData.ProofOfPossession, planData.ProofOfPossession) + } + } + return resourceServer +} + +func expandResourceServerScopes(ctx context.Context, scopesSet types.Set) *[]management.ResourceServerScope { + if !value.HasValue(scopesSet) { + return nil + } + + var scopes []scopesElementModel + diagnostics := scopesSet.ElementsAs(ctx, &scopes, false) + if diagnostics.HasError() { + // This should never happen. + return nil + } + resourceServerScopes := make([]management.ResourceServerScope, 0, len(scopes)) + + for _, scope := range scopes { + resourceServerScopes = append(resourceServerScopes, management.ResourceServerScope{ + Value: value.String(scope.Name), + Description: value.String(scope.Description), + }) + } + + return &resourceServerScopes +} + +func isConsentPolicyNull(before, after types.String) bool { + if !value.HasChange(before, after) { + return false + } + consentPolicy := value.String(after) + // If it existed before, but doesn't now, remove it. + return consentPolicy == nil || *consentPolicy == "null" +} + +func expandConsentPolicy(before, after types.String) *string { + if !value.HasChange(before, after) || isConsentPolicyNull(before, after) { + return nil + } + + return value.String(after) +} + +func isAuthorizationDetailsNull(ctx context.Context, before, after types.List) bool { + if !value.HasChange(before, after) { + return false + } + + if !value.HasValue(after) { + // If it existed before, but doesn't now, remove it. + return true + } + empty := true + + var details []authorizationDetailsModel + diagnostics := after.ElementsAs(ctx, &details, false) + if diagnostics.HasError() { + // This should never happen. + return false + } + + for _, detail := range details { + if value.HasValue(detail.Type) { + empty = false + } + } + + return empty +} + +func expandAuthorizationDetails(ctx context.Context, before, after types.List) *[]management.ResourceServerAuthorizationDetails { + if !value.HasChange(before, after) || isAuthorizationDetailsNull(ctx, before, after) { + return nil + } + + authorizationDetails := make([]management.ResourceServerAuthorizationDetails, 0) + if value.HasValue(after) { + var details []authorizationDetailsModel + diagnostics := after.ElementsAs(ctx, &details, false) + if diagnostics.HasError() { + // This should never happen. + return nil + } + + for _, detail := range details { + authorizationDetails = append(authorizationDetails, management.ResourceServerAuthorizationDetails{ + Type: value.String(detail.Type), + }) + } + } + + if len(authorizationDetails) == 0 { + return nil + } + + return &authorizationDetails +} + +func isTokenEncryptionNull(ctx context.Context, before, after types.Object) bool { + if !value.HasChange(before, after) { + return false + } + // If it existed before, but doesn't now, remove it. + if !value.HasValue(after) { + return true + } + + var model tokenEncryptionModel + diagnostics := after.As(ctx, &model, basetypes.ObjectAsOptions{}) + if diagnostics.HasError() { + return false + } + + return !value.HasValue(model.Format) +} + +func expandTokenEncryption(ctx context.Context, before, after types.Object) *management.ResourceServerTokenEncryption { + if !value.HasChange(before, after) || isTokenEncryptionNull(ctx, before, after) { + return nil + } + + var model tokenEncryptionModel + diagnostics := after.As(ctx, &model, basetypes.ObjectAsOptions{}) + if diagnostics.HasError() { + return nil + } + + return &management.ResourceServerTokenEncryption{ + Format: value.String(model.Format), + EncryptionKey: expandTokenEncryptionKey(ctx, model.EncryptionKey), + } +} + +func expandTokenEncryptionKey(ctx context.Context, encryptionKeyObject types.Object) *management.ResourceServerTokenEncryptionKey { + if !value.HasValue(encryptionKeyObject) { + return nil + } + + var model encryptionKeyModel + diagnostics := encryptionKeyObject.As(ctx, &model, basetypes.ObjectAsOptions{}) + if diagnostics.HasError() { + return nil + } + + return &management.ResourceServerTokenEncryptionKey{ + Name: value.String(model.Name), + Alg: value.String(model.Algorithm), + Kid: value.String(model.KID), + Pem: value.String(model.PEM), + } +} + +func isProofOfPossessionNull(ctx context.Context, before, after types.Object) bool { + if !value.HasChange(before, after) { + return false + } + if !value.HasValue(after) { + return true + } + + var model proofOfPossessionModel + diagnostics := after.As(ctx, &model, basetypes.ObjectAsOptions{}) + if diagnostics.HasError() { + return false + } + + return !value.HasValue(model.Mechanism) +} + +func expandProofOfPossession(ctx context.Context, before, after types.Object) *management.ResourceServerProofOfPossession { + if !value.HasChange(before, after) || isProofOfPossessionNull(ctx, before, after) { + return nil + } + + var model proofOfPossessionModel + diagnostics := after.As(ctx, &model, basetypes.ObjectAsOptions{}) + if diagnostics.HasError() { + return nil + } + + return &management.ResourceServerProofOfPossession{ + Mechanism: value.String(model.Mechanism), + Required: value.Bool(model.Required), + } +} diff --git a/internal/framework/auth0/resourceserver/flatten.go b/internal/framework/auth0/resourceserver/flatten.go new file mode 100644 index 000000000..d76d37f4a --- /dev/null +++ b/internal/framework/auth0/resourceserver/flatten.go @@ -0,0 +1,242 @@ +package resourceserver + +import ( + "context" + + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/tfsdk" + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + + "github.com/auth0/terraform-provider-auth0/internal/framework/attr/value" +) + +func flattenResourceServerBase(ctx context.Context, + state *tfsdk.State, + resourceServer *management.ResourceServer, + model *resourceModel, +) diag.Diagnostics { + // We never get the PEM back from the server, so we need to find it + // in the state. + var pem attr.Value = value.AttrString(nil) + if value.HasValue(model.TokenEncryption) { + stateEncryptionKey := model.TokenEncryption.Attributes()["encryption_key"].(types.Object) + if value.HasValue(stateEncryptionKey) { + pem = stateEncryptionKey.Attributes()["pem"] + } + } + tokenEncryption, diagnostics := flattenTokenEncryption(pem, resourceServer.GetTokenEncryption(), value.HasValue(model.TokenEncryption)) + diagnostics.Append(state.SetAttribute(ctx, path.Root("token_encryption"), tokenEncryption)...) + + authorizationDetails, d := flattenAuthorizationDetails(resourceServer.GetAuthorizationDetails(), value.HasValue(model.AuthorizationDetails)) + diagnostics.Append(d...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("authorization_details"), authorizationDetails)...) + + proofOfPossession, d := flattenProofOfPossession(resourceServer.GetProofOfPossession(), value.HasValue(model.ProofOfPossession)) + diagnostics.Append(d...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("proof_of_possession"), proofOfPossession)...) + + diagnostics.Append(state.SetAttribute(ctx, path.Root("name"), value.AttrString(resourceServer.Name))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("identifier"), value.AttrString(resourceServer.Identifier))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("token_lifetime"), value.AttrInt64(resourceServer.TokenLifetime))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("allow_offline_access"), value.AttrBool(resourceServer.AllowOfflineAccess))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("token_lifetime_for_web"), value.AttrInt64(resourceServer.TokenLifetimeForWeb))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("signing_alg"), value.AttrString(resourceServer.SigningAlgorithm))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("signing_secret"), value.AttrString(resourceServer.SigningSecret))...) + diagnostics.Append( + state.SetAttribute(ctx, path.Root("skip_consent_for_verifiable_first_party_clients"), + value.AttrBool(resourceServer.SkipConsentForVerifiableFirstPartyClients))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("consent_policy"), flattenConsentPolicy(resourceServer.ConsentPolicy, value.HasValue(model.ProofOfPossession)))...) + + if resourceServer.GetName() != auth0ManagementAPIName { + diagnostics.Append(state.SetAttribute(ctx, path.Root("verification_location"), value.AttrString(resourceServer.VerificationLocation))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("enforce_policies"), value.AttrBool(resourceServer.EnforcePolicies))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("token_dialect"), value.AttrString(resourceServer.TokenDialect))...) + } + + return diagnostics +} + +func flattenResourceServer(ctx context.Context, + state *tfsdk.State, + resourceServer *management.ResourceServer, +) diag.Diagnostics { + var model resourceModel + diagnostics := state.Get(ctx, &model) + if diagnostics.HasError() { + return diagnostics + } + diagnostics.Append(flattenResourceServerBase(ctx, state, resourceServer, &model)...) + + return diagnostics +} + +func flattenResourceServerForDataSource( + ctx context.Context, + state *tfsdk.State, + resourceServer *management.ResourceServer, +) diag.Diagnostics { + var model dataSourceModel + diagnostics := state.Get(ctx, &model) + if diagnostics.HasError() { + return diagnostics + } + diagnostics.Append(flattenResourceServerBase(ctx, state, resourceServer, &(model.resourceModel))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("verification_location"), value.AttrString(resourceServer.VerificationLocation))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("enforce_policies"), value.AttrBool(resourceServer.EnforcePolicies))...) + diagnostics.Append(state.SetAttribute(ctx, path.Root("token_dialect"), value.AttrString(resourceServer.TokenDialect))...) + + scopes, diagnostics := flattenResourceServerScopesSet(resourceServer.Scopes) + if !diagnostics.HasError() { + diagnostics.Append(state.SetAttribute(ctx, path.Root("scopes"), scopes)...) + } + + return diagnostics +} + +func flattenResourceServerScopesSet(scopes *[]management.ResourceServerScope) (types.Set, diag.Diagnostics) { + elements, diagnostics := flattenResourceServerScopes(scopes) + + if elements == nil { + return basetypes.NewSetNull(scopesElementType), diagnostics + } + + rval, d := basetypes.NewSetValue(scopesElementType, elements) + diagnostics.Append(d...) + + return rval, diagnostics +} + +func flattenResourceServerScopes(scopes *[]management.ResourceServerScope) ([]attr.Value, diag.Diagnostics) { + var diagnostics diag.Diagnostics + + if scopes == nil { + return nil, nil + } + + elements := make([]attr.Value, 0, len(*scopes)) + for _, scope := range *scopes { + element, d := basetypes.NewObjectValue( + scopesElementTypeMap, + map[string]attr.Value{ + "name": value.AttrString(scope.Value), + "description": value.AttrString(scope.Description), + }, + ) + diagnostics.Append(d...) + elements = append(elements, element) + } + + return elements, diagnostics +} + +func flattenConsentPolicy(consentPolicy *string, hasStateValue bool) types.String { + if consentPolicy == nil { + if !hasStateValue { + return basetypes.NewStringNull() + } + return basetypes.NewStringValue("null") + } + return value.AttrString(consentPolicy) +} + +func flattenAuthorizationDetails(authorizationDetails []management.ResourceServerAuthorizationDetails, hasStateValue bool) (types.List, diag.Diagnostics) { + var diagnostics diag.Diagnostics + + elements := make([]attr.Value, 0) + if authorizationDetails == nil { + if !hasStateValue { + return basetypes.NewListNull(authorizationDetailsElementType), diag.Diagnostics{} + } + } else { + for _, item := range authorizationDetails { + element, d := basetypes.NewObjectValue( + authorizationDetailsElementTypeMap, + map[string]attr.Value{ + "type": value.AttrString(item.Type), + }, + ) + diagnostics.Append(d...) + elements = append(elements, element) + } + } + rval, d := basetypes.NewListValue(authorizationDetailsElementType, elements) + diagnostics.Append(d...) + + return rval, diagnostics +} + +func flattenTokenEncryption(pem attr.Value, tokenEncryption *management.ResourceServerTokenEncryption, hasStateValue bool) (types.Object, diag.Diagnostics) { + if tokenEncryption == nil { + if !hasStateValue { + return basetypes.NewObjectNull(tokenEncryptionTypeMap), diag.Diagnostics{} + } + return basetypes.NewObjectValue( + tokenEncryptionTypeMap, + map[string]attr.Value{ + "format": basetypes.NewStringNull(), + "encryption_key": basetypes.NewObjectNull(encryptionKeyTypeMap), + }, + ) + } + + var diagnostics diag.Diagnostics + var encryptionKey types.Object + + if tokenEncryption.EncryptionKey == nil { + encryptionKey = basetypes.NewObjectNull( + encryptionKeyTypeMap, + ) + } else { + if len(tokenEncryption.EncryptionKey.GetPem()) > 0 { + pem = value.AttrString(tokenEncryption.EncryptionKey.Pem) + } else if pem == nil { + pem = basetypes.NewStringNull() + } + encryptionKey, diagnostics = basetypes.NewObjectValue( + encryptionKeyTypeMap, + map[string]attr.Value{ + "name": value.AttrString(tokenEncryption.EncryptionKey.Name), + "algorithm": value.AttrString(tokenEncryption.EncryptionKey.Alg), + "kid": value.AttrString(tokenEncryption.EncryptionKey.Kid), + "pem": pem, + }, + ) + } + rval, d := basetypes.NewObjectValue( + tokenEncryptionTypeMap, + map[string]attr.Value{ + "format": value.AttrString(tokenEncryption.Format), + "encryption_key": encryptionKey, + }, + ) + diagnostics.Append(d...) + + return rval, diagnostics +} + +func flattenProofOfPossession(proofOfPossession *management.ResourceServerProofOfPossession, hasStateValue bool) (types.Object, diag.Diagnostics) { + if proofOfPossession == nil { + if !hasStateValue { + return basetypes.NewObjectNull(proofOfPossessionTypeMap), diag.Diagnostics{} + } + return basetypes.NewObjectValue( + proofOfPossessionTypeMap, + map[string]attr.Value{ + "mechanism": basetypes.NewStringNull(), + "required": basetypes.NewBoolNull(), + }, + ) + } + + return basetypes.NewObjectValue( + proofOfPossessionTypeMap, + map[string]attr.Value{ + "mechanism": value.AttrString(proofOfPossession.Mechanism), + "required": value.AttrBool(proofOfPossession.Required), + }, + ) +} diff --git a/internal/framework/auth0/resourceserver/resource.go b/internal/framework/auth0/resourceserver/resource.go new file mode 100644 index 000000000..bc01095f6 --- /dev/null +++ b/internal/framework/auth0/resourceserver/resource.go @@ -0,0 +1,517 @@ +package resourceserver + +import ( + "context" + "net/http" + "time" + + "github.com/hashicorp/terraform-plugin-framework-validators/boolvalidator" + "github.com/hashicorp/terraform-plugin-framework-validators/objectvalidator" + "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" + "github.com/hashicorp/terraform-plugin-framework/tfsdk" + "github.com/hashicorp/terraform-plugin-framework/types" + + "github.com/auth0/go-auth0/management" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/framework/error" + internalSchema "github.com/auth0/terraform-provider-auth0/internal/framework/schema" +) + +const auth0ManagementAPIName = "Auth0 Management API" + +type resourceType struct { + cfg *config.Config +} + +type authorizationDetailsModel struct { + Type types.String `tfsdk:"type"` +} + +var authorizationDetailsElementTypeMap = map[string]attr.Type{ + "type": types.StringType, +} + +var authorizationDetailsElementType = types.ObjectType{ + AttrTypes: authorizationDetailsElementTypeMap, +} + +type encryptionKeyModel struct { + Name types.String `tfsdk:"name"` + Algorithm types.String `tfsdk:"algorithm"` + KID types.String `tfsdk:"kid"` + PEM types.String `tfsdk:"pem"` +} + +var encryptionKeyTypeMap = map[string]attr.Type{ + "name": types.StringType, + "algorithm": types.StringType, + "kid": types.StringType, + "pem": types.StringType, +} + +var encryptionKeyType = types.ObjectType{ + AttrTypes: encryptionKeyTypeMap, +} + +type tokenEncryptionModel struct { + Format types.String `tfsdk:"format"` + EncryptionKey types.Object `tfsdk:"encryption_key"` +} + +var tokenEncryptionTypeMap = map[string]attr.Type{ + "format": types.StringType, + "encryption_key": encryptionKeyType, +} + +type proofOfPossessionModel struct { + Mechanism types.String `tfsdk:"mechanism"` + Required types.Bool `tfsdk:"required"` +} + +var proofOfPossessionTypeMap = map[string]attr.Type{ + "mechanism": types.StringType, + "required": types.BoolType, +} + +type resourceModel struct { + ResourceServerID types.String `tfsdk:"resource_server_id"` + Identifier types.String `tfsdk:"identifier"` + TokenLifetime types.Int64 `tfsdk:"token_lifetime"` + SkipConsent types.Bool `tfsdk:"skip_consent_for_verifiable_first_party_clients"` + Name types.String `tfsdk:"name"` + SigningAlgorithm types.String `tfsdk:"signing_alg"` + SigningSecret types.String `tfsdk:"signing_secret"` + AllowOfflineAccess types.Bool `tfsdk:"allow_offline_access"` + TokenLifetimeForWeb types.Int64 `tfsdk:"token_lifetime_for_web"` + EnforcePolicies types.Bool `tfsdk:"enforce_policies"` + TokenDialect types.String `tfsdk:"token_dialect"` + VerificationLocation types.String `tfsdk:"verification_location"` + AuthorizationDetails types.List `tfsdk:"authorization_details"` + TokenEncryption types.Object `tfsdk:"token_encryption"` + ConsentPolicy types.String `tfsdk:"consent_policy"` + ProofOfPossession types.Object `tfsdk:"proof_of_possession"` +} + +// NewResource will return a new auth0_resource_server resource. +func NewResource() resource.Resource { + return &resourceType{} +} + +// Configure will be called by the framework to configure the auth0_resource_server resource. +func (r *resourceType) Configure(_ context.Context, request resource.ConfigureRequest, _ *resource.ConfigureResponse) { + if request.ProviderData != nil { + r.cfg = request.ProviderData.(*config.Config) + } +} + +// Metadata will be called by the framework to get the type name for the auth0_resource_server resource. +func (r *resourceType) Metadata(_ context.Context, _ resource.MetadataRequest, response *resource.MetadataResponse) { + response.TypeName = "auth0_resource_server" +} + +// Schema will be called by the framework to get the schema for the auth0_resource_server resource. +func (r *resourceType) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse) { + if response != nil { + response.Schema = schema.Schema{ + Description: "With this resource, you can set up APIs that can be consumed from your authorized applications.", + Attributes: map[string]schema.Attribute{ + "resource_server_id": schema.StringAttribute{ + Computed: true, + Description: "A generated string identifying the resource server.", + }, + "identifier": schema.StringAttribute{ + Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, + Description: "Unique identifier for the resource server. Used as the audience parameter " + + "for authorization calls. Cannot be changed once set.", + }, + "name": schema.StringAttribute{ + Optional: true, + Computed: true, + Description: "Friendly name for the resource server. Cannot include < or > characters.", + MarkdownDescription: "Friendly name for the resource server. Cannot include `<` or `>` characters.", + }, + "signing_alg": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.OneOf( + "HS256", + "RS256", + "PS256", + ), + }, + Description: "Algorithm used to sign JWTs. Options include HS256, RS256, and PS256.", + MarkdownDescription: "Algorithm used to sign JWTs. Options include `HS256`, `RS256`, and `PS256`.", + }, + "signing_secret": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.UTF8LengthAtLeast(16), + }, + Description: "Secret used to sign tokens when using symmetric algorithms (HS256).", + }, + "allow_offline_access": schema.BoolAttribute{ + Optional: true, + Computed: true, + Description: "Indicates whether refresh tokens can be issued for this resource server.", + }, + "token_lifetime": schema.Int64Attribute{ + Optional: true, + Computed: true, + Description: "Number of seconds during which access tokens issued for this resource " + + "server from the token endpoint remain valid.", + }, + "token_lifetime_for_web": schema.Int64Attribute{ + Optional: true, + Computed: true, + Description: "Number of seconds during which access tokens issued for this resource server via " + + "implicit or hybrid flows remain valid. Cannot be greater than the token_lifetime value.", + MarkdownDescription: "Number of seconds during which access tokens issued for this resource server via " + + "implicit or hybrid flows remain valid. Cannot be greater than the `token_lifetime` value.", + }, + "skip_consent_for_verifiable_first_party_clients": schema.BoolAttribute{ + Optional: true, + Computed: true, + Description: "Indicates whether to skip user consent for applications flagged as first party.", + }, + "verification_location": schema.StringAttribute{ + Optional: true, + Computed: true, + Description: "URL from which to retrieve JWKs for this resource server. " + + "Used for verifying the JWT sent to Auth0 for token introspection.", + }, + "enforce_policies": schema.BoolAttribute{ + Computed: true, + Optional: true, + Description: "If this setting is enabled, RBAC authorization policies will be enforced for this API. " + + "Role and permission assignments will be evaluated during the login transaction.", + }, + "token_dialect": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.OneOf( + "access_token", + "access_token_authz", + "rfc9068_profile", + "rfc9068_profile_authz", + ), + }, + Description: "Dialect of access tokens that should be issued for this resource server. " + + "Options include access_token, rfc9068_profile, access_token_authz, and rfc9068_profile_authz. " + + "access_token is a JWT containing standard Auth0 claims. rfc9068_profile is a JWT conforming to the IETF JWT Access Token Profile. " + + "access_token_authz is a JWT containing standard Auth0 claims, including RBAC permissions claims. rfc9068_profile_authz is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. " + + "RBAC permissions claims are available if RBAC (enforce_policies) is enabled for this API. " + + "For more details, refer to Access Token Profiles(https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles).", + MarkdownDescription: "Dialect of access tokens that should be issued for this resource server. " + + "Options include `access_token`, `rfc9068_profile`, `access_token_authz`, and `rfc9068_profile_authz`. " + + "`access_token` is a JWT containing standard Auth0 claims. `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. " + + "`access_token_authz` is a JWT containing standard Auth0 claims, including RBAC permissions claims. `rfc9068_profile_authz` is a JWT conforming to the IETF JWT Access Token Profile, including RBAC permissions claims. " + + "RBAC permissions claims are available if RBAC (`enforce_policies`) is enabled for this API. " + + "For more details, refer to [Access Token Profiles](https://auth0.com/docs/secure/tokens/access-tokens/access-token-profiles).", + }, + "consent_policy": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.OneOf( + "transactional-authorization-with-mfa", + "null", + ), + }, + Description: "Consent policy for this resource server. " + + "Options include transactional-authorization-with-mfa, or null to disable.", + MarkdownDescription: "Consent policy for this resource server. " + + "Options include `transactional-authorization-with-mfa`, or `null` to disable.", + }, + "authorization_details": schema.ListNestedAttribute{ + Optional: true, + Description: "Authorization details for this resource server.", + NestedObject: schema.NestedAttributeObject{ + Attributes: map[string]schema.Attribute{ + "type": schema.StringAttribute{ + Required: true, + Description: "Type of authorization details.", + }, + }, + }, + }, + "token_encryption": schema.SingleNestedAttribute{ + Optional: true, + Description: "Configuration for JSON Web Encryption(JWE) of tokens for this resource server.", + Attributes: map[string]schema.Attribute{ + "format": schema.StringAttribute{ + Optional: true, // This is actually false unless disabled, but then the block is required. It is being enforced with AlsoRequires. + Validators: []validator.String{ + stringvalidator.OneOf( + "compact-nested-jwe", + ), + stringvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("encryption_key"), + ), + }, + Description: "Format of the token encryption. " + + "Only compact-nested-jwe is supported.", + MarkdownDescription: "Format of the token encryption. " + + "Only `compact-nested-jwe` is supported.", + }, + "encryption_key": schema.SingleNestedAttribute{ + Optional: true, + Validators: []validator.Object{ + objectvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("format"), + ), + }, + Description: "Authorization details for this resource server.", + Attributes: map[string]schema.Attribute{ + "name": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("algorithm"), + path.MatchRelative().AtParent().AtName("pem"), + ), + }, + Description: "Name of the encryption key.", + }, + "kid": schema.StringAttribute{ + Optional: true, + Computed: true, + Validators: []validator.String{ + stringvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("algorithm"), + path.MatchRelative().AtParent().AtName("pem"), + ), + }, + Description: "Key ID.", + }, + "algorithm": schema.StringAttribute{ + Optional: true, // This is actually false, but then the block is required. It is being enforced with AlsoRequires. + Validators: []validator.String{ + stringvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("pem"), + ), + }, + Description: "Algorithm used to encrypt the token.", + }, + "pem": schema.StringAttribute{ + Optional: true, // This is actually false, but then the block is required. It is being enforced with AlsoRequires. + Validators: []validator.String{ + stringvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("algorithm"), + ), + }, + Description: "PEM-formatted public key. Must be JSON escaped.", + }, + }, + }, + }, + }, + "proof_of_possession": schema.SingleNestedAttribute{ + Optional: true, + Description: "Configuration settings for proof-of-possession for this resource server.", + Attributes: map[string]schema.Attribute{ + "mechanism": schema.StringAttribute{ + Optional: true, // This is actually false unless disabled, but then the block is required. It is being enforced with AlsoRequires. + Validators: []validator.String{ + stringvalidator.OneOf( + "mtls", + ), + stringvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("required"), + ), + }, + Description: "Mechanism used for proof-of-possession. " + + "Only mtls is supported.", + MarkdownDescription: "Mechanism used for proof-of-possession. " + + "Only `mtls` is supported.", + }, + "required": schema.BoolAttribute{ + Optional: true, // This is actually false unless disabled, but then the block is required. It is being enforced with AlsoRequires. + Computed: true, + Validators: []validator.Bool{ + boolvalidator.AlsoRequires( + path.MatchRelative().AtParent().AtName("mechanism"), + ), + }, + Description: "Indicates whether proof-of-possession is required with this resource server.", + }, + }, + }, + }, + } + } +} + +// ImportState will be called by the framework to import an existing auth0_resource_server resource. +func (r *resourceType) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse) { + resource.ImportStatePassthroughID(ctx, path.Root("resource_server_id"), request, response) +} + +// Create will be called by the framework to initialise a new auth0_resource_server resource. +func (r *resourceType) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse) { + api := r.cfg.GetAPI() + configData, planData, stateData, diagnostics := internalSchema.GetRequestModels[resourceModel](ctx, &request.Config, &request.Plan, nil) + response.Diagnostics.Append(diagnostics...) + if response.Diagnostics.HasError() { + return + } + + resourceServer := expandResourceServer(ctx, configData, planData, stateData) + + if err := api.ResourceServer.Create(ctx, resourceServer); err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + return + } + + resourceID := resourceServer.GetID() + + time.Sleep(200 * time.Millisecond) + if err := fixNullableAttributes(ctx, api, resourceID, + isConsentPolicyNull(stateData.ConsentPolicy, planData.ConsentPolicy), + isAuthorizationDetailsNull(ctx, stateData.AuthorizationDetails, planData.AuthorizationDetails), + isTokenEncryptionNull(ctx, stateData.TokenEncryption, planData.TokenEncryption), + isProofOfPossessionNull(ctx, stateData.ProofOfPossession, planData.ProofOfPossession), + resourceServer, + ); err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + return + } + + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("resource_server_id"), resourceID)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("consent_policy"), configData.ConsentPolicy)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("authorization_details"), configData.AuthorizationDetails)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("token_encryption"), configData.TokenEncryption)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("proof_of_possession"), configData.ProofOfPossession)...) + response.Diagnostics.Append(flattenResourceServer(ctx, &response.State, resourceServer)...) + if response.Diagnostics.HasError() { + return + } + + time.Sleep(200 * time.Millisecond) + + response.Diagnostics.Append(readResource(ctx, api, resourceID, &response.State)...) +} + +// Update will be called by the framework to update an auth0_resource_server resource. +func (r *resourceType) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse) { + api := r.cfg.GetAPI() + + configData, planData, stateData, diagnostics := internalSchema.GetRequestModels[resourceModel](ctx, &request.Config, &request.Plan, &request.State) + response.Diagnostics.Append(diagnostics...) + if response.Diagnostics.HasError() { + return + } + resourceServer := expandResourceServer(ctx, configData, planData, stateData) + resourceID := stateData.ResourceServerID.ValueString() + + if err := api.ResourceServer.Update(ctx, resourceID, resourceServer); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + return + } + + time.Sleep(200 * time.Millisecond) + if err := fixNullableAttributes(ctx, api, resourceID, + isConsentPolicyNull(stateData.ConsentPolicy, planData.ConsentPolicy), + isAuthorizationDetailsNull(ctx, stateData.AuthorizationDetails, planData.AuthorizationDetails), + isTokenEncryptionNull(ctx, stateData.TokenEncryption, planData.TokenEncryption), + isProofOfPossessionNull(ctx, stateData.ProofOfPossession, planData.ProofOfPossession), + resourceServer, + ); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + return + } + + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("consent_policy"), configData.ConsentPolicy)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("authorization_details"), configData.AuthorizationDetails)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("token_encryption"), configData.TokenEncryption)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("proof_of_possession"), configData.ProofOfPossession)...) + response.Diagnostics.Append(flattenResourceServer(ctx, &response.State, resourceServer)...) + + time.Sleep(200 * time.Millisecond) + + response.Diagnostics.Append(readResource(ctx, api, resourceID, &response.State)...) +} + +func fixNullableAttributes( + ctx context.Context, + api *management.Management, + resourceID string, + consentPolicyNull, authorizationDetailsNull, tokenEncryptionNull, proofOfPossessionNull bool, + resourceServer *management.ResourceServer, +) error { + nullMap := make(map[string]interface{}) + + if consentPolicyNull { + nullMap["consent_policy"] = nil + resourceServer.ConsentPolicy = nil + } + if authorizationDetailsNull { + nullMap["authorization_details"] = nil + resourceServer.AuthorizationDetails = nil + } + if tokenEncryptionNull { + nullMap["token_encryption"] = nil + resourceServer.TokenEncryption = nil + } + if proofOfPossessionNull { + nullMap["proof_of_possession"] = nil + resourceServer.ProofOfPossession = nil + } + if len(nullMap) > 0 { + return api.Request(ctx, http.MethodPatch, api.URI("resource-servers", resourceID), nullMap) + } + return nil +} + +// Read will be called by the framework to read an auth0_resource_server resource. +func (r *resourceType) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse) { + api := r.cfg.GetAPI() + + var resourceID string + response.Diagnostics.Append(request.State.GetAttribute(ctx, path.Root("resource_server_id"), &resourceID)...) + if !response.Diagnostics.HasError() { + response.Diagnostics.Append(readResource(ctx, api, resourceID, &response.State)...) + } +} + +func readResource(ctx context.Context, api *management.Management, resourceID string, responseState *tfsdk.State) diag.Diagnostics { + resourceServer, err := api.ResourceServer.Read(ctx, resourceID) + if err != nil { + return internalError.HandleAPIError(ctx, responseState, err) + } + + rval := flattenResourceServer(ctx, responseState, resourceServer) + return rval +} + +// Delete will be called by the framework to delete an auth0_resource_server resource. +func (r *resourceType) Delete(ctx context.Context, _ resource.DeleteRequest, response *resource.DeleteResponse) { + api := r.cfg.GetAPI() + + var resourceID string + response.Diagnostics.Append(response.State.GetAttribute(ctx, path.Root("resource_server_id"), &resourceID)...) + var name *string + response.Diagnostics.Append(response.State.GetAttribute(ctx, path.Root("name"), &name)...) + if response.Diagnostics.HasError() || name != nil && *name == auth0ManagementAPIName { + return + } + + if err := api.ResourceServer.Delete(ctx, resourceID); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + } +} diff --git a/internal/framework/auth0/resourceserver/resource_scope.go b/internal/framework/auth0/resourceserver/resource_scope.go new file mode 100644 index 000000000..4691a68b5 --- /dev/null +++ b/internal/framework/auth0/resourceserver/resource_scope.go @@ -0,0 +1,261 @@ +package resourceserver + +import ( + "context" + + "github.com/auth0/go-auth0/management" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/tfsdk" + "github.com/hashicorp/terraform-plugin-framework/types" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/framework/error" + internalSchema "github.com/auth0/terraform-provider-auth0/internal/framework/schema" +) + +type resourceScopeType struct { + cfg *config.Config +} + +type scopeModel struct { + Scope types.String `tfsdk:"scope"` + ResourceServerIdentifier types.String `tfsdk:"resource_server_identifier"` + Description types.String `tfsdk:"description"` +} + +// NewScopeResource will return a new auth0_resource_server_scope resource. +func NewScopeResource() resource.Resource { + return &resourceScopeType{} +} + +// Configure will be called by the framework to configure the auth0_resource_server_scope resource. +func (r *resourceScopeType) Configure(_ context.Context, request resource.ConfigureRequest, _ *resource.ConfigureResponse) { + if request.ProviderData != nil { + r.cfg = request.ProviderData.(*config.Config) + } +} + +// Metadata will be called by the framework to get the type name for the auth0_resource_server_scope resource. +func (r *resourceScopeType) Metadata(_ context.Context, _ resource.MetadataRequest, response *resource.MetadataResponse) { + response.TypeName = "auth0_resource_server_scope" +} + +// Schema will be called by the framework to get the schema for the auth0_resource_server_scope resource. +func (r *resourceScopeType) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse) { + if response != nil { + response.Schema = schema.Schema{ + Description: "With this resource, you can manage scopes (permissions) associated with a resource server (API).", + Attributes: map[string]schema.Attribute{ + "scope": schema.StringAttribute{ + Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, + Description: "Name of the scope (permission).", + }, + "resource_server_identifier": schema.StringAttribute{ + Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, + Description: "Identifier of the resource server that the scope (permission) is associated with.", + }, + "description": schema.StringAttribute{ + Optional: true, + Description: "Description of the scope (permission).", + }, + }, + } + } +} + +// ImportState will be called by the framework to import an existing auth0_resource_server_scope resource. +func (r *resourceScopeType) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse) { + internalSchema.ImportStateCompositeID(ctx, request, response, path.Root("resource_server_identifier"), path.Root("scope")) +} + +// Create will be called by the framework to initialise a new auth0_resource_server_scope resource. +func (r *resourceScopeType) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse) { + api := r.cfg.GetAPI() + mutex := r.cfg.GetMutex() + + var model scopeModel + response.Diagnostics.Append(request.Config.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + scope := model.Scope.ValueString() + descriptionPtr := model.Description.ValueStringPointer() + + mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. + defer mutex.Unlock(resourceServerIdentifier) + + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) + if err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + return + } + + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("resource_server_identifier"), resourceServerIdentifier)...) + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("scope"), scope)...) + if response.Diagnostics.HasError() { + return + } + + for _, apiScope := range existingAPI.GetScopes() { + if apiScope.GetValue() == scope { + response.Diagnostics.Append(readScopeResource(ctx, api, resourceServerIdentifier, scope, &response.State)...) + return + } + } + + scopes := append(existingAPI.GetScopes(), management.ResourceServerScope{ + Value: &scope, + Description: descriptionPtr, + }) + + resourceServer := management.ResourceServer{ + Scopes: &scopes, + } + + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, &resourceServer); err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + return + } + + response.Diagnostics.Append(readScopeResource(ctx, api, resourceServerIdentifier, scope, &response.State)...) +} + +// Update will be called by the framework to update an auth0_resource_server_scope resource. +func (r *resourceScopeType) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse) { + api := r.cfg.GetAPI() + mutex := r.cfg.GetMutex() + + var model scopeModel + response.Diagnostics.Append(request.Config.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + scope := model.Scope.ValueString() + newDescription := model.Description.ValueString() + + mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. + defer mutex.Unlock(resourceServerIdentifier) + + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) + if err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + return + } + + updatedScopes := make([]management.ResourceServerScope, 0) + + found := false + for _, existingScope := range existingAPI.GetScopes() { + updated := existingScope + if existingScope.GetValue() == scope { + found = true + updated.Description = &newDescription + } + updatedScopes = append(updatedScopes, updated) + } + + if !found { + response.State.RemoveResource(ctx) + return + } + + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, &management.ResourceServer{ + Scopes: &updatedScopes, + }); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + return + } + + response.Diagnostics.Append(readScopeResource(ctx, api, resourceServerIdentifier, scope, &response.State)...) +} + +// Read will be called by the framework to read an auth0_resource_server_scope resource. +func (r *resourceScopeType) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse) { + api := r.cfg.GetAPI() + + var model scopeModel + response.Diagnostics.Append(request.State.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + scope := model.Scope.ValueString() + + response.Diagnostics.Append(readScopeResource(ctx, api, resourceServerIdentifier, scope, &response.State)...) +} + +func readScopeResource(ctx context.Context, api *management.Management, resourceServerIdentifier, scope string, responseState *tfsdk.State) diag.Diagnostics { + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) + if err != nil { + return internalError.HandleAPIError(ctx, responseState, err) + } + + for _, existingScope := range existingAPI.GetScopes() { + if existingScope.GetValue() == scope { + return responseState.SetAttribute(ctx, path.Root("description"), existingScope.Description) + } + } + + // If we make it this far, we didn't find it on the server. + responseState.RemoveResource(ctx) + var diagnostics diag.Diagnostics + diagnostics.AddWarning("Resource missing", "The resource_server_scope resource is missing") + + return diagnostics +} + +// Delete will be called by the framework to delete an auth0_resource_server_scope resource. +func (r *resourceScopeType) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse) { + api := r.cfg.GetAPI() + mutex := r.cfg.GetMutex() + var model scopeModel + response.Diagnostics.Append(request.State.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + scope := model.Scope.ValueString() + + mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. + defer mutex.Unlock(resourceServerIdentifier) + + existingAPI, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) + if err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + return + } + + updateScopes := make([]management.ResourceServerScope, 0) + for _, existingScope := range existingAPI.GetScopes() { + if existingScope.GetValue() != scope { + updateScopes = append(updateScopes, existingScope) + } + } + + if err := api.ResourceServer.Update( + ctx, + resourceServerIdentifier, + &management.ResourceServer{ + Scopes: &updateScopes, + }, + ); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + } +} diff --git a/internal/auth0/resourceserver/resource_scope_test.go b/internal/framework/auth0/resourceserver/resource_scope_test.go similarity index 94% rename from internal/auth0/resourceserver/resource_scope_test.go rename to internal/framework/auth0/resourceserver/resource_scope_test.go index 34c72012e..d8c51076d 100644 --- a/internal/auth0/resourceserver/resource_scope_test.go +++ b/internal/framework/auth0/resourceserver/resource_scope_test.go @@ -35,7 +35,7 @@ resource "auth0_resource_server_scope" "read_posts" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scope.read_posts_copy ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -52,7 +52,7 @@ resource "auth0_resource_server_scope" "read_posts" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scope.read_posts ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -69,7 +69,7 @@ resource "auth0_resource_server_scope" "read_posts" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scope.read_posts ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -94,7 +94,7 @@ resource "auth0_resource_server_scope" "write_posts" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scope.write_posts ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -136,11 +136,11 @@ resource "auth0_resource_server_scope" "write_posts" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scope.write_posts ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` -func TestAccResourceServerScope(t *testing.T) { +func TestAccFrameworkResourceServerScope(t *testing.T) { testName := strings.ToLower(t.Name()) resourceServerIdentifier := fmt.Sprintf("https://uat.api.terraform-provider-auth0.com/%s", testName) @@ -187,7 +187,7 @@ func TestAccResourceServerScope(t *testing.T) { resource.TestCheckResourceAttr("auth0_resource_server_scope.read_posts", "description", "Can read posts from API"), resource.TestCheckResourceAttr("auth0_resource_server_scope.read_posts", "resource_server_identifier", resourceServerIdentifier), resource.TestCheckResourceAttr("auth0_resource_server_scope.write_posts", "scope", "write:posts"), - resource.TestCheckResourceAttr("auth0_resource_server_scope.write_posts", "description", ""), + resource.TestCheckNoResourceAttr("auth0_resource_server_scope.write_posts", "description"), resource.TestCheckResourceAttr("auth0_resource_server_scope.write_posts", "resource_server_identifier", resourceServerIdentifier), ), }, diff --git a/internal/framework/auth0/resourceserver/resource_scopes.go b/internal/framework/auth0/resourceserver/resource_scopes.go new file mode 100644 index 000000000..803623ed9 --- /dev/null +++ b/internal/framework/auth0/resourceserver/resource_scopes.go @@ -0,0 +1,256 @@ +package resourceserver + +import ( + "context" + "fmt" + + "github.com/auth0/go-auth0/management" + "github.com/google/go-cmp/cmp" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/tfsdk" + "github.com/hashicorp/terraform-plugin-framework/types" + + "github.com/auth0/terraform-provider-auth0/internal/config" + internalError "github.com/auth0/terraform-provider-auth0/internal/framework/error" +) + +type resourceScopesType struct { + cfg *config.Config +} + +type resourceScopesModel struct { + ResourceServerIdentifier types.String `tfsdk:"resource_server_identifier"` + Scopes types.Set `tfsdk:"scopes"` +} + +type scopesElementModel struct { + Name types.String `tfsdk:"name"` + Description types.String `tfsdk:"description"` +} + +var scopesElementTypeMap = map[string]attr.Type{ + "name": types.StringType, + "description": types.StringType, +} + +var scopesElementType = types.ObjectType{ + AttrTypes: scopesElementTypeMap, +} + +// NewScopesResource will return a new auth0_resource_server_scopes resource. +func NewScopesResource() resource.Resource { + return &resourceScopesType{} +} + +// Configure will be called by the framework to configure the auth0_resource_server_scopes resource. +func (r *resourceScopesType) Configure(_ context.Context, request resource.ConfigureRequest, _ *resource.ConfigureResponse) { + if request.ProviderData != nil { + r.cfg = request.ProviderData.(*config.Config) + } +} + +// Metadata will be called by the framework to get the type name for the auth0_resource_server_scopes resource. +func (r *resourceScopesType) Metadata(_ context.Context, _ resource.MetadataRequest, response *resource.MetadataResponse) { + response.TypeName = "auth0_resource_server_scopes" +} + +// Schema will be called by the framework to get the schema for the auth0_resource_server_scopes resource. +func (r *resourceScopesType) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse) { + if response != nil { + response.Schema = schema.Schema{ + Description: "With this resource, you can manage scopes (permissions) associated with a resource server (API).", + Attributes: map[string]schema.Attribute{ + "resource_server_identifier": schema.StringAttribute{ + Required: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, + Description: "Identifier of the resource server that the scopes (permission) are associated with.", + }, + }, + Blocks: map[string]schema.Block{ + "scopes": schema.SetNestedBlock{ + Description: "List of the scopes associated with a resource server.", + NestedObject: schema.NestedBlockObject{ + Attributes: map[string]schema.Attribute{ + "name": schema.StringAttribute{ + Required: true, + Description: "Name of the scope (permission). Examples include " + + "read:appointments or delete:appointments.", + MarkdownDescription: "Name of the scope (permission). Examples include " + + "`read:appointments` or `delete:appointments`.", + }, + "description": schema.StringAttribute{ + Optional: true, + Description: "User-friendly description of the scope (permission).", + }, + }, + }, + }, + }, + } + } +} + +// ImportState will be called by the framework to import an existing auth0_resource_server_scopes resource. +func (r *resourceScopesType) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse) { + resource.ImportStatePassthroughID(ctx, path.Root("resource_server_identifier"), request, response) +} + +// Create will be called by the framework to initialise a new auth0_resource_server_scopes resource. +func (r *resourceScopesType) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse) { + api := r.cfg.GetAPI() + mutex := r.cfg.GetMutex() + + var model resourceScopesModel + response.Diagnostics.Append(request.Config.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + + mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. + defer mutex.Unlock(resourceServerIdentifier) + + existingResourceServer, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) + if err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + return + } + + updatedResourceServer := &management.ResourceServer{ + Scopes: expandResourceServerScopes(ctx, model.Scopes), + } + + response.Diagnostics.Append(guardAgainstErasingUnwantedScopes( + existingResourceServer.GetIdentifier(), + existingResourceServer.GetScopes(), + updatedResourceServer.GetScopes(), + )...) + + if response.Diagnostics.HasError() { + response.State.RemoveResource(ctx) + return + } + + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, updatedResourceServer); err != nil { + response.Diagnostics.Append(internalError.Diagnostics(err)...) + response.State.RemoveResource(ctx) + return + } + + response.Diagnostics.Append(response.State.SetAttribute(ctx, path.Root("resource_server_identifier"), resourceServerIdentifier)...) + response.Diagnostics.Append(readScopesResource(ctx, api, resourceServerIdentifier, &response.State)...) +} + +// Update will be called by the framework to initialise a new auth0_resource_server_scopes resource. +func (r *resourceScopesType) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse) { + api := r.cfg.GetAPI() + mutex := r.cfg.GetMutex() + + var model resourceScopesModel + response.Diagnostics.Append(request.Config.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + + mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. + defer mutex.Unlock(resourceServerIdentifier) + + updatedResourceServer := &management.ResourceServer{ + Scopes: expandResourceServerScopes(ctx, model.Scopes), + } + + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, updatedResourceServer); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + return + } + + response.Diagnostics.Append(readScopesResource(ctx, api, resourceServerIdentifier, &response.State)...) +} + +// Delete will be called by the framework to delete an auth0_resource_server_scopes resource. +func (r *resourceScopesType) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse) { + api := r.cfg.GetAPI() + mutex := r.cfg.GetMutex() + + var model resourceScopesModel + response.Diagnostics.Append(request.State.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + + mutex.Lock(resourceServerIdentifier) // Prevents colliding API requests between other `auth0_resource_server_scope` resource. + defer mutex.Unlock(resourceServerIdentifier) + + resourceServer := &management.ResourceServer{ + Scopes: &[]management.ResourceServerScope{}, + } + + if err := api.ResourceServer.Update(ctx, resourceServerIdentifier, resourceServer); err != nil { + response.Diagnostics.Append(internalError.HandleAPIError(ctx, &response.State, err)...) + } +} + +// Read will be called by the framework to read an auth0_resource_server_scopes resource. +func (r *resourceScopesType) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse) { + api := r.cfg.GetAPI() + + var model resourceScopesModel + response.Diagnostics.Append(request.State.Get(ctx, &model)...) + if response.Diagnostics.HasError() { + return + } + + resourceServerIdentifier := model.ResourceServerIdentifier.ValueString() + + response.Diagnostics.Append(readScopesResource(ctx, api, resourceServerIdentifier, &response.State)...) +} + +func readScopesResource(ctx context.Context, api *management.Management, resourceServerIdentifier string, responseState *tfsdk.State) diag.Diagnostics { + var diagnostics diag.Diagnostics + + resourceServer, err := api.ResourceServer.Read(ctx, resourceServerIdentifier) + if err != nil { + diagnostics.Append(internalError.HandleAPIError(ctx, responseState, err)...) + return diagnostics + } + + scopes, diagnostics := flattenResourceServerScopesSet(resourceServer.Scopes) + if !diagnostics.HasError() { + diagnostics.Append(responseState.SetAttribute(ctx, path.Root("scopes"), scopes)...) + } + + return diagnostics +} + +func guardAgainstErasingUnwantedScopes( + apiIdentifier string, + apiScopes []management.ResourceServerScope, + configScopes []management.ResourceServerScope, +) diag.Diagnostics { + var diagnostics diag.Diagnostics + + if len(apiScopes) > 0 && !cmp.Equal(configScopes, apiScopes) { + diagnostics.AddError( + "Resource Server with non empty scopes", + cmp.Diff(configScopes, apiScopes)+ + fmt.Sprintf("\nThe resource server already has scopes attached to it. "+ + "Import the resource instead in order to proceed with the changes. "+ + "Run: 'terraform import auth0_resource_server_scopes. %s'.", apiIdentifier), + ) + } + + return diagnostics +} diff --git a/internal/auth0/resourceserver/resource_scopes_test.go b/internal/framework/auth0/resourceserver/resource_scopes_test.go similarity index 95% rename from internal/auth0/resourceserver/resource_scopes_test.go rename to internal/framework/auth0/resourceserver/resource_scopes_test.go index 9996f59f9..952dc1df2 100644 --- a/internal/auth0/resourceserver/resource_scopes_test.go +++ b/internal/framework/auth0/resourceserver/resource_scopes_test.go @@ -58,7 +58,7 @@ resource "auth0_resource_server_scopes" "my_api_scopes" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scopes.my_api_scopes ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -82,7 +82,7 @@ resource "auth0_resource_server_scopes" "my_api_scopes" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scopes.my_api_scopes ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -90,7 +90,7 @@ const testAccDeleteResourceServerScopes = testAccGivenAResourceServerWithNoScope data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server.my_api ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` @@ -134,11 +134,11 @@ resource "auth0_resource_server_scopes" "my_api_scopes" { data "auth0_resource_server" "my_api" { depends_on = [ auth0_resource_server_scopes.my_api_scopes ] - resource_server_id = auth0_resource_server.my_api.id + resource_server_id = auth0_resource_server.my_api.resource_server_id } ` -func TestAccResourceServerScopes(t *testing.T) { +func TestAccFrameworkResourceServerScopes(t *testing.T) { testName := strings.ToLower(t.Name()) acctest.Test(t, resource.TestCase{ @@ -189,7 +189,7 @@ func TestAccResourceServerScopes(t *testing.T) { ResourceName: "auth0_resource_server_scopes.my_api_scopes", ImportState: true, ImportStateIdFunc: func(state *terraform.State) (string, error) { - return acctest.ExtractResourceAttributeFromState(state, "auth0_resource_server.my_api", "id") + return acctest.ExtractResourceAttributeFromState(state, "auth0_resource_server.my_api", "identifier") }, ImportStatePersist: true, }, diff --git a/internal/auth0/resourceserver/resource_test.go b/internal/framework/auth0/resourceserver/resource_test.go similarity index 76% rename from internal/auth0/resourceserver/resource_test.go rename to internal/framework/auth0/resourceserver/resource_test.go index 51ec5d616..c186180a4 100644 --- a/internal/auth0/resourceserver/resource_test.go +++ b/internal/framework/auth0/resourceserver/resource_test.go @@ -29,14 +29,11 @@ resource "auth0_resource_server" "my_resource_server" { skip_consent_for_verifiable_first_party_clients = true enforce_policies = false consent_policy = "null" - authorization_details { - disable = true + authorization_details = [ + ] + token_encryption = { } - token_encryption { - disable = true - } - proof_of_possession { - disable = true + proof_of_possession = { } } ` @@ -52,15 +49,16 @@ resource "auth0_resource_server" "my_resource_server" { skip_consent_for_verifiable_first_party_clients = true enforce_policies = false consent_policy = "transactional-authorization-with-mfa" - authorization_details { - type = "payment" - } - authorization_details { - type = "not-payment" - } - token_encryption { + authorization_details = [ + { + type = "payment" + }, { + type = "not-payment" + } + ] + token_encryption = { format = "compact-nested-jwe" - encryption_key { + encryption_key = { name = "encryptkey" algorithm = "RSA-OAEP-256" pem = <", s.String())) + } + + diagnostics.AddError("Error", fmt.Sprintf("ID must be formatted as %s", strings.Join(formattedErrorMessage, separator))) + + return diagnostics +} diff --git a/internal/framework/schema/schema.go b/internal/framework/schema/schema.go new file mode 100644 index 000000000..2ef43025e --- /dev/null +++ b/internal/framework/schema/schema.go @@ -0,0 +1,19 @@ +package schema + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/tfsdk" +) + +// GetRequestModels gets the config, plan, and state data as models. +func GetRequestModels[T any](ctx context.Context, requestConfig *tfsdk.Config, requestPlan *tfsdk.Plan, requestState *tfsdk.State) (configData T, planData T, stateData T, diagnostics diag.Diagnostics) { + diagnostics.Append(requestConfig.Get(ctx, &configData)...) + diagnostics.Append(requestPlan.Get(ctx, &planData)...) + if requestState != nil && !requestState.Raw.IsNull() { + diagnostics.Append(requestState.Get(ctx, &stateData)...) + } + + return +} diff --git a/internal/framework/tf/value/value.go b/internal/framework/tf/value/value.go new file mode 100644 index 000000000..e71c23e3e --- /dev/null +++ b/internal/framework/tf/value/value.go @@ -0,0 +1,220 @@ +package value + +import ( + "encoding/json" + "math/big" + "time" + + "github.com/hashicorp/terraform-plugin-go/tftypes" +) + +// HasChange returns true if the attribute is modified in the plan from the value in the state. +// The stateValue and planValue arguments should be the Raw values from the state and the plan. +func HasChange(stateValue, planValue tftypes.Value, attribute string) bool { + path := tftypes.NewAttributePath().WithAttributeName(attribute) + rawPlanAttribute, _, err := tftypes.WalkAttributePath(planValue, path) + if err != nil { + return false + } + planAttribute := rawPlanAttribute.(tftypes.Value) + + rawStateAttribute, _, err := tftypes.WalkAttributePath(stateValue, path) + if err != nil { + return false + } + stateAttribute := rawStateAttribute.(tftypes.Value) + + return !stateAttribute.Equal(planAttribute) +} + +// GetAttribute returns an attribute from a Raw state, plan, or config. +func GetAttribute(state tftypes.Value, attribute string) (tftypes.Value, error) { + path := tftypes.NewAttributePath().WithAttributeName(attribute) + rawValue, _, err := tftypes.WalkAttributePath(state, path) + if err != nil { + return tftypes.Value{}, err + } + return rawValue.(tftypes.Value), nil +} + +// HasValue returns returns true if an attribute from a Raw state, plan, or config +// has a known value. +func HasValue(state tftypes.Value, attribute string) bool { + val, err := GetAttribute(state, attribute) + if err != nil { + return false + } + + return !val.IsNull() && val.IsKnown() +} + +// Bool evaluates the typed value of the value +// and coerces to a pointer of a boolean. +func Bool(rawValue tftypes.Value) *bool { + var ptr *bool + if err := rawValue.As(&ptr); err != nil { + return nil + } + return ptr +} + +// String evaluates the typed value of the value +// and coerces to a pointer of a string. +func String(rawValue tftypes.Value) *string { + var ptr *string + if err := rawValue.As(&ptr); err != nil { + return nil + } + return ptr +} + +// Int evaluates the typed value of the value +// and coerces to a pointer of an int. +func Int(rawValue tftypes.Value) *int { + var floatPtr *big.Float + if err := rawValue.As(&floatPtr); err != nil || floatPtr == nil { + return nil + } + i64, _ := floatPtr.Int64() + value := int(i64) + return &value +} + +// Float64 evaluates the typed value of the value +// and coerces to a pointer of a float64. +func Float64(rawValue tftypes.Value) *float64 { + var floatPtr *big.Float + if err := rawValue.As(&floatPtr); err != nil || floatPtr == nil { + return nil + } + value, _ := floatPtr.Float64() + return &value +} + +// Time evaluates the typed value of the value +// and coerces to a pointer of a string, which +// is then converted to a `time.Time` according +// to ISO 3339 (ISO 8601 is largely the same in +// common use cases, see https://ijmacd.github.io/rfc3339-iso8601/ +// for differences). +func Time(rawValue tftypes.Value) *time.Time { + var stringPtr *string + if err := rawValue.As(&stringPtr); err != nil || stringPtr == nil { + return nil + } + + value, _ := time.Parse(time.RFC3339, *stringPtr) + return &value +} + +// Strings evaluates the typed value of the value +// and coerces to a pointer of a slice of strings. +func Strings(rawValue tftypes.Value) *[]string { + var slicePtr *[]tftypes.Value + if err := rawValue.As(&slicePtr); err != nil || slicePtr == nil { + return nil + } + + values := make([]string, 0, len(*slicePtr)) + for _, value := range *slicePtr { + var stringPtr *string + if err := value.As(&stringPtr); err != nil || stringPtr == nil { + // This should never happen. + continue + } + values = append(values, *stringPtr) + } + + return &values +} + +// MapOfStrings evaluates the typed value of the value +// and coerces to a pointer of a map of strings. +func MapOfStrings(rawValue tftypes.Value) *map[string]string { + var mapPtr *map[string]tftypes.Value + if err := rawValue.As(&mapPtr); err != nil || mapPtr == nil { + return nil + } + + m := make(map[string]string) + for key, value := range *mapPtr { + var stringPtr *string + if err := value.As(&stringPtr); err != nil || stringPtr == nil { + // This should never happen. + continue + } + + m[key] = *stringPtr + } + + return &m +} + +// MapFromJSON evaluates the typed value of the value +// and coerces to a map[string]interface{}. +func MapFromJSON(rawValue tftypes.Value) (map[string]interface{}, error) { + var stringPtr *string + if err := rawValue.As(&stringPtr); err != nil || stringPtr == nil { + return nil, err + } + + var resultMap map[string]interface{} + if err := json.Unmarshal([]byte(*stringPtr), &resultMap); err != nil { + return nil, err + } + + return resultMap, nil +} + +// Difference accesses the value held by key and type asserts it to a set. It then +// compares its changes if any and returns what needs to be added and what +// needs to be removed. The stateValue and planValue arguments should be +// the Raw values from the state and the plan. +func Difference(stateValue, planValue tftypes.Value, attribute string) ([]tftypes.Value, []tftypes.Value, error) { + // Zero the add and rm sets. These may be modified if the diff observed any changes. + toAdd := make([]tftypes.Value, 0) + toRemove := make([]tftypes.Value, 0) + afterAttribute, err := GetAttribute(planValue, attribute) + if err != nil { + return nil, nil, err + } + beforeAttribute, err := GetAttribute(stateValue, attribute) + if err != nil { + return nil, nil, err + } + var beforeSet, afterSet *[]tftypes.Value + if err := beforeAttribute.As(&beforeSet); err != nil { + return nil, nil, err + } + if err := afterAttribute.As(&afterSet); err != nil { + return nil, nil, err + } + if beforeSet != nil { + for _, item := range *beforeSet { + if !contains(afterSet, item) && !contains(&toRemove, item) { + toRemove = append(toRemove, item) + } + } + } + if afterSet != nil { + for _, item := range *afterSet { + if !contains(beforeSet, item) && !contains(&toAdd, item) { + toAdd = append(toAdd, item) + } + } + } + + return toAdd, toRemove, nil +} + +func contains(set *[]tftypes.Value, value tftypes.Value) bool { + if set != nil { + for _, item := range *set { + if item.Equal(value) { + return true + } + } + } + + return false +} diff --git a/internal/provider/provider.go b/internal/provider/provider.go index bdf77e03b..61ce593d1 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -18,14 +18,12 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/auth0/connection" "github.com/auth0/terraform-provider-auth0/internal/auth0/customdomain" "github.com/auth0/terraform-provider-auth0/internal/auth0/email" - "github.com/auth0/terraform-provider-auth0/internal/auth0/encryptionkeymanager" "github.com/auth0/terraform-provider-auth0/internal/auth0/guardian" "github.com/auth0/terraform-provider-auth0/internal/auth0/hook" "github.com/auth0/terraform-provider-auth0/internal/auth0/logstream" "github.com/auth0/terraform-provider-auth0/internal/auth0/organization" "github.com/auth0/terraform-provider-auth0/internal/auth0/page" "github.com/auth0/terraform-provider-auth0/internal/auth0/prompt" - "github.com/auth0/terraform-provider-auth0/internal/auth0/resourceserver" "github.com/auth0/terraform-provider-auth0/internal/auth0/role" "github.com/auth0/terraform-provider-auth0/internal/auth0/rule" "github.com/auth0/terraform-provider-auth0/internal/auth0/signingkey" @@ -112,7 +110,6 @@ func New() *schema.Provider { "auth0_custom_domain_verification": customdomain.NewVerificationResource(), "auth0_email_provider": email.NewResource(), "auth0_email_template": email.NewTemplateResource(), - "auth0_encryption_key_manager": encryptionkeymanager.NewEncryptionKeyManagerResource(), "auth0_flow": flow.NewResource(), "auth0_flow_vault_connection": flow.NewVaultConnectionResource(), "auth0_form": form.NewResource(), @@ -134,9 +131,6 @@ func New() *schema.Provider { "auth0_prompt_screen_partial": prompt.NewScreenPartialResource(), "auth0_prompt_screen_partials": prompt.NewScreenPartialsResource(), "auth0_prompt_screen_renderer": prompt.NewPromptScreenRenderResource(), - "auth0_resource_server": resourceserver.NewResource(), - "auth0_resource_server_scope": resourceserver.NewScopeResource(), - "auth0_resource_server_scopes": resourceserver.NewScopesResource(), "auth0_role": role.NewResource(), "auth0_role_permission": role.NewPermissionResource(), "auth0_role_permissions": role.NewPermissionsResource(), @@ -167,7 +161,6 @@ func New() *schema.Provider { "auth0_pages": page.NewDataSource(), "auth0_prompt_screen_partials": prompt.NewPromptScreenPartialsDataSource(), "auth0_prompt_screen_renderer": prompt.NewPromptScreenRenderDataSource(), - "auth0_resource_server": resourceserver.NewDataSource(), "auth0_role": role.NewDataSource(), "auth0_self_service_profile": selfserviceprofile.NewDataSource(), "auth0_signing_keys": signingkey.NewDataSource(), diff --git a/main.go b/main.go index 139bdf48a..d95a9e753 100644 --- a/main.go +++ b/main.go @@ -1,10 +1,14 @@ package main import ( + "log" + + "github.com/hashicorp/terraform-plugin-go/tfprotov6" + "github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/v2/plugin" - "github.com/auth0/terraform-provider-auth0/internal/provider" + frameworkProvider "github.com/auth0/terraform-provider-auth0/internal/framework/provider" + provider "github.com/auth0/terraform-provider-auth0/internal/provider" ) // Ensure the documentation is formatted properly. @@ -14,11 +18,21 @@ import ( //go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs func main() { - // Set descriptions to support Markdown syntax, + // Set descriptions to support Markdown syntax for SDK resources, // this will be used in document generation. schema.DescriptionKind = schema.StringMarkdown - plugin.Serve(&plugin.ServeOpts{ - ProviderFunc: provider.New, - }) + err := tf6server.Serve( + "registry.terraform.io/auth0/auth0", + func() tfprotov6.ProviderServer { + providerServer, err := frameworkProvider.MuxServer(provider.New(), frameworkProvider.New()) + if err != nil { + log.Fatal(err) + } + return providerServer + }, + ) + if err != nil { + log.Fatal(err) + } } diff --git a/test/data/recordings/TestAccConnectionAzureAD.yaml b/test/data/recordings/TestAccConnectionAzureAD.yaml index 7649c0d34..be04a329c 100644 --- a/test/data/recordings/TestAccConnectionAzureAD.yaml +++ b/test/data/recordings/TestAccConnectionAzureAD.yaml @@ -30,7 +30,7 @@ interactions: trailer: {} content_length: -1 uncompressed: false - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"userid_attribute":"oid","thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","waad_common_endpoint":false},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"client_id":"123456","client_secret":"123456","strategy_version":2,"tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"userid_attribute":"oid","thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","waad_common_endpoint":false},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -65,7 +65,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -100,7 +100,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -135,7 +135,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -170,7 +170,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"strategy_version":2,"userid_attribute":"oid","useCommonEndpoint":false,"waad_common_endpoint":false,"should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -189,7 +189,7 @@ interactions: remote_addr: "" request_uri: "" body: | - {"show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"userid_attribute":"sub"}} + {"show_as_button":true,"options":{"client_id":"123456","client_secret":"123456","tenant_domain":"example.onmicrosoft.com","domain":"example.onmicrosoft.com","domain_aliases":["api.example.com","example.com"],"identity_api":"azure-active-directory-v1.0","waad_protocol":"openid-connect","use_wsfed":false,"useCommonEndpoint":false,"api_enable_users":true,"basic_profile":true,"ext_profile":true,"ext_groups":true,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified","upstream_params":{"screen_name":{"alias":"login_hint"}},"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"userid_attribute":"sub"}} form: {} headers: Content-Type: @@ -206,7 +206,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":"sub","useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":"sub","useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -241,7 +241,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":"sub","useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":"sub","useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.sus.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":"sub","useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.sus.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' + body: '{"id":"con_RX9Z5s0pwK9YEplj","options":{"domain":"example.onmicrosoft.com","client_id":"123456","use_wsfed":false,"app_domain":"terraform-provider-auth0-dev.eu.auth0.com","ext_groups":true,"ext_profile":true,"thumbprints":["31cee5dc8cfdde0eeec2035e1269b0fd66063e4a","8b0d415d77326e4d3b926b4879e25e218a9ab35f","dcf68ae047f204d42edc2b6362c6b7626850e44d","f0f5d00dbe263a6a25bbf06d1b78c35f8a91db15","77e662d066eeb38b0468ea97814f2932f61cdca2"],"identity_api":"azure-active-directory-v1.0","basic_profile":true,"client_secret":"123456","tenant_domain":"example.onmicrosoft.com","waad_protocol":"openid-connect","domain_aliases":["api.example.com","example.com"],"upstream_params":{"screen_name":{"alias":"login_hint"}},"api_enable_users":true,"userid_attribute":"sub","useCommonEndpoint":false,"waad_common_endpoint":false,"set_user_root_attributes":"on_first_login","should_trust_email_verified_connection":"never_set_emails_as_verified"},"strategy":"waad","name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","provisioning_ticket_url":"https://terraform-provider-auth0-dev.eu.auth0.com/terraform-provider-auth0-dev/p/waad/FTzfaUCJ","is_domain_connection":false,"show_as_button":true,"display_name":"Acceptance-Test-Azure-AD-TestAccConnectionAzureAD","enabled_clients":[],"realms":["Acceptance-Test-Azure-AD-TestAccConnectionAzureAD"]}' headers: Content-Type: - application/json; charset=utf-8 diff --git a/test/data/recordings/TestAccEncryptionKeyManagerCustomerProvidedRootKey.yaml b/test/data/recordings/TestAccEncryptionKeyManagerCustomerProvidedRootKey.yaml deleted file mode 100644 index 9b4fcb9d2..000000000 --- a/test/data/recordings/TestAccEncryptionKeyManagerCustomerProvidedRootKey.yaml +++ /dev/null @@ -1,1759 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 52 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"session_lifetime":168,"idle_session_lifetime":72} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 149.840708ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 14 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"mtls":null} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 160.996959ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.006208ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 152.553625ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 156.711709ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 38 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"type":"customer-provided-root-key"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 223 - uncompressed: false - body: '{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 198.136667ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/a8ee2b51-6ed4-4f08-a047-205b5be08784 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 291.2855ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/a8ee2b51-6ed4-4f08-a047-205b5be08784/wrapping-key - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 688 - uncompressed: false - body: '{"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqK5lg8PF2WpDhc7JAYFQ\n6IWTtiDHEGm0r115Ji8ebd9MHSuw+DO4N0L/2EgxdVwBZS3+xu5Z7T6+dIV/RFSa\nUbLzfgo9PLOKdiu9jJSJqlGeDmlQgqfzVfCipW2aL2mLug7ny+MpPAPuVTgrxPEt\nEknjRA6XKSYwEO17hetBViRI6MsRuPq+dS/bh7hetKiawb5Jc+GbaoLN5eSqMMpy\n1soAigK6d1OH9mF6qcMrgrJcKkJlqySniIyGp169N139/JYiLIE8BhTVZeVwYQyo\n2t8SO68GMhVpA7pYyyK0gn1g3JVaoBa3NJOgNgjzEsVQ9NUtEjYtZYNOk2GKr82z\nch7lJFEd+cGn7erotsqRGWLM9j9xh0OwSZdJHY2ujedH6tQNAe8uMDiq0zamtwWg\njo9q/LZ3a694uCYg68S/DLFSGR6VRJMTRv7dcJvfj7cXXSJZF4d+q80Xagq7lYF/\ngkuAMcx3r/fGYueM7wnRkXYDTwEXxSruGNoknMfRkziLAgMBAAE=\n-----END PUBLIC KEY-----\n","algorithm":"CKM_RSA_AES_KEY_WRAP"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1.14082225s - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.95ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 150.104458ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 223.754917ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.327042ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 134.693834ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.027375ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 125.306417ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:15.077Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.21675ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.073167ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/a8ee2b51-6ed4-4f08-a047-205b5be08784 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 783.934875ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/a8ee2b51-6ed4-4f08-a047-205b5be08784 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.568125ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 141.015125ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 110.727875ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.794708ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.051458ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 240.217291ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 38 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"type":"customer-provided-root-key"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 223 - uncompressed: false - body: '{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 122.757375ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.066959ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69/wrapping-key - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 688 - uncompressed: false - body: '{"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvarwkufRPBCLNK1A4ZWR\ngZ07a/P0QZhE1RvwPvjoQ99YBVmJVqdAMdTWZC12DZ58r3mtdHOHkY4+Eol6NWXG\nLxqArfLz2WIyu8cx7nIDJtj5d7GaexbFVFPb47TbG8wnZaieNmj62g01PTKM56ar\nR899qSSfHV4y5Q1UBh9YEctdON1OaYVYmZ1Q5GSpe16kUVCFa8NFbrL/wEgqLHfc\n3203+U3X4bOriP+Q/DYSg5fotL9NNRxZBVIyXHiSpkWc98YKzqVER3aJwsB8/t58\nnzmhOL5vjMegU2qN/T91npDf2TgVzi5oEl2AtjUl5YJOnGjoiYojn1lXijwvCsbc\n+yqt9Hoyc+YVIsGUmOyhzmYys8Ugh0UpK5ZHYbbs5HwqQsbRP37YwraO0PJb0Tdk\n6DEGT92V69Tup357ZOfrsHuxg18Z3yYVbvpOysJR3FxGx6fxLZ93Z5MRwsvKDt6X\nBETtfYfIpRv2uRvD/Fn6QVDTP10UGsTNdUdyFlII0t6RAgMBAAE=\n-----END PUBLIC KEY-----\n","algorithm":"CKM_RSA_AES_KEY_WRAP"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 1.28676625s - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.5255ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 113.8925ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 129.961542ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 111.673375ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 139.59375ms - - id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.734291ms - - id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 138.688333ms - - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.213959ms - - id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 127.614875ms - - id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 32 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"wrapped_key":"bad-key-value"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 151 - uncompressed: false - body: '{"statusCode":400,"error":"Bad Request","message":"Invalid input. Wrapped key material is invalid or unsupported key type.","errorCode":"invalid_body"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 400 Bad Request - code: 400 - duration: 166.167416ms - - id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 109.636375ms - - id: 38 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:27.379Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:25.018Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 119.914ms - - id: 39 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 587 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"wrapped_key":"PF1bPh1jiej//2Q0ejkoWPXHX/bNzuAxiG4tsml5KUMqcyZRHDaO5iPLn29PuisAy3W2lhVQImqs2xyeoNOf00igjFwoNZLcxdXq+V85/vK7aVjJFSUNMAUtUQQF71rMz4EprE2gE+EUrC3EIeld6b77vcM1bdwg3qte0es0rIX+ksTI4Umeon+t3shJkL9CPRTM01R+Ou7elRQTyToFhPZNnNC/Ox5lTNC1Pz0NhC5b5n0Pu0JBNhiavBAnaqI/zJvesDnZGwMBk0j2Z6m7PXcacnaYITKlbAPK3DoKYtEdUBoWwgvVDruSzAjFNHz1t8f5iUaGWxeD0fY/m/cPeiAG6c2z2fAf7ti0kmFN3ZxgiDxk90VEZWQygY1zLhO7GcLBe5fqau2xrNqqEL2yMea2zgbvSXNXwweTDHQjZJkL06q1fTIQWD57c3JVfIE0zHb4t02CzymVkq3MgtP0utBUeeFCZ7oiOkfaHe4fTwbadr4EAbOz6rEkV5MR0p+DM08UaXmQRINmlcRtVzoqiTto3AmGSQ8bC/JvPcdl25K3a4gI772wMA=="} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69 - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 197 - uncompressed: false - body: '{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"active","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:36.436Z","parent_kid":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 5.138275167s - - id: 40 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"active","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:36.436Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 146.049ms - - id: 41 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"e3f86d8f-360d-409c-ba10-98051a922771","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:36.453Z","updated_at":"2024-10-04T14:11:36.453Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"active","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:36.436Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.438375ms - - id: 42 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"e3f86d8f-360d-409c-ba10-98051a922771","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:36.453Z","updated_at":"2024-10-04T14:11:36.453Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"active","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:36.436Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 142.530333ms - - id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 146.345917ms - - id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 118.139666ms - - id: 45 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"e3f86d8f-360d-409c-ba10-98051a922771","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:36.453Z","updated_at":"2024-10-04T14:11:36.453Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"active","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:36.436Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.5895ms - - id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"e3f86d8f-360d-409c-ba10-98051a922771","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:36.453Z","updated_at":"2024-10-04T14:11:36.453Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"active","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:36.436Z","parent_kid":null,"public_key":null},{"kid":"09ecaed5-7c08-47d4-951c-3167763cb785","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:25.018Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","public_key":null},{"kid":"a8ee2b51-6ed4-4f08-a047-205b5be08784","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:15.077Z","updated_at":"2024-10-04T14:11:24.985Z","parent_kid":null,"public_key":null},{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:25.636Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:11:37.071Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.797583ms - - id: 47 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.608583ms - - id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 878.332584ms - - id: 49 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/9cd36af3-80e0-4821-b8e6-58eaef816b69 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"kid":"9cd36af3-80e0-4821-b8e6-58eaef816b69","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:11:27.379Z","updated_at":"2024-10-04T14:11:40.064Z","parent_kid":null,"public_key":null}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 114.40775ms diff --git a/test/data/recordings/TestAccEncryptionKeyManagerRotation.yaml b/test/data/recordings/TestAccEncryptionKeyManagerRotation.yaml deleted file mode 100644 index aac5c7cdd..000000000 --- a/test/data/recordings/TestAccEncryptionKeyManagerRotation.yaml +++ /dev/null @@ -1,810 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 52 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"session_lifetime":168,"idle_session_lifetime":72} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 205.767958ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:09:59.532Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null},{"kid":"bf680f49-bcf1-48e7-aa30-99e9aeea870e","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:21.817Z","updated_at":"2024-10-03T21:04:36.289Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"ef53550d-abb6-4655-97fe-6fd2bf3f6b07","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:18.711Z","updated_at":"2024-10-03T21:04:21.804Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 224.452334ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 14 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"mtls":null} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 165.550333ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 181.434083ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 184.13475ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:09:59.532Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null},{"kid":"bf680f49-bcf1-48e7-aa30-99e9aeea870e","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:21.817Z","updated_at":"2024-10-03T21:04:36.289Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"ef53550d-abb6-4655-97fe-6fd2bf3f6b07","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:18.711Z","updated_at":"2024-10-03T21:04:21.804Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 220.436125ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 153.93325ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:09:59.532Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null},{"kid":"bf680f49-bcf1-48e7-aa30-99e9aeea870e","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:21.817Z","updated_at":"2024-10-03T21:04:36.289Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"ef53550d-abb6-4655-97fe-6fd2bf3f6b07","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:18.711Z","updated_at":"2024-10-03T21:04:21.804Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 156.316125ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/rekey - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 528.019958ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:06.690Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null},{"kid":"bf680f49-bcf1-48e7-aa30-99e9aeea870e","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:21.817Z","updated_at":"2024-10-03T21:04:36.289Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 122.698ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.335208ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:06.690Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null},{"kid":"bf680f49-bcf1-48e7-aa30-99e9aeea870e","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:21.817Z","updated_at":"2024-10-03T21:04:36.289Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 128.699125ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 112.831708ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:06.690Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null},{"kid":"bf680f49-bcf1-48e7-aa30-99e9aeea870e","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:21.817Z","updated_at":"2024-10-03T21:04:36.289Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 140.756125ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/rekey - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 755.013125ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.754833ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 115.448625ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 157.356709ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 117.022208ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.9455ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 146.882958ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.162166ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.11.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=5 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"keys":[{"kid":"5b40e87a-27e3-412c-9346-a9f84537ae13","type":"tenant-master-key","state":"active","created_at":"2024-10-04T14:11:08.785Z","updated_at":"2024-10-04T14:11:08.785Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"4b847b04-ab89-42b0-80c0-6608d26fd867","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:11:06.690Z","updated_at":"2024-10-04T14:11:09.173Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"c178a38a-8111-480b-a54f-a3dfea118773","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:59.532Z","updated_at":"2024-10-04T14:11:07.073Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","type":"environment-root-key","state":"active","created_at":"2024-10-04T14:09:59.517Z","updated_at":"2024-10-04T14:09:59.517Z","parent_kid":null,"public_key":null},{"kid":"cc9a475f-7452-43da-8443-67b9b2b98eec","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:56.653Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":"6a9a6357-6329-4265-91fc-2ab0d8434a15","public_key":null},{"kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:42.863Z","updated_at":"2024-10-04T14:10:00.405Z","parent_kid":null,"public_key":null},{"kid":"e8f991a2-2670-4d45-82b1-f05fd848ab31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T14:09:40.615Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":"571da357-4e58-4a96-9e60-8a7d284fcc6c","public_key":null},{"kid":"a569edb0-0bf6-4c12-acf8-8ef89a210d04","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T14:09:36.612Z","updated_at":"2024-10-04T14:09:40.598Z","parent_kid":null,"public_key":null},{"kid":"85ee5a87-2b60-4d12-a2f7-53ba37b2dfb2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:33.821Z","updated_at":"2024-10-04T14:09:41.211Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:57:33.794Z","updated_at":"2024-10-04T14:09:57.251Z","parent_kid":null,"public_key":null},{"kid":"10026795-56c1-45e0-b00b-71d85d8f51da","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:31.387Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":"46b619d2-ab17-442e-9fd5-72e44c617d8c","public_key":null},{"kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:21.705Z","updated_at":"2024-10-04T13:57:34.761Z","parent_kid":null,"public_key":null},{"kid":"a42df500-2596-467a-96cf-a57893c54fa0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:57:14.190Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":"8ae186db-6b17-4cf6-9b49-e6962ef216f3","public_key":null},{"kid":"3643f722-abb3-47b7-8773-682032798164","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:57:11.217Z","updated_at":"2024-10-04T13:57:14.100Z","parent_kid":null,"public_key":null},{"kid":"f69e7380-8927-4718-a773-6e54400a0fee","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:47.041Z","updated_at":"2024-10-04T13:57:14.828Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","type":"environment-root-key","state":"destroyed","created_at":"2024-10-04T13:53:47.025Z","updated_at":"2024-10-04T13:57:31.988Z","parent_kid":null,"public_key":null},{"kid":"147a0a26-755c-47d9-ba78-70bfb81effb1","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:44.581Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":"a33edce6-db4c-4b6f-9659-ec53e28084e5","public_key":null},{"kid":"860dad78-4b2a-4966-b410-49cc60299e81","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:29.881Z","updated_at":"2024-10-04T13:53:47.761Z","parent_kid":null,"public_key":null},{"kid":"6100332f-f050-4b73-88b3-ec032e761193","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-04T13:53:27.536Z","updated_at":"2024-10-04T13:53:45.229Z","parent_kid":"860dad78-4b2a-4966-b410-49cc60299e81","public_key":null},{"kid":"472793c9-1036-40bf-8a91-271a5450dbb4","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-04T13:53:23.784Z","updated_at":"2024-10-04T13:53:27.517Z","parent_kid":null,"public_key":null},{"kid":"482d3c00-db1f-41c5-880b-235f1a8ebc40","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:46:02.580Z","updated_at":"2024-10-04T13:53:28.108Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"caa6c1c0-736a-4224-82b7-21ca4a3dd908","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:51.656Z","updated_at":"2024-10-03T21:46:02.566Z","parent_kid":null,"public_key":null},{"kid":"56f5a62b-bd95-46b7-b14e-0d69f29b683f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:45:49.428Z","updated_at":"2024-10-03T21:46:03.145Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d2a64a43-829b-4f3f-b5c5-754ed451ad86","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:45:45.167Z","updated_at":"2024-10-03T21:45:49.414Z","parent_kid":null,"public_key":null},{"kid":"157dc901-01eb-4c9d-b269-1a38da4416c2","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:22.371Z","updated_at":"2024-10-03T21:45:49.991Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"47dbcf11-99bf-47e2-a276-0a541ad4901b","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:11.663Z","updated_at":"2024-10-03T21:43:22.343Z","parent_kid":null,"public_key":null},{"kid":"dc5989f9-6b3b-41da-9b2e-eebd3660493a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:43:09.216Z","updated_at":"2024-10-03T21:43:22.965Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"99276858-a3ae-4ded-a2f0-62ded118fcf2","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:43:05.810Z","updated_at":"2024-10-03T21:43:09.204Z","parent_kid":null,"public_key":null},{"kid":"d5a2db56-c103-443b-aa4d-0209d22a1f7c","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:14.689Z","updated_at":"2024-10-03T21:43:09.769Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"96d7bb6b-8c37-4230-a338-0cf490d50ab9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:41:05.138Z","updated_at":"2024-10-03T21:41:14.658Z","parent_kid":null,"public_key":null},{"kid":"9b0b8796-b4a1-454a-b36e-a8235cc8667f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:41:02.907Z","updated_at":"2024-10-03T21:41:15.259Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"e9dda37e-b960-4f92-9a15-5bc7c6ed72b9","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:40:59.230Z","updated_at":"2024-10-03T21:41:02.895Z","parent_kid":null,"public_key":null},{"kid":"a3026e21-f4a7-4161-99e4-8fa7fa8eb41a","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:49.983Z","updated_at":"2024-10-03T21:41:03.460Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"037ec356-1a73-4bf5-bfb4-ca56bc8c61e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:38.661Z","updated_at":"2024-10-03T21:27:49.952Z","parent_kid":null,"public_key":null},{"kid":"671c0e33-613b-4323-81ee-a0d9ecd3f1d0","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:27:36.340Z","updated_at":"2024-10-03T21:27:50.578Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"d897c343-4071-41f7-aed3-67695a34451f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:27:32.304Z","updated_at":"2024-10-03T21:27:36.327Z","parent_kid":null,"public_key":null},{"kid":"e3f8d1ab-1125-48b7-b35b-b4e0beb18cff","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:14.540Z","updated_at":"2024-10-03T21:27:36.894Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"454e1557-0d02-4245-96e9-3510fe19a690","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:22:08.628Z","updated_at":"2024-10-03T21:22:14.525Z","parent_kid":null,"public_key":null},{"kid":"fb59ded0-f3d6-4195-9fac-08fcd7dde140","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:22:01.299Z","updated_at":"2024-10-03T21:22:15.139Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"7c02c0a2-d833-4f8e-bedc-3ed8f1595894","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:21:58.242Z","updated_at":"2024-10-03T21:22:01.269Z","parent_kid":null,"public_key":null},{"kid":"1c76b6b7-4319-40e2-ba7a-8c8497ad2aa9","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:17:09.120Z","updated_at":"2024-10-03T21:22:01.854Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"dfb1b07d-9405-4cb5-ad07-2d745b98c59f","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:58.926Z","updated_at":"2024-10-03T21:17:09.107Z","parent_kid":null,"public_key":null},{"kid":"17631625-dbd0-4bd4-bef2-db841e8cd8ea","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:16:56.726Z","updated_at":"2024-10-03T21:17:09.662Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"1e8d716a-c9e9-462a-ae9d-ce179258d853","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:16:53.252Z","updated_at":"2024-10-03T21:16:56.709Z","parent_kid":null,"public_key":null},{"kid":"64da35b0-7fd4-4974-bc1a-56fd45084a1b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:12:09.474Z","updated_at":"2024-10-03T21:16:57.273Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"33016b12-353e-48d1-8dc2-2dfe9bc451b1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:58.848Z","updated_at":"2024-10-03T21:12:09.459Z","parent_kid":null,"public_key":null},{"kid":"8bbd49ac-3195-4509-9ab0-564d50c0eaac","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:11:56.593Z","updated_at":"2024-10-03T21:12:10.016Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"9cab2bfb-1dcd-4164-9293-349ad772a315","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:11:52.993Z","updated_at":"2024-10-03T21:11:56.579Z","parent_kid":null,"public_key":null},{"kid":"65905b6c-63c6-4408-9575-8bebdcd92f0b","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-03T21:04:35.628Z","updated_at":"2024-10-03T21:11:57.138Z","parent_kid":"afa24d67-84cf-4e77-bf55-af0a77df8fa6","public_key":null},{"kid":"f5c6855e-4741-44ee-a7c4-400bc9a5a5e1","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-03T21:04:30.089Z","updated_at":"2024-10-03T21:04:35.615Z","parent_kid":null,"public_key":null}],"start":0,"limit":0,"total":0}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 145.801ms diff --git a/test/data/recordings/TestAccDataSourceResourceServer.yaml b/test/data/recordings/TestAccFrameworkDataSourceResourceServer.yaml similarity index 73% rename from test/data/recordings/TestAccDataSourceResourceServer.yaml rename to test/data/recordings/TestAccFrameworkDataSourceResourceServer.yaml index 6a5fb8a8b..ad81241d0 100644 --- a/test/data/recordings/TestAccDataSourceResourceServer.yaml +++ b/test/data/recordings/TestAccFrameworkDataSourceResourceServer.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/this-resource-server-does-not-exist method: GET response: @@ -35,26 +35,26 @@ interactions: - application/json; charset=utf-8 status: 404 Not Found code: 404 - duration: 224.217875ms + duration: 174.095833ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 334 + content_length: 352 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} + {"name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -63,36 +63,35 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 365 + content_length: 383 uncompressed: false - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 216.605292ms + duration: 155.123541ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 31 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"authorization_details":null} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -101,34 +100,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 199.307958ms + duration: 123.616959ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 26 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"token_encryption":null} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -137,33 +135,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 173.619708ms + duration: 133.834708ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 29 + content_length: 115 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"proof_of_possession":null} + {"scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: PATCH response: proto: HTTP/2.0 @@ -173,13 +171,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 206.686875ms + duration: 157.224583ms - id: 5 request: proto: HTTP/1.1 @@ -197,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -208,13 +206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 185.931208ms + duration: 146.615459ms - id: 6 request: proto: HTTP/1.1 @@ -232,8 +230,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -243,34 +241,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 202.005291ms + duration: 151.541917ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 115 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccFrameworkDataSourceResourceServer + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -279,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 206.748375ms + duration: 128.777583ms - id: 8 request: proto: HTTP/1.1 @@ -303,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -314,13 +311,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 348.434458ms + duration: 116.322875ms - id: 9 request: proto: HTTP/1.1 @@ -338,8 +335,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -349,13 +346,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 218.010583ms + duration: 126.738208ms - id: 10 request: proto: HTTP/1.1 @@ -373,8 +370,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -384,13 +381,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 176.853958ms + duration: 131.782125ms - id: 11 request: proto: HTTP/1.1 @@ -408,8 +405,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -419,13 +416,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 193.424417ms + duration: 134.147084ms - id: 12 request: proto: HTTP/1.1 @@ -443,8 +440,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -454,13 +451,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 196.964334ms + duration: 124.418042ms - id: 13 request: proto: HTTP/1.1 @@ -478,8 +475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fuat.api.terraform-provider-auth0.com%252FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -489,13 +486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 207.167584ms + duration: 151.771375ms - id: 14 request: proto: HTTP/1.1 @@ -513,8 +510,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -524,13 +521,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 170.270167ms + duration: 110.954792ms - id: 15 request: proto: HTTP/1.1 @@ -548,8 +545,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -559,13 +556,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 217.379583ms + duration: 118.930333ms - id: 16 request: proto: HTTP/1.1 @@ -583,8 +580,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -594,13 +591,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 166.08825ms + duration: 132.512ms - id: 17 request: proto: HTTP/1.1 @@ -618,8 +615,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -629,13 +626,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 168.946292ms + duration: 139.205625ms - id: 18 request: proto: HTTP/1.1 @@ -653,8 +650,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: GET response: proto: HTTP/2.0 @@ -664,13 +661,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 196.808584ms + duration: 115.624458ms - id: 19 request: proto: HTTP/1.1 @@ -688,8 +685,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: GET response: proto: HTTP/2.0 @@ -699,13 +696,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 195.76175ms + duration: 120.076042ms - id: 20 request: proto: HTTP/1.1 @@ -723,77 +720,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 221.510166ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 200.0435ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F method: GET response: @@ -804,49 +731,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"630fb8508f2040fc2d041057","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read SCIM configuration","value":"read:scim_config"},{"description":"Create SCIM configuration","value":"create:scim_config"},{"description":"Update SCIM configuration","value":"update:scim_config"},{"description":"Delete SCIM configuration","value":"delete:scim_config"},{"description":"Create SCIM token","value":"create:scim_token"},{"description":"Read SCIM token","value":"read:scim_token"},{"description":"Delete SCIM token","value":"delete:scim_token"},{"description":"Delete a Phone Notification Provider","value":"delete:phone_providers"},{"description":"Create a Phone Notification Provider","value":"create:phone_providers"},{"description":"Read a Phone Notification Provider","value":"read:phone_providers"},{"description":"Update a Phone Notification Provider","value":"update:phone_providers"},{"description":"Delete a Phone Notification Template","value":"delete:phone_templates"},{"description":"Create a Phone Notification Template","value":"create:phone_templates"},{"description":"Read a Phone Notification Template","value":"read:phone_templates"},{"description":"Update a Phone Notification Template","value":"update:phone_templates"},{"description":"Create encryption keys","value":"create:encryption_keys"},{"description":"Read encryption keys","value":"read:encryption_keys"},{"description":"Update encryption keys","value":"update:encryption_keys"},{"description":"Delete encryption keys","value":"delete:encryption_keys"},{"description":"Read Sessions","value":"read:sessions"},{"description":"Delete Sessions","value":"delete:sessions"},{"description":"Read Refresh Tokens","value":"read:refresh_tokens"},{"description":"Delete Refresh Tokens","value":"delete:refresh_tokens"},{"description":"Create Self Service Profiles","value":"create:self_service_profiles"},{"description":"Read Self Service Profiles","value":"read:self_service_profiles"},{"description":"Update Self Service Profiles","value":"update:self_service_profiles"},{"description":"Delete Self Service Profiles","value":"delete:self_service_profiles"},{"description":"Create SSO Access Tickets","value":"create:sso_access_tickets"},{"description":"Read Forms","value":"read:forms"},{"description":"Update Forms","value":"update:forms"},{"description":"Delete Forms","value":"delete:forms"},{"description":"Create Forms","value":"create:forms"},{"description":"Read Flows","value":"read:flows"},{"description":"Update Flows","value":"update:flows"},{"description":"Delete Flows","value":"delete:flows"},{"description":"Create Flows","value":"create:flows"},{"description":"Read Flows Vault items","value":"read:flows_vault"},{"description":"Read Flows Vault connections","value":"read:flows_vault_connections"},{"description":"Update Flows Vault connections","value":"update:flows_vault_connections"},{"description":"Delete Flows Vault connections","value":"delete:flows_vault_connections"},{"description":"Create Flows Vault connections","value":"create:flows_vault_connections"},{"description":"Read Flows Executions","value":"read:flows_executions"},{"description":"Delete Flows Executions","value":"delete:flows_executions"},{"description":"Read Connections Options","value":"read:connections_options"},{"description":"Update Connections Options","value":"update:connections_options"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 202.801833ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[{"value":"create:bar","description":"Create bars"},{"value":"create:foo","description":"Create foos"}],"enforce_policies":true}' + body: '{"id":"671fbd26fe3d2ef1626ddc4b","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read SCIM configuration","value":"read:scim_config"},{"description":"Create SCIM configuration","value":"create:scim_config"},{"description":"Update SCIM configuration","value":"update:scim_config"},{"description":"Delete SCIM configuration","value":"delete:scim_config"},{"description":"Create SCIM token","value":"create:scim_token"},{"description":"Read SCIM token","value":"read:scim_token"},{"description":"Delete SCIM token","value":"delete:scim_token"},{"description":"Delete a Phone Notification Provider","value":"delete:phone_providers"},{"description":"Create a Phone Notification Provider","value":"create:phone_providers"},{"description":"Read a Phone Notification Provider","value":"read:phone_providers"},{"description":"Update a Phone Notification Provider","value":"update:phone_providers"},{"description":"Delete a Phone Notification Template","value":"delete:phone_templates"},{"description":"Create a Phone Notification Template","value":"create:phone_templates"},{"description":"Read a Phone Notification Template","value":"read:phone_templates"},{"description":"Update a Phone Notification Template","value":"update:phone_templates"},{"description":"Create encryption keys","value":"create:encryption_keys"},{"description":"Read encryption keys","value":"read:encryption_keys"},{"description":"Update encryption keys","value":"update:encryption_keys"},{"description":"Delete encryption keys","value":"delete:encryption_keys"},{"description":"Read Sessions","value":"read:sessions"},{"description":"Delete Sessions","value":"delete:sessions"},{"description":"Read Refresh Tokens","value":"read:refresh_tokens"},{"description":"Delete Refresh Tokens","value":"delete:refresh_tokens"},{"description":"Create Self Service Profiles","value":"create:self_service_profiles"},{"description":"Read Self Service Profiles","value":"read:self_service_profiles"},{"description":"Update Self Service Profiles","value":"update:self_service_profiles"},{"description":"Delete Self Service Profiles","value":"delete:self_service_profiles"},{"description":"Create SSO Access Tickets","value":"create:sso_access_tickets"},{"description":"Delete SSO Access Tickets","value":"delete:sso_access_tickets"},{"description":"Read Forms","value":"read:forms"},{"description":"Update Forms","value":"update:forms"},{"description":"Delete Forms","value":"delete:forms"},{"description":"Create Forms","value":"create:forms"},{"description":"Read Flows","value":"read:flows"},{"description":"Update Flows","value":"update:flows"},{"description":"Delete Flows","value":"delete:flows"},{"description":"Create Flows","value":"create:flows"},{"description":"Read Flows Vault items","value":"read:flows_vault"},{"description":"Read Flows Vault connections","value":"read:flows_vault_connections"},{"description":"Update Flows Vault connections","value":"update:flows_vault_connections"},{"description":"Delete Flows Vault connections","value":"delete:flows_vault_connections"},{"description":"Create Flows Vault connections","value":"create:flows_vault_connections"},{"description":"Read Flows Executions","value":"read:flows_executions"},{"description":"Delete Flows Executions","value":"delete:flows_executions"},{"description":"Read Connections Options","value":"read:connections_options"},{"description":"Update Connections Options","value":"update:connections_options"},{"description":"Read Self Service Profile Custom Texts","value":"read:self_service_profile_custom_texts"},{"description":"Update Self Service Profile Custom Texts","value":"update:self_service_profile_custom_texts"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"},{"value":"read:organization_client_grants","description":"Read Organization Client Grants"},{"value":"create:organization_client_grants","description":"Create Organization Client Grants"},{"value":"delete:organization_client_grants","description":"Delete Organization Client Grants"},{"value":"update:device_codes","description":"Update Device Codes"},{"value":"read:device_codes","description":"Read Device Codes"}],"is_system":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.313417ms - - id: 24 + duration: 120.1355ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -864,8 +756,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccDataSourceResourceServer + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2FTestAccFrameworkDataSourceResourceServer method: PATCH response: proto: HTTP/2.0 @@ -875,14 +767,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e0a075f78b6885dea05711","name":"Acceptance Test - TestAccDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[],"enforce_policies":true}' + body: '{"id":"67905b080c9879730e744dd1","name":"Acceptance Test - TestAccFrameworkDataSourceResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkDataSourceResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","scopes":[],"enforce_policies":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 228.940041ms - - id: 25 + duration: 148.507167ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -899,8 +791,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e0a075f78b6885dea05711 + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905b080c9879730e744dd1 method: DELETE response: proto: HTTP/2.0 @@ -916,8 +808,8 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 217.113084ms - - id: 26 + duration: 164.253042ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -934,7 +826,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F method: GET response: @@ -945,14 +837,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"630fb8508f2040fc2d041057","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read SCIM configuration","value":"read:scim_config"},{"description":"Create SCIM configuration","value":"create:scim_config"},{"description":"Update SCIM configuration","value":"update:scim_config"},{"description":"Delete SCIM configuration","value":"delete:scim_config"},{"description":"Create SCIM token","value":"create:scim_token"},{"description":"Read SCIM token","value":"read:scim_token"},{"description":"Delete SCIM token","value":"delete:scim_token"},{"description":"Delete a Phone Notification Provider","value":"delete:phone_providers"},{"description":"Create a Phone Notification Provider","value":"create:phone_providers"},{"description":"Read a Phone Notification Provider","value":"read:phone_providers"},{"description":"Update a Phone Notification Provider","value":"update:phone_providers"},{"description":"Delete a Phone Notification Template","value":"delete:phone_templates"},{"description":"Create a Phone Notification Template","value":"create:phone_templates"},{"description":"Read a Phone Notification Template","value":"read:phone_templates"},{"description":"Update a Phone Notification Template","value":"update:phone_templates"},{"description":"Create encryption keys","value":"create:encryption_keys"},{"description":"Read encryption keys","value":"read:encryption_keys"},{"description":"Update encryption keys","value":"update:encryption_keys"},{"description":"Delete encryption keys","value":"delete:encryption_keys"},{"description":"Read Sessions","value":"read:sessions"},{"description":"Delete Sessions","value":"delete:sessions"},{"description":"Read Refresh Tokens","value":"read:refresh_tokens"},{"description":"Delete Refresh Tokens","value":"delete:refresh_tokens"},{"description":"Create Self Service Profiles","value":"create:self_service_profiles"},{"description":"Read Self Service Profiles","value":"read:self_service_profiles"},{"description":"Update Self Service Profiles","value":"update:self_service_profiles"},{"description":"Delete Self Service Profiles","value":"delete:self_service_profiles"},{"description":"Create SSO Access Tickets","value":"create:sso_access_tickets"},{"description":"Read Forms","value":"read:forms"},{"description":"Update Forms","value":"update:forms"},{"description":"Delete Forms","value":"delete:forms"},{"description":"Create Forms","value":"create:forms"},{"description":"Read Flows","value":"read:flows"},{"description":"Update Flows","value":"update:flows"},{"description":"Delete Flows","value":"delete:flows"},{"description":"Create Flows","value":"create:flows"},{"description":"Read Flows Vault items","value":"read:flows_vault"},{"description":"Read Flows Vault connections","value":"read:flows_vault_connections"},{"description":"Update Flows Vault connections","value":"update:flows_vault_connections"},{"description":"Delete Flows Vault connections","value":"delete:flows_vault_connections"},{"description":"Create Flows Vault connections","value":"create:flows_vault_connections"},{"description":"Read Flows Executions","value":"read:flows_executions"},{"description":"Delete Flows Executions","value":"delete:flows_executions"},{"description":"Read Connections Options","value":"read:connections_options"},{"description":"Update Connections Options","value":"update:connections_options"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' + body: '{"id":"671fbd26fe3d2ef1626ddc4b","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read SCIM configuration","value":"read:scim_config"},{"description":"Create SCIM configuration","value":"create:scim_config"},{"description":"Update SCIM configuration","value":"update:scim_config"},{"description":"Delete SCIM configuration","value":"delete:scim_config"},{"description":"Create SCIM token","value":"create:scim_token"},{"description":"Read SCIM token","value":"read:scim_token"},{"description":"Delete SCIM token","value":"delete:scim_token"},{"description":"Delete a Phone Notification Provider","value":"delete:phone_providers"},{"description":"Create a Phone Notification Provider","value":"create:phone_providers"},{"description":"Read a Phone Notification Provider","value":"read:phone_providers"},{"description":"Update a Phone Notification Provider","value":"update:phone_providers"},{"description":"Delete a Phone Notification Template","value":"delete:phone_templates"},{"description":"Create a Phone Notification Template","value":"create:phone_templates"},{"description":"Read a Phone Notification Template","value":"read:phone_templates"},{"description":"Update a Phone Notification Template","value":"update:phone_templates"},{"description":"Create encryption keys","value":"create:encryption_keys"},{"description":"Read encryption keys","value":"read:encryption_keys"},{"description":"Update encryption keys","value":"update:encryption_keys"},{"description":"Delete encryption keys","value":"delete:encryption_keys"},{"description":"Read Sessions","value":"read:sessions"},{"description":"Delete Sessions","value":"delete:sessions"},{"description":"Read Refresh Tokens","value":"read:refresh_tokens"},{"description":"Delete Refresh Tokens","value":"delete:refresh_tokens"},{"description":"Create Self Service Profiles","value":"create:self_service_profiles"},{"description":"Read Self Service Profiles","value":"read:self_service_profiles"},{"description":"Update Self Service Profiles","value":"update:self_service_profiles"},{"description":"Delete Self Service Profiles","value":"delete:self_service_profiles"},{"description":"Create SSO Access Tickets","value":"create:sso_access_tickets"},{"description":"Delete SSO Access Tickets","value":"delete:sso_access_tickets"},{"description":"Read Forms","value":"read:forms"},{"description":"Update Forms","value":"update:forms"},{"description":"Delete Forms","value":"delete:forms"},{"description":"Create Forms","value":"create:forms"},{"description":"Read Flows","value":"read:flows"},{"description":"Update Flows","value":"update:flows"},{"description":"Delete Flows","value":"delete:flows"},{"description":"Create Flows","value":"create:flows"},{"description":"Read Flows Vault items","value":"read:flows_vault"},{"description":"Read Flows Vault connections","value":"read:flows_vault_connections"},{"description":"Update Flows Vault connections","value":"update:flows_vault_connections"},{"description":"Delete Flows Vault connections","value":"delete:flows_vault_connections"},{"description":"Create Flows Vault connections","value":"create:flows_vault_connections"},{"description":"Read Flows Executions","value":"read:flows_executions"},{"description":"Delete Flows Executions","value":"delete:flows_executions"},{"description":"Read Connections Options","value":"read:connections_options"},{"description":"Update Connections Options","value":"update:connections_options"},{"description":"Read Self Service Profile Custom Texts","value":"read:self_service_profile_custom_texts"},{"description":"Update Self Service Profile Custom Texts","value":"update:self_service_profile_custom_texts"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"},{"value":"read:organization_client_grants","description":"Read Organization Client Grants"},{"value":"create:organization_client_grants","description":"Create Organization Client Grants"},{"value":"delete:organization_client_grants","description":"Delete Organization Client Grants"},{"value":"update:device_codes","description":"Update Device Codes"},{"value":"read:device_codes","description":"Read Device Codes"}],"is_system":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 169.535167ms - - id: 27 + duration: 134.616875ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -969,7 +861,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%252F%252Fterraform-provider-auth0-dev.eu.auth0.com%252Fapi%252Fv2%252F method: GET response: @@ -980,10 +872,10 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"630fb8508f2040fc2d041057","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read SCIM configuration","value":"read:scim_config"},{"description":"Create SCIM configuration","value":"create:scim_config"},{"description":"Update SCIM configuration","value":"update:scim_config"},{"description":"Delete SCIM configuration","value":"delete:scim_config"},{"description":"Create SCIM token","value":"create:scim_token"},{"description":"Read SCIM token","value":"read:scim_token"},{"description":"Delete SCIM token","value":"delete:scim_token"},{"description":"Delete a Phone Notification Provider","value":"delete:phone_providers"},{"description":"Create a Phone Notification Provider","value":"create:phone_providers"},{"description":"Read a Phone Notification Provider","value":"read:phone_providers"},{"description":"Update a Phone Notification Provider","value":"update:phone_providers"},{"description":"Delete a Phone Notification Template","value":"delete:phone_templates"},{"description":"Create a Phone Notification Template","value":"create:phone_templates"},{"description":"Read a Phone Notification Template","value":"read:phone_templates"},{"description":"Update a Phone Notification Template","value":"update:phone_templates"},{"description":"Create encryption keys","value":"create:encryption_keys"},{"description":"Read encryption keys","value":"read:encryption_keys"},{"description":"Update encryption keys","value":"update:encryption_keys"},{"description":"Delete encryption keys","value":"delete:encryption_keys"},{"description":"Read Sessions","value":"read:sessions"},{"description":"Delete Sessions","value":"delete:sessions"},{"description":"Read Refresh Tokens","value":"read:refresh_tokens"},{"description":"Delete Refresh Tokens","value":"delete:refresh_tokens"},{"description":"Create Self Service Profiles","value":"create:self_service_profiles"},{"description":"Read Self Service Profiles","value":"read:self_service_profiles"},{"description":"Update Self Service Profiles","value":"update:self_service_profiles"},{"description":"Delete Self Service Profiles","value":"delete:self_service_profiles"},{"description":"Create SSO Access Tickets","value":"create:sso_access_tickets"},{"description":"Read Forms","value":"read:forms"},{"description":"Update Forms","value":"update:forms"},{"description":"Delete Forms","value":"delete:forms"},{"description":"Create Forms","value":"create:forms"},{"description":"Read Flows","value":"read:flows"},{"description":"Update Flows","value":"update:flows"},{"description":"Delete Flows","value":"delete:flows"},{"description":"Create Flows","value":"create:flows"},{"description":"Read Flows Vault items","value":"read:flows_vault"},{"description":"Read Flows Vault connections","value":"read:flows_vault_connections"},{"description":"Update Flows Vault connections","value":"update:flows_vault_connections"},{"description":"Delete Flows Vault connections","value":"delete:flows_vault_connections"},{"description":"Create Flows Vault connections","value":"create:flows_vault_connections"},{"description":"Read Flows Executions","value":"read:flows_executions"},{"description":"Delete Flows Executions","value":"delete:flows_executions"},{"description":"Read Connections Options","value":"read:connections_options"},{"description":"Update Connections Options","value":"update:connections_options"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"}],"is_system":true}' + body: '{"id":"671fbd26fe3d2ef1626ddc4b","name":"Auth0 Management API","identifier":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"description":"Read Client Grants","value":"read:client_grants"},{"description":"Create Client Grants","value":"create:client_grants"},{"description":"Delete Client Grants","value":"delete:client_grants"},{"description":"Update Client Grants","value":"update:client_grants"},{"description":"Read Users","value":"read:users"},{"description":"Update Users","value":"update:users"},{"description":"Delete Users","value":"delete:users"},{"description":"Create Users","value":"create:users"},{"description":"Read Users App Metadata","value":"read:users_app_metadata"},{"description":"Update Users App Metadata","value":"update:users_app_metadata"},{"description":"Delete Users App Metadata","value":"delete:users_app_metadata"},{"description":"Create Users App Metadata","value":"create:users_app_metadata"},{"description":"Read Custom User Blocks","value":"read:user_custom_blocks"},{"description":"Create Custom User Blocks","value":"create:user_custom_blocks"},{"description":"Delete Custom User Blocks","value":"delete:user_custom_blocks"},{"description":"Create User Tickets","value":"create:user_tickets"},{"description":"Read Clients","value":"read:clients"},{"description":"Update Clients","value":"update:clients"},{"description":"Delete Clients","value":"delete:clients"},{"description":"Create Clients","value":"create:clients"},{"description":"Read Client Keys","value":"read:client_keys"},{"description":"Update Client Keys","value":"update:client_keys"},{"description":"Delete Client Keys","value":"delete:client_keys"},{"description":"Create Client Keys","value":"create:client_keys"},{"description":"Read Connections","value":"read:connections"},{"description":"Update Connections","value":"update:connections"},{"description":"Delete Connections","value":"delete:connections"},{"description":"Create Connections","value":"create:connections"},{"description":"Read Resource Servers","value":"read:resource_servers"},{"description":"Update Resource Servers","value":"update:resource_servers"},{"description":"Delete Resource Servers","value":"delete:resource_servers"},{"description":"Create Resource Servers","value":"create:resource_servers"},{"description":"Read Device Credentials","value":"read:device_credentials"},{"description":"Update Device Credentials","value":"update:device_credentials"},{"description":"Delete Device Credentials","value":"delete:device_credentials"},{"description":"Create Device Credentials","value":"create:device_credentials"},{"description":"Read Rules","value":"read:rules"},{"description":"Update Rules","value":"update:rules"},{"description":"Delete Rules","value":"delete:rules"},{"description":"Create Rules","value":"create:rules"},{"description":"Read Rules Configs","value":"read:rules_configs"},{"description":"Update Rules Configs","value":"update:rules_configs"},{"description":"Delete Rules Configs","value":"delete:rules_configs"},{"description":"Read Hooks","value":"read:hooks"},{"description":"Update Hooks","value":"update:hooks"},{"description":"Delete Hooks","value":"delete:hooks"},{"description":"Create Hooks","value":"create:hooks"},{"description":"Read Actions","value":"read:actions"},{"description":"Update Actions","value":"update:actions"},{"description":"Delete Actions","value":"delete:actions"},{"description":"Create Actions","value":"create:actions"},{"description":"Read Email Provider","value":"read:email_provider"},{"description":"Update Email Provider","value":"update:email_provider"},{"description":"Delete Email Provider","value":"delete:email_provider"},{"description":"Create Email Provider","value":"create:email_provider"},{"description":"Blacklist Tokens","value":"blacklist:tokens"},{"description":"Read Stats","value":"read:stats"},{"description":"Read Insights","value":"read:insights"},{"description":"Read Tenant Settings","value":"read:tenant_settings"},{"description":"Update Tenant Settings","value":"update:tenant_settings"},{"description":"Read Logs","value":"read:logs"},{"description":"Read logs relating to users","value":"read:logs_users"},{"description":"Read Shields","value":"read:shields"},{"description":"Create Shields","value":"create:shields"},{"description":"Update Shields","value":"update:shields"},{"description":"Delete Shields","value":"delete:shields"},{"description":"Read Anomaly Detection Blocks","value":"read:anomaly_blocks"},{"description":"Delete Anomaly Detection Blocks","value":"delete:anomaly_blocks"},{"description":"Update Triggers","value":"update:triggers"},{"description":"Read Triggers","value":"read:triggers"},{"description":"Read User Grants","value":"read:grants"},{"description":"Delete User Grants","value":"delete:grants"},{"description":"Read Guardian factors configuration","value":"read:guardian_factors"},{"description":"Update Guardian factors","value":"update:guardian_factors"},{"description":"Read Guardian enrollments","value":"read:guardian_enrollments"},{"description":"Delete Guardian enrollments","value":"delete:guardian_enrollments"},{"description":"Create enrollment tickets for Guardian","value":"create:guardian_enrollment_tickets"},{"description":"Read Users IDP tokens","value":"read:user_idp_tokens"},{"description":"Create password checking jobs","value":"create:passwords_checking_job"},{"description":"Deletes password checking job and all its resources","value":"delete:passwords_checking_job"},{"description":"Read custom domains configurations","value":"read:custom_domains"},{"description":"Delete custom domains configurations","value":"delete:custom_domains"},{"description":"Configure new custom domains","value":"create:custom_domains"},{"description":"Update custom domain configurations","value":"update:custom_domains"},{"description":"Read email templates","value":"read:email_templates"},{"description":"Create email templates","value":"create:email_templates"},{"description":"Update email templates","value":"update:email_templates"},{"description":"Read Multifactor Authentication policies","value":"read:mfa_policies"},{"description":"Update Multifactor Authentication policies","value":"update:mfa_policies"},{"description":"Read roles","value":"read:roles"},{"description":"Create roles","value":"create:roles"},{"description":"Delete roles","value":"delete:roles"},{"description":"Update roles","value":"update:roles"},{"description":"Read prompts settings","value":"read:prompts"},{"description":"Update prompts settings","value":"update:prompts"},{"description":"Read branding settings","value":"read:branding"},{"description":"Update branding settings","value":"update:branding"},{"description":"Delete branding settings","value":"delete:branding"},{"description":"Read log_streams","value":"read:log_streams"},{"description":"Create log_streams","value":"create:log_streams"},{"description":"Delete log_streams","value":"delete:log_streams"},{"description":"Update log_streams","value":"update:log_streams"},{"description":"Create signing keys","value":"create:signing_keys"},{"description":"Read signing keys","value":"read:signing_keys"},{"description":"Update signing keys","value":"update:signing_keys"},{"description":"Read entity limits","value":"read:limits"},{"description":"Update entity limits","value":"update:limits"},{"description":"Create role members","value":"create:role_members"},{"description":"Read role members","value":"read:role_members"},{"description":"Update role members","value":"delete:role_members"},{"description":"Read entitlements","value":"read:entitlements"},{"description":"Read attack protection","value":"read:attack_protection"},{"description":"Update attack protection","value":"update:attack_protection"},{"description":"Read organization summary","value":"read:organizations_summary"},{"description":"Create Authentication Methods","value":"create:authentication_methods"},{"description":"Read Authentication Methods","value":"read:authentication_methods"},{"description":"Update Authentication Methods","value":"update:authentication_methods"},{"description":"Delete Authentication Methods","value":"delete:authentication_methods"},{"description":"Read Organizations","value":"read:organizations"},{"description":"Update Organizations","value":"update:organizations"},{"description":"Create Organizations","value":"create:organizations"},{"description":"Delete Organizations","value":"delete:organizations"},{"description":"Create organization members","value":"create:organization_members"},{"description":"Read organization members","value":"read:organization_members"},{"description":"Delete organization members","value":"delete:organization_members"},{"description":"Create organization connections","value":"create:organization_connections"},{"description":"Read organization connections","value":"read:organization_connections"},{"description":"Update organization connections","value":"update:organization_connections"},{"description":"Delete organization connections","value":"delete:organization_connections"},{"description":"Create organization member roles","value":"create:organization_member_roles"},{"description":"Read organization member roles","value":"read:organization_member_roles"},{"description":"Delete organization member roles","value":"delete:organization_member_roles"},{"description":"Create organization invitations","value":"create:organization_invitations"},{"description":"Read organization invitations","value":"read:organization_invitations"},{"description":"Delete organization invitations","value":"delete:organization_invitations"},{"description":"Read SCIM configuration","value":"read:scim_config"},{"description":"Create SCIM configuration","value":"create:scim_config"},{"description":"Update SCIM configuration","value":"update:scim_config"},{"description":"Delete SCIM configuration","value":"delete:scim_config"},{"description":"Create SCIM token","value":"create:scim_token"},{"description":"Read SCIM token","value":"read:scim_token"},{"description":"Delete SCIM token","value":"delete:scim_token"},{"description":"Delete a Phone Notification Provider","value":"delete:phone_providers"},{"description":"Create a Phone Notification Provider","value":"create:phone_providers"},{"description":"Read a Phone Notification Provider","value":"read:phone_providers"},{"description":"Update a Phone Notification Provider","value":"update:phone_providers"},{"description":"Delete a Phone Notification Template","value":"delete:phone_templates"},{"description":"Create a Phone Notification Template","value":"create:phone_templates"},{"description":"Read a Phone Notification Template","value":"read:phone_templates"},{"description":"Update a Phone Notification Template","value":"update:phone_templates"},{"description":"Create encryption keys","value":"create:encryption_keys"},{"description":"Read encryption keys","value":"read:encryption_keys"},{"description":"Update encryption keys","value":"update:encryption_keys"},{"description":"Delete encryption keys","value":"delete:encryption_keys"},{"description":"Read Sessions","value":"read:sessions"},{"description":"Delete Sessions","value":"delete:sessions"},{"description":"Read Refresh Tokens","value":"read:refresh_tokens"},{"description":"Delete Refresh Tokens","value":"delete:refresh_tokens"},{"description":"Create Self Service Profiles","value":"create:self_service_profiles"},{"description":"Read Self Service Profiles","value":"read:self_service_profiles"},{"description":"Update Self Service Profiles","value":"update:self_service_profiles"},{"description":"Delete Self Service Profiles","value":"delete:self_service_profiles"},{"description":"Create SSO Access Tickets","value":"create:sso_access_tickets"},{"description":"Delete SSO Access Tickets","value":"delete:sso_access_tickets"},{"description":"Read Forms","value":"read:forms"},{"description":"Update Forms","value":"update:forms"},{"description":"Delete Forms","value":"delete:forms"},{"description":"Create Forms","value":"create:forms"},{"description":"Read Flows","value":"read:flows"},{"description":"Update Flows","value":"update:flows"},{"description":"Delete Flows","value":"delete:flows"},{"description":"Create Flows","value":"create:flows"},{"description":"Read Flows Vault items","value":"read:flows_vault"},{"description":"Read Flows Vault connections","value":"read:flows_vault_connections"},{"description":"Update Flows Vault connections","value":"update:flows_vault_connections"},{"description":"Delete Flows Vault connections","value":"delete:flows_vault_connections"},{"description":"Create Flows Vault connections","value":"create:flows_vault_connections"},{"description":"Read Flows Executions","value":"read:flows_executions"},{"description":"Delete Flows Executions","value":"delete:flows_executions"},{"description":"Read Connections Options","value":"read:connections_options"},{"description":"Update Connections Options","value":"update:connections_options"},{"description":"Read Self Service Profile Custom Texts","value":"read:self_service_profile_custom_texts"},{"description":"Update Self Service Profile Custom Texts","value":"update:self_service_profile_custom_texts"},{"value":"read:client_credentials","description":"Read Client Credentials"},{"value":"create:client_credentials","description":"Create Client Credentials"},{"value":"update:client_credentials","description":"Update Client Credentials"},{"value":"delete:client_credentials","description":"delete Client Credentials"},{"value":"read:organization_client_grants","description":"Read Organization Client Grants"},{"value":"create:organization_client_grants","description":"Create Organization Client Grants"},{"value":"delete:organization_client_grants","description":"Delete Organization Client Grants"},{"value":"update:device_codes","description":"Update Device Codes"},{"value":"read:device_codes","description":"Read Device Codes"}],"is_system":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.872208ms + duration: 145.917708ms diff --git a/test/data/recordings/TestAccFrameworkEncryptionKeyManagerCustomerProvidedRootKey.yaml b/test/data/recordings/TestAccFrameworkEncryptionKeyManagerCustomerProvidedRootKey.yaml new file mode 100644 index 000000000..d552d18a8 --- /dev/null +++ b/test/data/recordings/TestAccFrameworkEncryptionKeyManagerCustomerProvidedRootKey.yaml @@ -0,0 +1,1724 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 52 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"session_lifetime":168,"idle_session_lifetime":72} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 184.355084ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 14 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"mtls":null} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"cannot_change_enforce_client_authentication_on_passwordless_start":true,"disable_impersonation":true,"enable_sso":true,"enforce_client_authentication_on_passwordless_start":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 172.388792ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 151.445708ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.950459ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 38 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"type":"customer-provided-root-key"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 223 + uncompressed: false + body: '{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 149.472292ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/e1132aad-8134-4af3-b760-2054cc019ac6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.87575ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/e1132aad-8134-4af3-b760-2054cc019ac6/wrapping-key + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 688 + uncompressed: false + body: '{"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA4V5V1VuWYHbt9HFD58/f\n3lLwE1seftBjl5hT2StAQa4AjjJjxMHyWuQ41L7/y/Aq6nHOkGrw6KVTZw3F04lF\nmL8bV0onMcGYzEFOThG8/LVX8X4Z1S5MBqaxLV0EoCV8uQfBgLWD8PlLMc1YVDRx\nO/IWblSkXxdpW9eZvuBhtvE5PzHRR7awPMIeNGxObteYheBqKxwQwhBMS0Wix/As\nCqSE2GCiXq0n+hDNp3Kt0Gs1WzngrXMtGqHFZSkyNGszD134ZaKnRE10Js6AoT0t\nirebqRCK9PiBclAgWIUgX2V/f3MXx7pXyXdBtcDRguUgbNqa2QI35Ln/Co/5PsSJ\nHSc3fEu5QVNewrfZzdWgDXl/X1F2v8McWv5ZoPe39HyRRJUHTbMVc4gY7NuuetSG\nb16eviJoMNKFHBIkUvw9MhLFs8OAgAzCrf7nxsx9uMJljrMPi1zkHCYurj633c75\nqxr2AtdwVek7HucjmJtXoVNAIX4sJluw2tDgXgp5GJ9lAgMBAAE=\n-----END PUBLIC KEY-----\n","algorithm":"CKM_RSA_AES_KEY_WRAP"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 1.003830709s + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":11}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.65375ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 145.48725ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":11}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.713875ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 140.739958ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":11}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 178.304583ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.994667ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":11}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.870917ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.367875ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:33.969Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":11}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.458875ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/e1132aad-8134-4af3-b760-2054cc019ac6 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 745.33525ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/e1132aad-8134-4af3-b760-2054cc019ac6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.387ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":12}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.89275ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 140.636167ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":12}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 151.094042ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 136.028458ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":12}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 173.210375ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 38 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"type":"customer-provided-root-key"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 223 + uncompressed: false + body: '{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 172.759ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 294.394333ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764/wrapping-key + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 688 + uncompressed: false + body: '{"public_key":"-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArIk0fH07FteEGMDT7VCr\nyyvKUT8vmCOZ2w0m9GQqdMfLlur/6ZmvEX/tSITJK2xwZyt+5d9rFqE84w88/KhQ\nphGkIPtjFNxdJX5W2cwZMzZ2tkbn6Lr5Cj63V9PCuns0S16d6mP6/0iRo7/0t9B0\nTt/dETKoGr/MJUC3hhTyiolZrovv02GHM0nz7I4gDwATCCwAwf6dO8j+OQgqfkiL\npOkjoptn0bhuMIFKQx7TLv36HKYJWWrk1XYye6cOPTRUs2wzUS2f7y+U7nTOfkzn\nyubTWC0m0OJ1oCfpOGdLyvjSqG6tZLqxxPwKhzGs0HCICR8s6a491dBPzS8DuyUv\nC7CUn0cbKeHa0Ge34TJ3HrWpMGbrkMnQLPhji4CJqpeiEWwlj0Q19x73/nbUGRbP\nIX9aui3ckZIGVjxtZXPorBBn/EqRJgET7CDS76jSIdSwhqF5uSjKlPknVZhtKc7Q\ncefzhi3wz+mw6Qj3WZyjiFNVBEdQVEojFezd3BjnDC67AgMBAAE=\n-----END PUBLIC KEY-----\n","algorithm":"CKM_RSA_AES_KEY_WRAP"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 1.750231208s + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":13}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.119708ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.497209ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":13}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 154.914167ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":13}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 185.939625ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 253.240625ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 145.656958ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":13}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 175.282167ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":13}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 138.779ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.058292ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 32 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"wrapped_key":"bad-key-value"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 151 + uncompressed: false + body: '{"statusCode":400,"error":"Bad Request","message":"Invalid input. Wrapped key material is invalid or unsupported key type.","errorCode":"invalid_body"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 400 Bad Request + code: 400 + duration: 214.545208ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 134.886666ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"pre-activation","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:40.100Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:37.742Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":13}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 187.399875ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 587 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"wrapped_key":"gMlIjPlgUGs9bnEwhW5iCnGcsraqj7dxmY4AYEr/Ud6OK9UtsGZsxzTvFQcR9nkTyv2Ghj2MC5GyIA6tNhkNsLEem1fi+QNPhYswMHCxUDAqquspgwl3Muq+Awr5HEkgadoNGWHmnkOoYQdt6EcS5/O1F00WRJ1lCFj5TscpzUkAmLbLwtN3wD06q2ALobrJorqgFJuEJpvEa3X+bwsLL9fXD0Yagt9LzkjszwENEFhWKcFEhNi8MASbGV4IR27gDWYx1o1I5yTG+N643W0Gd0rAjyiLBj90XVuCqbBfn2bx05XLvTKwK88VZNyuuSnkoALwkiB22MRrCZW2a/c08XUFwYu/tIuasy/XKtfVUh+OjJILsAKmMScK4sKRqvvN/tL0wxbNO5nn6ccYflQED9r+I0He3vLS+WkINIekXYi0S8nC7HLeY9uFrFO56UBP60R8G+MungbgPAJnViM/9OlPRNO3v0H6ckOqhwT+x41GywkbQ8JC5QyxmNwAH38W31AWbC/38L4/Ge3gFIGRVd3mC47dxotWhFrJaA4siUHVqHFBjhY+fg=="} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764 + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 197 + uncompressed: false + body: '{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"active","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:49.951Z","parent_kid":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 4.838529708s + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"active","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:49.951Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 154.747291ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"a52e3bc2-a66e-4e2e-9fb6-2c30c12ebf02","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:49.984Z","updated_at":"2024-10-28T16:41:49.984Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"active","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:49.951Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":14}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 162.498042ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 147.339542ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"a52e3bc2-a66e-4e2e-9fb6-2c30c12ebf02","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:49.984Z","updated_at":"2024-10-28T16:41:49.984Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"active","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:49.951Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":14}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 160.798667ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.993042ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"a52e3bc2-a66e-4e2e-9fb6-2c30c12ebf02","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:49.984Z","updated_at":"2024-10-28T16:41:49.984Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"active","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:49.951Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":14}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 132.934375ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"a52e3bc2-a66e-4e2e-9fb6-2c30c12ebf02","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:49.984Z","updated_at":"2024-10-28T16:41:49.984Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"active","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:49.951Z","parent_kid":null,"public_key":null},{"kid":"17e14555-4f06-479f-a764-818f4cba626f","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:37.742Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","public_key":null},{"kid":"e1132aad-8134-4af3-b760-2054cc019ac6","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:33.969Z","updated_at":"2024-10-28T16:41:37.711Z","parent_kid":null,"public_key":null},{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:38.284Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:41:50.509Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":14}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.179417ms + - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/tenants/settings + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"enabled_locales":["en"],"flags":{"allow_changing_enable_sso":false,"disable_impersonation":true,"enable_sso":true,"universal_login":true,"revoke_refresh_token_grant":false,"disable_clickjack_protection_headers":false},"idle_session_lifetime":72,"sandbox_version":"18","session_lifetime":168,"oidc_logout":{"rp_logout_end_session_endpoint_discovery":true},"sandbox_versions_available":["18","16"]}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 133.924833ms + - id: 47 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 818.09725ms + - id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/abb49d50-3fd8-4521-acf3-3528b8be1764 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"kid":"abb49d50-3fd8-4521-acf3-3528b8be1764","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:41:40.100Z","updated_at":"2024-10-28T16:41:53.662Z","parent_kid":null,"public_key":null}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 188.397958ms diff --git a/test/data/recordings/TestAccFrameworkEncryptionKeyManagerRotation.yaml b/test/data/recordings/TestAccFrameworkEncryptionKeyManagerRotation.yaml new file mode 100644 index 000000000..69e926167 --- /dev/null +++ b/test/data/recordings/TestAccFrameworkEncryptionKeyManagerRotation.yaml @@ -0,0 +1,458 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:40:40.402Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":8}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 163.612375ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:40:40.402Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":8}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 171.601541ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:40:40.402Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":8}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 157.778708ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/rekey + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 454.236666ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:25.560Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":9}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 166.400958ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:25.560Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":9}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 144.617125ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:25.560Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null}],"start":0,"limit":100,"total":9}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.780458ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption/rekey + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 531.490584ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":10}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.798166ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":10}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 170.031833ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":10}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.40875ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":10}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 152.251834ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.11.2 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/keys/encryption?include_totals=true&page=0&per_page=100 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"keys":[{"kid":"53f10cae-356b-4159-b1c6-0b2eb15c5499","type":"tenant-master-key","state":"active","created_at":"2024-10-28T16:41:27.570Z","updated_at":"2024-10-28T16:41:27.570Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3fbb6b2c-0a36-4379-b6dc-3a9817093379","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:41:25.560Z","updated_at":"2024-10-28T16:41:27.870Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"33c5e613-663d-4e54-8390-75a3f8bd3f12","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:40.402Z","updated_at":"2024-10-28T16:41:25.841Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"87fb50fb-33a7-4cb7-b454-1e118e07cad0","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:26.171Z","updated_at":"2024-10-28T16:40:40.389Z","parent_kid":null,"public_key":null},{"kid":"ec5ca435-e0a9-4e83-b4db-a5bcf11fd59d","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:23.810Z","updated_at":"2024-10-28T16:40:40.904Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"3baeda25-6c37-4a07-9091-85857e93b65e","type":"customer-provided-root-key","state":"destroyed","created_at":"2024-10-28T16:40:19.795Z","updated_at":"2024-10-28T16:40:23.780Z","parent_kid":null,"public_key":null},{"kid":"3fae011c-686d-4afa-82db-c84260b90c26","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:13.368Z","updated_at":"2024-10-28T16:40:24.307Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"2702bbee-0ef4-4a2b-93a0-24c40eeb1608","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:40:11.189Z","updated_at":"2024-10-28T16:40:13.624Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null},{"kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","type":"environment-root-key","state":"active","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:34:45.526Z","parent_kid":null,"public_key":null},{"kid":"2e720c75-b197-425a-851a-822dd5108c31","type":"tenant-master-key","state":"destroyed","created_at":"2024-10-28T16:34:45.526Z","updated_at":"2024-10-28T16:40:11.490Z","parent_kid":"383248b1-e69c-4bc5-90eb-446d722e3f8d","public_key":null}],"start":0,"limit":100,"total":10}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 151.154792ms diff --git a/test/data/recordings/TestAccFrameworkResourceServer.yaml b/test/data/recordings/TestAccFrameworkResourceServer.yaml new file mode 100644 index 000000000..c2031065f --- /dev/null +++ b/test/data/recordings/TestAccFrameworkResourceServer.yaml @@ -0,0 +1,1273 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 93 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 284 + uncompressed: false + body: '{"id":"67905e567a3196602a0e2c34","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 201 Created + code: 201 + duration: 161.4275ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 177.242083ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 151.637708ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 146.71675ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 242 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 161.442459ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 104 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"authorization_details":null,"consent_policy":null,"proof_of_possession":null,"token_encryption":null} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 164.013125ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.680666ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 140.130875ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 155.724708ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 2494 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false,"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"token_encryption":{"format":"compact-nested-jwe","encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","pem":"-----BEGIN CERTIFICATE-----\nMIIFWDCCA0ACCQDXqpBo3RUhkzANBgkqhkiG9w0BAQsFADBuMQswCQYDVQQGEwJl\nczEPMA0GA1UECAwGTWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxDTALBgNVBAoMBE9r\ndGExDzANBgNVBAsMBkRYLUNEVDEdMBsGA1UEAwwURGV2ZWxvcGVyIEV4cGVyaWVu\nY2UwHhcNMjMwNTE2MDkzMzEzWhcNMzMwNTEzMDkzMzEzWjBuMQswCQYDVQQGEwJl\nczEPMA0GA1UECAwGTWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxDTALBgNVBAoMBE9r\ndGExDzANBgNVBAsMBkRYLUNEVDEdMBsGA1UEAwwURGV2ZWxvcGVyIEV4cGVyaWVu\nY2UwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCupwRtoZtRk9qRaXD+\nYdtpM9dWo2vaprvNo+7J2YPlOtZB0zx7xykTEI5UMsESRwEATzVvepQzvswYBlca\n9k1nOcMBSmhkJPol9fbntWAbw4jvs/xXCtKCVOuiP2hffaeq1+6Kei8gXJKpytzN\nLPhbqpoNfqb87U4SM4pKFWSkbJSL0inUilrlc4sR9IGWs9jjCK21TpsUcb7GMZem\nv7MlZQfKQSFuTJgTs3aLJAiyF0yfYhCMbE/bFefRsTcZYnAEYfI3pLDAuZm4GjWD\nW0DCm43pO+jSRvEnbikVvFo6GAoTyUStifK44KVwhp4iPRkIrUCEMxK0mCMVJ9KF\ntaKWsFcJ5nQGJxBz6fj766Hl7SwuHvmSezzADF7/5kOAb8TnMfYsRFxak/iE/5s+\nOldEONHWuyVWuNIqEeI1DglscX02uK7jnuhUAyrCR0ayI3Ket+OvbviZIjiNyqfR\nchPuL7QyQl3CrWcTgZCqwjMzW2G9Y63k838mqL0gVhNPrH6QedOdSsnXbsjP+hS5\nPx2PRWqT+Z8otzZpfnD/pmtjoA3D93c1KJ+hFNlyIvD+R7go045l7OR5MKkgkOSO\nCXTqCSiq09XpZUQvwMtW516K5K/zOveai7V5DTmTHhCL5kthRYhA5WDfLWicG0ZP\nzl4p7gmxfmseQH/bHBSU2f+a+QIDAQABMA0GCSqGSIb3DQEBCwUAA4ICAQA7EOsl\nD5WQ+G6T0GhbyTmlC497aULzCdFfkMjlPN2MiVhje0G4u8C5zK6zEkmyWfRkqCIh\n54YLbaZu55MbvwbD64tTWqDMBmmna8HpulFcpi4RM9jGFMqx5/NSHBLqv/BC3UNt\n7c4y4YuLJkB07RljPv07k5sgf9/twF+v7UYVURfutoj0sjOImJMN66YVOTlNoGTS\nTOrDWByqc6eDHSFVU+0urrgos4iF5UN7ovfA8dLBiR7I4S5kVKSKO18UUB4qPIj0\nyMvTImrQXMepVtzaGae1V5BCyx37J12/STcUdE5urtSBjZyaugrTw+C+WHTcS829\nq5jOjmBJgFTIICz8IDTxPZIM+keVyodFOJKRtteT6vWnk8wq9k4U5HRxtdRKc52u\nd3RCO/B+RxbBLzFuKrM402LNe6j6+gek4boPkzfMbEIohJm1ukM4bATfP5gltsGe\n6UvXg7yaM+oW8jBPHK9w5azsqj+SuxqvARchHWRIrYAli5SePbUtmFKC/Lt+pKCK\nqxdawpr8EUrJXvHL3XoNHuGNbVuSm/ep+ge89UAbUEQ90A4w7fuSX5S+pr4nMOTi\nlNZtdWtIC9qcJ2Xmy5gZ+mAh3Wv+96IwQ9MWvtFEXquNNbvJdXVluUPVarNv3T1B\n8GMCiNZ0r6tknDJcnkjmRqiB8o/ExYXRnjHhGQ==\n-----END CERTIFICATE-----\n\n"}},"proof_of_possession":{"mechanism":"mtls","required":true}} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 183.752167ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 158.411666ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.049125ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 165.912083ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 243 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.242833ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 104 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"authorization_details":null,"consent_policy":null,"proof_of_possession":null,"token_encryption":null} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 171.554917ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.307ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.400834ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.754125ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 274 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false,"token_dialect":"access_token"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 150.34075ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 153.925083ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 137.966916ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.093833ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 279 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true,"token_dialect":"access_token_authz"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 141.868333ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 179.98725ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 140.924791ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 156.752458ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 277 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false,"token_dialect":"rfc9068_profile"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 148.734042ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 142.124125ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 149.728583ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.996083ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 282 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Acceptance Test - TestAccFrameworkResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true,"token_dialect":"rfc9068_profile_authz"} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 152.003167ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 142.794584ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 145.258ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 139.735875ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"67905e567a3196602a0e2c34","name":"Acceptance Test - TestAccFrameworkResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccFrameworkResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz"}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 143.776084ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/67905e567a3196602a0e2c34 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Type: + - application/json; charset=utf-8 + status: 204 No Content + code: 204 + duration: 213.794166ms diff --git a/test/data/recordings/TestAccResourceServerAuth0APIManagementImport.yaml b/test/data/recordings/TestAccFrameworkResourceServerAuth0APIManagementImport.yaml similarity index 100% rename from test/data/recordings/TestAccResourceServerAuth0APIManagementImport.yaml rename to test/data/recordings/TestAccFrameworkResourceServerAuth0APIManagementImport.yaml diff --git a/test/data/recordings/TestAccResourceServerScope.yaml b/test/data/recordings/TestAccFrameworkResourceServerScope.yaml similarity index 60% rename from test/data/recordings/TestAccResourceServerScope.yaml rename to test/data/recordings/TestAccFrameworkResourceServerScope.yaml index bf3f75b30..0c139d2b3 100644 --- a/test/data/recordings/TestAccResourceServerScope.yaml +++ b/test/data/recordings/TestAccFrameworkResourceServerScope.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 143 + content_length: 161 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope"} + {"name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,36 +28,35 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 334 + content_length: 352 uncompressed: false - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 185.992625ms + duration: 132.5625ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 31 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"authorization_details":null} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -66,34 +65,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 166.167125ms + duration: 211.792375ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 26 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"token_encryption":null} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -102,33 +100,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 204.623041ms + duration: 237.048292ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 29 + content_length: 67 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"proof_of_possession":null} + {"scopes":[{"value":"read:posts","description":"Can read posts"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: PATCH response: proto: HTTP/2.0 @@ -138,13 +136,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 203.379209ms + duration: 144.622375ms - id: 4 request: proto: HTTP/1.1 @@ -162,8 +160,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -173,13 +171,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 174.591083ms + duration: 255.424208ms - id: 5 request: proto: HTTP/1.1 @@ -197,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -208,34 +206,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.494875ms + duration: 133.317875ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 67 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -244,13 +241,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.980083ms + duration: 150.423125ms - id: 7 request: proto: HTTP/1.1 @@ -268,8 +265,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -279,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 290.486833ms + duration: 121.746375ms - id: 8 request: proto: HTTP/1.1 @@ -303,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -314,13 +311,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 178.144208ms + duration: 123.940166ms - id: 9 request: proto: HTTP/1.1 @@ -338,8 +335,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -349,13 +346,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 187.133ms + duration: 136.351208ms - id: 10 request: proto: HTTP/1.1 @@ -373,8 +370,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -384,13 +381,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.836667ms + duration: 117.425709ms - id: 11 request: proto: HTTP/1.1 @@ -408,8 +405,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -419,13 +416,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 171.053375ms + duration: 124.345292ms - id: 12 request: proto: HTTP/1.1 @@ -443,8 +440,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -454,13 +451,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.18525ms + duration: 172.891625ms - id: 13 request: proto: HTTP/1.1 @@ -478,8 +475,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -489,13 +486,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 184.681208ms + duration: 123.308ms - id: 14 request: proto: HTTP/1.1 @@ -513,8 +510,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -524,13 +521,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 195.809083ms + duration: 123.86425ms - id: 15 request: proto: HTTP/1.1 @@ -548,8 +545,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -559,13 +556,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 195.354875ms + duration: 132.758667ms - id: 16 request: proto: HTTP/1.1 @@ -583,8 +580,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -594,13 +591,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.499958ms + duration: 134.167ms - id: 17 request: proto: HTTP/1.1 @@ -618,8 +615,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -629,33 +626,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.648458ms + duration: 158.10175ms - id: 18 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -664,13 +662,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.582625ms + duration: 199.449208ms - id: 19 request: proto: HTTP/1.1 @@ -688,8 +686,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -699,33 +697,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 163.290125ms + duration: 134.158791ms - id: 20 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -734,34 +733,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.44575ms + duration: 122.946083ms - id: 21 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 14 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -770,13 +768,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.705709ms + duration: 134.909125ms - id: 22 request: proto: HTTP/1.1 @@ -794,8 +792,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -805,34 +803,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.258584ms + duration: 131.852333ms - id: 23 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 14 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -841,13 +838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.037291ms + duration: 139.525125ms - id: 24 request: proto: HTTP/1.1 @@ -865,8 +862,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -876,13 +873,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.253709ms + duration: 118.787042ms - id: 25 request: proto: HTTP/1.1 @@ -900,8 +897,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -911,33 +908,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.019084ms + duration: 133.669958ms - id: 26 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 67 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"read:posts","description":"Can read posts"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -946,13 +944,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.425125ms + duration: 125.37475ms - id: 27 request: proto: HTTP/1.1 @@ -970,8 +968,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -981,13 +979,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.098ms + duration: 126.805458ms - id: 28 request: proto: HTTP/1.1 @@ -1005,8 +1003,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1016,34 +1014,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.98425ms + duration: 123.692625ms - id: 29 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 67 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1052,13 +1049,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.450375ms + duration: 130.703625ms - id: 30 request: proto: HTTP/1.1 @@ -1076,8 +1073,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1087,13 +1084,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.212542ms + duration: 114.744209ms - id: 31 request: proto: HTTP/1.1 @@ -1111,8 +1108,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1122,13 +1119,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 172.124125ms + duration: 125.065459ms - id: 32 request: proto: HTTP/1.1 @@ -1146,8 +1143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1157,13 +1154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.555667ms + duration: 122.033542ms - id: 33 request: proto: HTTP/1.1 @@ -1181,8 +1178,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1192,13 +1189,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.575625ms + duration: 131.1285ms - id: 34 request: proto: HTTP/1.1 @@ -1216,8 +1213,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1227,13 +1224,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.319584ms + duration: 126.855125ms - id: 35 request: proto: HTTP/1.1 @@ -1251,8 +1248,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1262,33 +1259,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.824375ms + duration: 120.154958ms - id: 36 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 76 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"read:posts","description":"Can read posts from API"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1297,13 +1295,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.957125ms + duration: 125.469334ms - id: 37 request: proto: HTTP/1.1 @@ -1321,8 +1319,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1332,13 +1330,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.594834ms + duration: 114.944625ms - id: 38 request: proto: HTTP/1.1 @@ -1356,8 +1354,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1367,34 +1365,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.771708ms + duration: 131.995208ms - id: 39 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 76 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts from API"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1403,13 +1400,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.124417ms + duration: 109.930292ms - id: 40 request: proto: HTTP/1.1 @@ -1427,8 +1424,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1438,13 +1435,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.406709ms + duration: 118.396166ms - id: 41 request: proto: HTTP/1.1 @@ -1462,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1473,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.9215ms + duration: 143.593583ms - id: 42 request: proto: HTTP/1.1 @@ -1497,8 +1494,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1508,13 +1505,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.600791ms + duration: 113.149417ms - id: 43 request: proto: HTTP/1.1 @@ -1532,8 +1529,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1543,13 +1540,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.547875ms + duration: 120.094167ms - id: 44 request: proto: HTTP/1.1 @@ -1567,8 +1564,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1578,13 +1575,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 172.123459ms + duration: 123.473459ms - id: 45 request: proto: HTTP/1.1 @@ -1602,8 +1599,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1613,33 +1610,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.404458ms + duration: 117.239542ms - id: 46 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 100 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1648,13 +1646,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 137.72925ms + duration: 148.369542ms - id: 47 request: proto: HTTP/1.1 @@ -1672,8 +1670,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1683,13 +1681,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.055375ms + duration: 124.846125ms - id: 48 request: proto: HTTP/1.1 @@ -1707,8 +1705,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1718,34 +1716,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.572333ms + duration: 125.089792ms - id: 49 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 117 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1754,13 +1751,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.157417ms + duration: 129.485791ms - id: 50 request: proto: HTTP/1.1 @@ -1778,8 +1775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1789,13 +1786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.494416ms + duration: 122.134458ms - id: 51 request: proto: HTTP/1.1 @@ -1813,8 +1810,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1824,13 +1821,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 151.266542ms + duration: 139.558458ms - id: 52 request: proto: HTTP/1.1 @@ -1848,8 +1845,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1859,13 +1856,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 139.697458ms + duration: 128.226375ms - id: 53 request: proto: HTTP/1.1 @@ -1883,8 +1880,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1894,13 +1891,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.931125ms + duration: 141.863333ms - id: 54 request: proto: HTTP/1.1 @@ -1918,8 +1915,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -1929,13 +1926,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 157.187875ms + duration: 133.975042ms - id: 55 request: proto: HTTP/1.1 @@ -1953,8 +1950,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1964,13 +1961,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.6005ms + duration: 134.0575ms - id: 56 request: proto: HTTP/1.1 @@ -1988,8 +1985,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -1999,13 +1996,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 160.589083ms + duration: 133.846ms - id: 57 request: proto: HTTP/1.1 @@ -2023,8 +2020,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2034,13 +2031,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.644417ms + duration: 117.135792ms - id: 58 request: proto: HTTP/1.1 @@ -2058,8 +2055,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2069,33 +2066,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.108ms + duration: 112.477ms - id: 59 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 76 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"read:posts","description":"Can read posts from API"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -2104,13 +2102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.987125ms + duration: 130.591916ms - id: 60 request: proto: HTTP/1.1 @@ -2128,8 +2126,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2139,33 +2137,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 149.159166ms + duration: 124.938584ms - id: 61 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -2174,34 +2173,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts","description":""}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.895333ms + duration: 196.212208ms - id: 62 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 76 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts from API"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -2210,13 +2208,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 169.361917ms + duration: 131.272708ms - id: 63 request: proto: HTTP/1.1 @@ -2234,8 +2232,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2245,34 +2243,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 174.870459ms + duration: 111.548792ms - id: 64 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 14 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -2281,13 +2278,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 220.374625ms + duration: 117.91775ms - id: 65 request: proto: HTTP/1.1 @@ -2305,8 +2302,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2316,13 +2313,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.516875ms + duration: 119.363042ms - id: 66 request: proto: HTTP/1.1 @@ -2340,8 +2337,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2351,13 +2348,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.37975ms + duration: 116.061458ms - id: 67 request: proto: HTTP/1.1 @@ -2375,8 +2372,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2386,13 +2383,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 218.539292ms + duration: 120.831125ms - id: 68 request: proto: HTTP/1.1 @@ -2410,8 +2407,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2421,13 +2418,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 139.95525ms + duration: 119.126292ms - id: 69 request: proto: HTTP/1.1 @@ -2445,8 +2442,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2456,13 +2453,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.499833ms + duration: 113.772917ms - id: 70 request: proto: HTTP/1.1 @@ -2480,8 +2477,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2491,33 +2488,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.683959ms + duration: 137.555375ms - id: 71 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 100 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -2526,13 +2524,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.932959ms + duration: 114.704583ms - id: 72 request: proto: HTTP/1.1 @@ -2550,8 +2548,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2561,13 +2559,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.06775ms + duration: 118.645583ms - id: 73 request: proto: HTTP/1.1 @@ -2585,8 +2583,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2596,34 +2594,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 163.614875ms + duration: 109.571583ms - id: 74 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 100 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -2632,13 +2629,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.104583ms + duration: 123.844041ms - id: 75 request: proto: HTTP/1.1 @@ -2656,8 +2653,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2667,13 +2664,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.877375ms + duration: 114.929375ms - id: 76 request: proto: HTTP/1.1 @@ -2691,8 +2688,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2702,13 +2699,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.073916ms + duration: 119.418084ms - id: 77 request: proto: HTTP/1.1 @@ -2726,8 +2723,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2737,13 +2734,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.310917ms + duration: 123.190209ms - id: 78 request: proto: HTTP/1.1 @@ -2761,8 +2758,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2772,13 +2769,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 169.290042ms + duration: 120.555375ms - id: 79 request: proto: HTTP/1.1 @@ -2796,8 +2793,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2807,13 +2804,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.565792ms + duration: 130.152792ms - id: 80 request: proto: HTTP/1.1 @@ -2831,8 +2828,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2842,13 +2839,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 365.174958ms + duration: 116.80025ms - id: 81 request: proto: HTTP/1.1 @@ -2866,8 +2863,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2877,13 +2874,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.053375ms + duration: 111.170333ms - id: 82 request: proto: HTTP/1.1 @@ -2901,8 +2898,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -2912,13 +2909,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.141042ms + duration: 130.415584ms - id: 83 request: proto: HTTP/1.1 @@ -2936,8 +2933,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2947,13 +2944,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 142.1365ms + duration: 124.860625ms - id: 84 request: proto: HTTP/1.1 @@ -2971,8 +2968,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -2982,13 +2979,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 359.408708ms + duration: 132.091792ms - id: 85 request: proto: HTTP/1.1 @@ -3006,8 +3003,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -3017,13 +3014,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 163.804917ms + duration: 112.839ms - id: 86 request: proto: HTTP/1.1 @@ -3041,8 +3038,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -3052,13 +3049,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 134.840208ms + duration: 115.63225ms - id: 87 request: proto: HTTP/1.1 @@ -3076,8 +3073,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -3087,13 +3084,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.253167ms + duration: 122.987542ms - id: 88 request: proto: HTTP/1.1 @@ -3111,8 +3108,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -3122,13 +3119,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.429583ms + duration: 124.739958ms - id: 89 request: proto: HTTP/1.1 @@ -3146,8 +3143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: GET response: proto: HTTP/2.0 @@ -3157,13 +3154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.632916ms + duration: 125.036542ms - id: 90 request: proto: HTTP/1.1 @@ -3181,8 +3178,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -3192,119 +3189,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 158.377584ms + duration: 214.872083ms - id: 91 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 167.860959ms - - id: 92 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 160.938417ms - - id: 93 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"},{"value":"write:posts"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 136.947333ms - - id: 94 request: proto: HTTP/1.1 proto_major: 1 @@ -3322,8 +3214,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: PATCH response: proto: HTTP/2.0 @@ -3333,14 +3225,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 158.766125ms - - id: 95 + duration: 188.113625ms + - id: 92 request: proto: HTTP/1.1 proto_major: 1 @@ -3357,8 +3249,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: GET response: proto: HTTP/2.0 @@ -3368,14 +3260,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts from API"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.352917ms - - id: 96 + duration: 118.426291ms + - id: 93 request: proto: HTTP/1.1 proto_major: 1 @@ -3393,8 +3285,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: PATCH response: proto: HTTP/2.0 @@ -3404,14 +3296,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.640958ms - - id: 97 + duration: 165.382833ms + - id: 94 request: proto: HTTP/1.1 proto_major: 1 @@ -3429,8 +3321,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscope + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscope method: PATCH response: proto: HTTP/2.0 @@ -3440,14 +3332,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df2ea2ceee03f5bdad1b","name":"Acceptance Test - testaccresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050d90c9879730e744aa4","name":"Acceptance Test - testaccframeworkresourceserverscope","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscope","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.003917ms - - id: 98 + duration: 116.9965ms + - id: 95 request: proto: HTTP/1.1 proto_major: 1 @@ -3464,8 +3356,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df2ea2ceee03f5bdad1b + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050d90c9879730e744aa4 method: DELETE response: proto: HTTP/2.0 @@ -3481,4 +3373,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 204.742584ms + duration: 174.179125ms diff --git a/test/data/recordings/TestAccResourceServerScopes.yaml b/test/data/recordings/TestAccFrameworkResourceServerScopes.yaml similarity index 58% rename from test/data/recordings/TestAccResourceServerScopes.yaml rename to test/data/recordings/TestAccFrameworkResourceServerScopes.yaml index b959d7d02..bf5bb840a 100644 --- a/test/data/recordings/TestAccResourceServerScopes.yaml +++ b/test/data/recordings/TestAccFrameworkResourceServerScopes.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 145 + content_length: 163 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes"} + {"name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 + - Go-Auth0/1.14.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers method: POST response: @@ -28,36 +28,35 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 336 + content_length: 354 uncompressed: false - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 160.374917ms + duration: 157.121542ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 31 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"authorization_details":null} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -66,34 +65,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.928125ms + duration: 135.479042ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 26 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"token_encryption":null} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -102,33 +100,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 179.603542ms + duration: 114.133958ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 29 + content_length: 67 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"proof_of_possession":null} + {"scopes":[{"value":"read:posts","description":"Can read posts"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: PATCH response: proto: HTTP/2.0 @@ -138,13 +136,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.866042ms + duration: 127.617875ms - id: 4 request: proto: HTTP/1.1 @@ -162,8 +160,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -173,13 +171,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.724375ms + duration: 120.134166ms - id: 5 request: proto: HTTP/1.1 @@ -197,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -208,34 +206,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.064708ms + duration: 235.1675ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 67 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"read:posts","description":"Can read posts"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -244,13 +241,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.967916ms + duration: 115.944875ms - id: 7 request: proto: HTTP/1.1 @@ -268,8 +265,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -279,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.59075ms + duration: 128.863541ms - id: 8 request: proto: HTTP/1.1 @@ -303,8 +300,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -314,13 +311,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.745375ms + duration: 114.808416ms - id: 9 request: proto: HTTP/1.1 @@ -338,8 +335,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -349,33 +346,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.84575ms + duration: 133.442417ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -384,13 +382,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 188.175125ms + duration: 151.207791ms - id: 11 request: proto: HTTP/1.1 @@ -408,8 +406,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -419,13 +417,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 168.864916ms + duration: 125.13725ms - id: 12 request: proto: HTTP/1.1 @@ -443,8 +441,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -454,34 +452,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"read:posts","description":"Can read posts"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.977125ms + duration: 124.535709ms - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 14 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -490,13 +487,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 180.126083ms + duration: 125.331833ms - id: 14 request: proto: HTTP/1.1 @@ -514,8 +511,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -525,13 +522,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.19975ms + duration: 113.572709ms - id: 15 request: proto: HTTP/1.1 @@ -549,8 +546,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -560,33 +557,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.893041ms + duration: 117.69025ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 92 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -595,13 +593,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.577208ms + duration: 120.698833ms - id: 17 request: proto: HTTP/1.1 @@ -619,8 +617,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -630,13 +628,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 132.014667ms + duration: 122.733917ms - id: 18 request: proto: HTTP/1.1 @@ -654,8 +652,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -665,34 +663,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.894792ms + duration: 121.993042ms - id: 19 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 92 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -701,13 +698,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.627542ms + duration: 108.342541ms - id: 20 request: proto: HTTP/1.1 @@ -725,8 +722,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -736,13 +733,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 126.01ms + duration: 121.32475ms - id: 21 request: proto: HTTP/1.1 @@ -760,8 +757,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -771,13 +768,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 168.534291ms + duration: 115.892209ms - id: 22 request: proto: HTTP/1.1 @@ -795,8 +792,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -806,13 +803,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 150.810125ms + duration: 118.872792ms - id: 23 request: proto: HTTP/1.1 @@ -830,8 +827,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -841,13 +838,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 209.981375ms + duration: 114.454958ms - id: 24 request: proto: HTTP/1.1 @@ -865,8 +862,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -876,33 +873,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 128.859459ms + duration: 150.761334ms - id: 25 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 167 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -911,13 +909,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 222.644917ms + duration: 127.581125ms - id: 26 request: proto: HTTP/1.1 @@ -935,8 +933,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -946,13 +944,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.743ms + duration: 113.674083ms - id: 27 request: proto: HTTP/1.1 @@ -970,8 +968,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -981,34 +979,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 159.610584ms + duration: 119.765917ms - id: 28 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 167 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1017,13 +1014,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.202334ms + duration: 115.845ms - id: 29 request: proto: HTTP/1.1 @@ -1041,8 +1038,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1052,13 +1049,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.132375ms + duration: 111.635209ms - id: 30 request: proto: HTTP/1.1 @@ -1076,8 +1073,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1087,13 +1084,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 144.342875ms + duration: 111.316459ms - id: 31 request: proto: HTTP/1.1 @@ -1111,8 +1108,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1122,13 +1119,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 143.15575ms + duration: 118.132833ms - id: 32 request: proto: HTTP/1.1 @@ -1146,8 +1143,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1157,13 +1154,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.49475ms + duration: 116.420833ms - id: 33 request: proto: HTTP/1.1 @@ -1181,8 +1178,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1192,13 +1189,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.812333ms + duration: 120.206625ms - id: 34 request: proto: HTTP/1.1 @@ -1216,8 +1213,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1227,33 +1224,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 171.251042ms + duration: 122.896542ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 14 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1262,13 +1260,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.467459ms + duration: 193.164875ms - id: 36 request: proto: HTTP/1.1 @@ -1286,8 +1284,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1297,13 +1295,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.731208ms + duration: 111.709584ms - id: 37 request: proto: HTTP/1.1 @@ -1321,8 +1319,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1332,34 +1330,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.064416ms + duration: 114.01625ms - id: 38 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 14 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1368,13 +1365,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 226.017584ms + duration: 131.695959ms - id: 39 request: proto: HTTP/1.1 @@ -1392,8 +1389,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1403,13 +1400,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 153.853625ms + duration: 120.362041ms - id: 40 request: proto: HTTP/1.1 @@ -1427,8 +1424,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1438,13 +1435,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.959708ms + duration: 110.635833ms - id: 41 request: proto: HTTP/1.1 @@ -1462,8 +1459,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1473,13 +1470,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.472959ms + duration: 111.445ms - id: 42 request: proto: HTTP/1.1 @@ -1497,8 +1494,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1508,13 +1505,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.784125ms + duration: 142.262542ms - id: 43 request: proto: HTTP/1.1 @@ -1532,8 +1529,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1543,13 +1540,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 163.183917ms + duration: 113.500666ms - id: 44 request: proto: HTTP/1.1 @@ -1567,8 +1564,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1578,33 +1575,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 298.637834ms + duration: 134.053583ms - id: 45 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 92 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: "" + body: | + {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: GET + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -1613,13 +1611,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 147.268208ms + duration: 126.226125ms - id: 46 request: proto: HTTP/1.1 @@ -1637,8 +1635,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1648,13 +1646,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.745209ms + duration: 220.291334ms - id: 47 request: proto: HTTP/1.1 @@ -1672,8 +1670,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1683,33 +1681,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.157917ms + duration: 146.961625ms - id: 48 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 92 + content_length: 167 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]} + {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: PATCH response: proto: HTTP/2.0 @@ -1719,13 +1717,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 166.251292ms + duration: 127.671542ms - id: 49 request: proto: HTTP/1.1 @@ -1743,8 +1741,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1754,13 +1752,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 156.855833ms + duration: 123.03225ms - id: 50 request: proto: HTTP/1.1 @@ -1778,8 +1776,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1789,34 +1787,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 145.256917ms + duration: 115.124209ms - id: 51 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 167 + content_length: 0 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" - body: | - {"scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]} + body: "" form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: PATCH + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -1825,13 +1822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 139.8095ms + duration: 134.456791ms - id: 52 request: proto: HTTP/1.1 @@ -1849,8 +1846,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1860,13 +1857,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.007916ms + duration: 139.180042ms - id: 53 request: proto: HTTP/1.1 @@ -1884,8 +1881,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -1895,13 +1892,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 136.462166ms + duration: 135.627292ms - id: 54 request: proto: HTTP/1.1 @@ -1919,8 +1916,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1930,13 +1927,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.84175ms + duration: 123.410708ms - id: 55 request: proto: HTTP/1.1 @@ -1954,8 +1951,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -1965,13 +1962,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 138.743459ms + duration: 238.635791ms - id: 56 request: proto: HTTP/1.1 @@ -1989,8 +1986,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2000,13 +1997,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.964958ms + duration: 118.746ms - id: 57 request: proto: HTTP/1.1 @@ -2024,8 +2021,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2035,13 +2032,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 135.685333ms + duration: 127.878542ms - id: 58 request: proto: HTTP/1.1 @@ -2059,8 +2056,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2070,13 +2067,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 140.581416ms + duration: 112.239959ms - id: 59 request: proto: HTTP/1.1 @@ -2094,8 +2091,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -2105,13 +2102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.748792ms + duration: 120.120292ms - id: 60 request: proto: HTTP/1.1 @@ -2129,8 +2126,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -2140,13 +2137,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 146.321166ms + duration: 110.679417ms - id: 61 request: proto: HTTP/1.1 @@ -2164,8 +2161,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -2175,13 +2172,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 192.11425ms + duration: 112.51075ms - id: 62 request: proto: HTTP/1.1 @@ -2199,8 +2196,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2210,13 +2207,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.42675ms + duration: 115.414666ms - id: 63 request: proto: HTTP/1.1 @@ -2234,8 +2231,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2245,13 +2242,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 165.650708ms + duration: 118.684916ms - id: 64 request: proto: HTTP/1.1 @@ -2269,8 +2266,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2280,13 +2277,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 148.874583ms + duration: 160.762292ms - id: 65 request: proto: HTTP/1.1 @@ -2304,8 +2301,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: GET response: proto: HTTP/2.0 @@ -2315,119 +2312,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 189.367292ms + duration: 125.139542ms - id: 66 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 164.595958ms - - id: 67 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 155.518208ms - - id: 68 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[{"value":"create:appointments","description":"Ability to create appointments"},{"value":"read:appointments","description":"Ability to read appointments"}]}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 180.887583ms - - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -2445,8 +2337,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: PATCH response: proto: HTTP/2.0 @@ -2456,14 +2348,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 161.463583ms - - id: 70 + duration: 134.550541ms + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -2480,8 +2372,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2491,14 +2383,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 155.50075ms - - id: 71 + duration: 115.626917ms + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -2516,8 +2408,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: PATCH response: proto: HTTP/2.0 @@ -2527,14 +2419,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 164.41475ms - - id: 72 + duration: 117.72775ms + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -2551,8 +2443,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: GET response: proto: HTTP/2.0 @@ -2562,14 +2454,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 139.196583ms - - id: 73 + duration: 124.793541ms + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -2587,8 +2479,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccresourceserverscopes + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/https:%2F%2Fuat.api.terraform-provider-auth0.com%2Ftestaccframeworkresourceserverscopes method: PATCH response: proto: HTTP/2.0 @@ -2598,14 +2490,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"66e1df75d5fa0521310a884d","name":"Acceptance Test - testaccresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' + body: '{"id":"679050f144b3a54b7d47320e","name":"Acceptance Test - testaccframeworkresourceserverscopes","identifier":"https://uat.api.terraform-provider-auth0.com/testaccframeworkresourceserverscopes","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256","scopes":[]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 152.089125ms - - id: 74 + duration: 126.4625ms + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -2622,8 +2514,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df75d5fa0521310a884d + - Go-Auth0/1.14.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/679050f144b3a54b7d47320e method: DELETE response: proto: HTTP/2.0 @@ -2639,4 +2531,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 180.0465ms + duration: 165.366459ms diff --git a/test/data/recordings/TestAccOrganizationClientGrant.yaml b/test/data/recordings/TestAccOrganizationClientGrant.yaml index 4bcacd323..f327efa88 100644 --- a/test/data/recordings/TestAccOrganizationClientGrant.yaml +++ b/test/data/recordings/TestAccOrganizationClientGrant.yaml @@ -421,7 +421,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":7,"start":0,"limit":50,"client_grants":[{"id":"cgr_BRwNL8rCTOixv6DU","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example2.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_Gh989ryCLAXzmS3y","client_id":"gIJikrYcmSXEhIv9cXEEtoGFj8kPDxUx","audience":"https://api.travel001.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_UWYceavPkwfRPtbf","client_id":"Mt2OyVN7QphPhmFWgJMXtzzethEatko0","audience":"https://terraform-provider-auth0-dev.sus.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","update:flows_vault","delete:flows_vault","create:flows_vault","read:flows_executions","delete:flows_executions","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]},{"id":"cgr_fTgG6hZ6DJyXSv2D","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_tEnbObhlbCHIkA2C","client_id":"FiUTsAhjzFlxipoMI1hqUX0LK1fpPpjl","audience":"https://api.travel0.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_wdvDb163A7cFXQqz","client_id":"pSxP9RbyOmWpijS0lkRiOIzGqEocLsz1","audience":"https://api.travel00123.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_zV8sbywGQQxCnreD","client_id":"bpViNbMMF1X5J17kaB1jObShEVB81nol","audience":"https://terraform-provider-auth0-dev.sus.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]}]}' + body: '{"total":7,"start":0,"limit":50,"client_grants":[{"id":"cgr_BRwNL8rCTOixv6DU","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example2.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_Gh989ryCLAXzmS3y","client_id":"gIJikrYcmSXEhIv9cXEEtoGFj8kPDxUx","audience":"https://api.travel001.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_UWYceavPkwfRPtbf","client_id":"Mt2OyVN7QphPhmFWgJMXtzzethEatko0","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","update:flows_vault","delete:flows_vault","create:flows_vault","read:flows_executions","delete:flows_executions","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]},{"id":"cgr_fTgG6hZ6DJyXSv2D","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_tEnbObhlbCHIkA2C","client_id":"FiUTsAhjzFlxipoMI1hqUX0LK1fpPpjl","audience":"https://api.travel0.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_wdvDb163A7cFXQqz","client_id":"pSxP9RbyOmWpijS0lkRiOIzGqEocLsz1","audience":"https://api.travel00123.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_zV8sbywGQQxCnreD","client_id":"bpViNbMMF1X5J17kaB1jObShEVB81nol","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]}]}' headers: Content-Type: - application/json; charset=utf-8 @@ -912,7 +912,7 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"total":7,"start":0,"limit":50,"client_grants":[{"id":"cgr_BRwNL8rCTOixv6DU","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example2.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_Gh989ryCLAXzmS3y","client_id":"gIJikrYcmSXEhIv9cXEEtoGFj8kPDxUx","audience":"https://api.travel001.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_UWYceavPkwfRPtbf","client_id":"Mt2OyVN7QphPhmFWgJMXtzzethEatko0","audience":"https://terraform-provider-auth0-dev.sus.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","update:flows_vault","delete:flows_vault","create:flows_vault","read:flows_executions","delete:flows_executions","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]},{"id":"cgr_fTgG6hZ6DJyXSv2D","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_tEnbObhlbCHIkA2C","client_id":"FiUTsAhjzFlxipoMI1hqUX0LK1fpPpjl","audience":"https://api.travel0.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_wdvDb163A7cFXQqz","client_id":"pSxP9RbyOmWpijS0lkRiOIzGqEocLsz1","audience":"https://api.travel00123.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_zV8sbywGQQxCnreD","client_id":"bpViNbMMF1X5J17kaB1jObShEVB81nol","audience":"https://terraform-provider-auth0-dev.sus.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]}]}' + body: '{"total":7,"start":0,"limit":50,"client_grants":[{"id":"cgr_BRwNL8rCTOixv6DU","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example2.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_Gh989ryCLAXzmS3y","client_id":"gIJikrYcmSXEhIv9cXEEtoGFj8kPDxUx","audience":"https://api.travel001.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_UWYceavPkwfRPtbf","client_id":"Mt2OyVN7QphPhmFWgJMXtzzethEatko0","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","update:flows_vault","delete:flows_vault","create:flows_vault","read:flows_executions","delete:flows_executions","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]},{"id":"cgr_fTgG6hZ6DJyXSv2D","client_id":"MIToD9xBxaoP4NwHGKo2EJWwSU04Uxod","audience":"https://api.example.com","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_tEnbObhlbCHIkA2C","client_id":"FiUTsAhjzFlxipoMI1hqUX0LK1fpPpjl","audience":"https://api.travel0.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_wdvDb163A7cFXQqz","client_id":"pSxP9RbyOmWpijS0lkRiOIzGqEocLsz1","audience":"https://api.travel00123.com/","scope":["create:organization_client_grants","create:resource"],"organization_usage":"allow","allow_any_organization":true},{"id":"cgr_zV8sbywGQQxCnreD","client_id":"bpViNbMMF1X5J17kaB1jObShEVB81nol","audience":"https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/","scope":["read:client_grants","create:client_grants","delete:client_grants","update:client_grants","read:users","update:users","delete:users","create:users","read:users_app_metadata","update:users_app_metadata","delete:users_app_metadata","create:users_app_metadata","read:user_custom_blocks","create:user_custom_blocks","delete:user_custom_blocks","create:user_tickets","read:clients","update:clients","delete:clients","create:clients","read:client_keys","update:client_keys","delete:client_keys","create:client_keys","read:connections","update:connections","delete:connections","create:connections","read:resource_servers","update:resource_servers","delete:resource_servers","create:resource_servers","read:device_credentials","update:device_credentials","delete:device_credentials","create:device_credentials","read:rules","update:rules","delete:rules","create:rules","read:rules_configs","update:rules_configs","delete:rules_configs","read:hooks","update:hooks","delete:hooks","create:hooks","read:actions","update:actions","delete:actions","create:actions","read:email_provider","update:email_provider","delete:email_provider","create:email_provider","blacklist:tokens","read:stats","read:insights","read:tenant_settings","update:tenant_settings","read:logs","read:logs_users","read:shields","create:shields","update:shields","delete:shields","read:anomaly_blocks","delete:anomaly_blocks","update:triggers","read:triggers","read:grants","delete:grants","read:guardian_factors","update:guardian_factors","read:guardian_enrollments","delete:guardian_enrollments","create:guardian_enrollment_tickets","read:user_idp_tokens","create:passwords_checking_job","delete:passwords_checking_job","read:custom_domains","delete:custom_domains","create:custom_domains","update:custom_domains","read:email_templates","create:email_templates","update:email_templates","read:mfa_policies","update:mfa_policies","read:roles","create:roles","delete:roles","update:roles","read:prompts","update:prompts","read:branding","update:branding","delete:branding","read:log_streams","create:log_streams","delete:log_streams","update:log_streams","create:signing_keys","read:signing_keys","update:signing_keys","read:limits","update:limits","create:role_members","read:role_members","delete:role_members","read:entitlements","read:attack_protection","update:attack_protection","read:organizations_summary","create:authentication_methods","read:authentication_methods","update:authentication_methods","delete:authentication_methods","read:organizations","update:organizations","create:organizations","delete:organizations","create:organization_members","read:organization_members","delete:organization_members","create:organization_connections","read:organization_connections","update:organization_connections","delete:organization_connections","create:organization_member_roles","read:organization_member_roles","delete:organization_member_roles","create:organization_invitations","read:organization_invitations","delete:organization_invitations","read:scim_config","create:scim_config","update:scim_config","delete:scim_config","create:scim_token","read:scim_token","delete:scim_token","delete:phone_providers","create:phone_providers","read:phone_providers","update:phone_providers","delete:phone_templates","create:phone_templates","read:phone_templates","update:phone_templates","create:encryption_keys","read:encryption_keys","update:encryption_keys","delete:encryption_keys","read:sessions","delete:sessions","read:refresh_tokens","delete:refresh_tokens","create:self_service_profiles","read:self_service_profiles","update:self_service_profiles","delete:self_service_profiles","create:sso_access_tickets","read:forms","update:forms","delete:forms","create:forms","read:flows","update:flows","delete:flows","create:flows","read:flows_vault","read:flows_vault_connections","update:flows_vault_connections","delete:flows_vault_connections","create:flows_vault_connections","read:flows_executions","delete:flows_executions","read:connections_options","update:connections_options","read:client_credentials","create:client_credentials","update:client_credentials","delete:client_credentials","read:organization_client_grants","create:organization_client_grants","delete:organization_client_grants","update:device_codes","read:device_codes"]}]}' headers: Content-Type: - application/json; charset=utf-8 diff --git a/test/data/recordings/TestAccResourceServer.yaml b/test/data/recordings/TestAccResourceServer.yaml deleted file mode 100644 index 6cf3868ee..000000000 --- a/test/data/recordings/TestAccResourceServer.yaml +++ /dev/null @@ -1,1343 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 84 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 275 - uncompressed: false - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 154.73075ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 31 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"authorization_details":null} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 140.377292ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 26 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"token_encryption":null} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.695333ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 29 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"proof_of_possession":null} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 150.6225ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 167.76275ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 151.680208ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":false,"token_lifetime":86400,"token_lifetime_for_web":7200,"signing_alg":"RS256"}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 158.347166ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 233 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 136.974042ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 147.886875ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 133.374208ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 124.831458ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 145.848666ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 185.313083ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":true,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.492958ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 2485 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false,"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"token_encryption":{"format":"compact-nested-jwe","encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","pem":"-----BEGIN CERTIFICATE-----\nMIIFWDCCA0ACCQDXqpBo3RUhkzANBgkqhkiG9w0BAQsFADBuMQswCQYDVQQGEwJl\nczEPMA0GA1UECAwGTWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxDTALBgNVBAoMBE9r\ndGExDzANBgNVBAsMBkRYLUNEVDEdMBsGA1UEAwwURGV2ZWxvcGVyIEV4cGVyaWVu\nY2UwHhcNMjMwNTE2MDkzMzEzWhcNMzMwNTEzMDkzMzEzWjBuMQswCQYDVQQGEwJl\nczEPMA0GA1UECAwGTWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxDTALBgNVBAoMBE9r\ndGExDzANBgNVBAsMBkRYLUNEVDEdMBsGA1UEAwwURGV2ZWxvcGVyIEV4cGVyaWVu\nY2UwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCupwRtoZtRk9qRaXD+\nYdtpM9dWo2vaprvNo+7J2YPlOtZB0zx7xykTEI5UMsESRwEATzVvepQzvswYBlca\n9k1nOcMBSmhkJPol9fbntWAbw4jvs/xXCtKCVOuiP2hffaeq1+6Kei8gXJKpytzN\nLPhbqpoNfqb87U4SM4pKFWSkbJSL0inUilrlc4sR9IGWs9jjCK21TpsUcb7GMZem\nv7MlZQfKQSFuTJgTs3aLJAiyF0yfYhCMbE/bFefRsTcZYnAEYfI3pLDAuZm4GjWD\nW0DCm43pO+jSRvEnbikVvFo6GAoTyUStifK44KVwhp4iPRkIrUCEMxK0mCMVJ9KF\ntaKWsFcJ5nQGJxBz6fj766Hl7SwuHvmSezzADF7/5kOAb8TnMfYsRFxak/iE/5s+\nOldEONHWuyVWuNIqEeI1DglscX02uK7jnuhUAyrCR0ayI3Ket+OvbviZIjiNyqfR\nchPuL7QyQl3CrWcTgZCqwjMzW2G9Y63k838mqL0gVhNPrH6QedOdSsnXbsjP+hS5\nPx2PRWqT+Z8otzZpfnD/pmtjoA3D93c1KJ+hFNlyIvD+R7go045l7OR5MKkgkOSO\nCXTqCSiq09XpZUQvwMtW516K5K/zOveai7V5DTmTHhCL5kthRYhA5WDfLWicG0ZP\nzl4p7gmxfmseQH/bHBSU2f+a+QIDAQABMA0GCSqGSIb3DQEBCwUAA4ICAQA7EOsl\nD5WQ+G6T0GhbyTmlC497aULzCdFfkMjlPN2MiVhje0G4u8C5zK6zEkmyWfRkqCIh\n54YLbaZu55MbvwbD64tTWqDMBmmna8HpulFcpi4RM9jGFMqx5/NSHBLqv/BC3UNt\n7c4y4YuLJkB07RljPv07k5sgf9/twF+v7UYVURfutoj0sjOImJMN66YVOTlNoGTS\nTOrDWByqc6eDHSFVU+0urrgos4iF5UN7ovfA8dLBiR7I4S5kVKSKO18UUB4qPIj0\nyMvTImrQXMepVtzaGae1V5BCyx37J12/STcUdE5urtSBjZyaugrTw+C+WHTcS829\nq5jOjmBJgFTIICz8IDTxPZIM+keVyodFOJKRtteT6vWnk8wq9k4U5HRxtdRKc52u\nd3RCO/B+RxbBLzFuKrM402LNe6j6+gek4boPkzfMbEIohJm1ukM4bATfP5gltsGe\n6UvXg7yaM+oW8jBPHK9w5azsqj+SuxqvARchHWRIrYAli5SePbUtmFKC/Lt+pKCK\nqxdawpr8EUrJXvHL3XoNHuGNbVuSm/ep+ge89UAbUEQ90A4w7fuSX5S+pr4nMOTi\nlNZtdWtIC9qcJ2Xmy5gZ+mAh3Wv+96IwQ9MWvtFEXquNNbvJdXVluUPVarNv3T1B\n8GMCiNZ0r6tknDJcnkjmRqiB8o/ExYXRnjHhGQ==\n-----END CERTIFICATE-----\n\n"}},"proof_of_possession":{"mechanism":"mtls","required":true}} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 161.4245ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 130.074667ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 138.517958ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 145.628125ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 156.264958ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 140.803084ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 265 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false,"token_dialect":"access_token"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 146.011333ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 142.157542ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 162.008666ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"access_token","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 140.610333ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 270 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true,"token_dialect":"access_token_authz"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 133.422209ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 138.799334ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.908ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"access_token_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 132.508791ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 268 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":false,"token_dialect":"rfc9068_profile"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 162.828125ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 135.806125ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 141.257084ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":false,"token_dialect":"rfc9068_profile","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 137.185875ms - - id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 273 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Acceptance Test - TestAccResourceServer","signing_alg":"RS256","allow_offline_access":false,"token_lifetime":7200,"token_lifetime_for_web":3600,"skip_consent_for_verifiable_first_party_clients":true,"enforce_policies":true,"token_dialect":"rfc9068_profile_authz"} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 134.973084ms - - id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 131.025791ms - - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 175.890708ms - - id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 157.487166ms - - id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"66e1df5fd5fa0521310a8711","name":"Acceptance Test - TestAccResourceServer","identifier":"https://uat.api.terraform-provider-auth0.com/TestAccResourceServer","allow_offline_access":false,"skip_consent_for_verifiable_first_party_clients":true,"token_lifetime":7200,"token_lifetime_for_web":3600,"signing_alg":"RS256","enforce_policies":true,"token_dialect":"rfc9068_profile_authz","token_encryption":{"encryption_key":{"name":"encryptkey","alg":"RSA-OAEP-256","thumbprint_sha256":"w0kIFOc-q7KKK-pa2Uj5b_Cl3f0hAgFeseLg8iEmWu0"},"format":"compact-nested-jwe"},"consent_policy":"transactional-authorization-with-mfa","authorization_details":[{"type":"payment"},{"type":"not-payment"}],"proof_of_possession":{"mechanism":"mtls","required":true}}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 138.559375ms - - id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0/1.10.0 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/resource-servers/66e1df5fd5fa0521310a8711 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 196.707875ms