-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add auth0_encryption_key_manager resource to allow rekeying of encryption keys #1031
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1031 +/- ##
==========================================
+ Coverage 90.25% 90.27% +0.02%
==========================================
Files 112 114 +2
Lines 16350 16448 +98
==========================================
+ Hits 14757 14849 +92
- Misses 1118 1122 +4
- Partials 475 477 +2
|
acwest
force-pushed
the
DXCDT-655-add-cyok-rekey
branch
3 times, most recently
from
September 26, 2024 13:57
9a71b69
to
4039d95
Compare
acwest
force-pushed
the
DXCDT-655-add-cyok-rekey
branch
from
October 1, 2024 15:30
3c2d16f
to
ca1536e
Compare
duedares-rvj
reviewed
Oct 1, 2024
duedares-rvj
reviewed
Oct 1, 2024
duedares-rvj
approved these changes
Oct 3, 2024
duedares-rvj
changed the title
Add auth0_encryption_keys resource to allow rekeying of encryption keys
Add auth0_encryption_key_manager resource to allow rekeying of encryption keys
Oct 8, 2024
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
…ys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
…ys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Signed-off-by: BryanLewis-AtOkta <[email protected]>
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
…ys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Signed-off-by: BryanLewis-AtOkta <[email protected]>
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
… for Verify. Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017) * Removed min/max validation on precendence slice * reverted maxItems validation Add support for all languages for Universal Login (auth0#1016) * Fetch list of languages from CDN instead of hardcoding them * Updated linting --------- Co-authored-by: KunalOfficial <[email protected]> Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources (auth0#1013) * Add-Support-for-Prompt-Screen-Partials * Add auth0_prompt_screen_partial Resource and Required Docs * Fix Linting * Updated Go-auth0 Version 1.9.0 to 1.10.0 * Added Testcases for other insertionpoints as well * Fixed Linting * Added More testcases * Correct depends on for datasource of prompt partials Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999) Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add Organizations for Client Credentials (auth0#1009) * Updated schema and added relevant test cases for client with default_organization * Added test recordings * Updated the resource schema and added new test recordinging * Added validation on required arguments * Fixed linting and updated test recording * Deleted a test recording * Updated go.mod Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019) * Change screen_partials to TypeSet for consistent ordering in prompt screen partials * Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues Add changelog for v1.6.0 (auth0#1020) * Added the changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Patch: default_organization on Client Creds (auth0#1021) * Updated flow of importing default_organization * Updated logic for handling default Orgs * Updated test recordings * Updated the conditional check Add changelog for v1.6.1 (auth0#1022) * Added changelog * linting fixes * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Add HRI related changes to Terraform provider (auth0#1015) * Add HRI related changes to Terraform provider * Fix broken HasChange behaviour * Change ConflictWith to explicit validation in code * Move validation to plan instead of apply * Fix validation for default resources Add strategy_version support to all connections that use it (auth0#1024) * ESD-39527: Add strategy_version support to all connections that use it * Update go-auth0 dependency * Add examples for strategy_version Add user_id_attribute support to AzureAD connection options (auth0#1028) Add user_id_attribute to AzureAD connection options Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036) Bump github.com/auth0/go-auth0 Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Added some minor updates Updated recordings docs updated Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Add new resource to manage Organization Client Grants (auth0#1027) * Added new resource and data source for org client grants * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config * rebased * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config --------- Co-authored-by: A. Craig West <[email protected]> Add support for Form, Flow and Flow Vault Connection (auth0#1039) * form resource * flow resource * flow resource, data source added * update forms * update flow * update go-auth0 v1.11.0 * added flow vault connection * Added flow expand/flatten + tests + recordings * update flow vault connection * form, flow vault connection added unit test, recordings * form, flow vault connection doc update * form, flow vault connection examples added * form, flow vault connection examples added example, data source * form, flow vault connection examples docs updated * lint fix * form, flow unit test added * form flatten unit test added * lint * Updated recordings --------- Co-authored-by: kushalshit27 <[email protected]> PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043) Fix: Ensure Removal of Insertion Points in Resource API Support BYOK in Terraform provider (auth0#1041) Co-authored-by: KunalOfficial <[email protected]> Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042) Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](auth0/go-auth0@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add changelog for 1.7.0 (auth0#1044) * Added changelog for 1.7.0 * Added further changes * removed . * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * removed . * minor refactor --------- Co-authored-by: KunalOfficial <[email protected]> Fix docs for user_id_attribute for AzureAD connection options (auth0#1047) ESD-40277: Fix docs for user_id_attribute for AzureAD connection options PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049) * Added check on tenants which has insufficient scopes and return a empty slice * Updated test case * minor refactoring * minor refactor * linting * linting Updated example for Form (auth0#1046) * Updated example for form PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048) * Implemented checkpoint pagination on role users * added tests Add changelog for 1.7.1 (auth0#1050) * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Apply suggestions from code review Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Added changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052) Updated recording + auth0 version bump Added a check on provider's configuration for required env vars (auth0#1053) * Added a check on provider's configuration for reqd env vars * Added linting
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
… for Verify. Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017) * Removed min/max validation on precendence slice * reverted maxItems validation Add support for all languages for Universal Login (auth0#1016) * Fetch list of languages from CDN instead of hardcoding them * Updated linting --------- Co-authored-by: KunalOfficial <[email protected]> Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources (auth0#1013) * Add-Support-for-Prompt-Screen-Partials * Add auth0_prompt_screen_partial Resource and Required Docs * Fix Linting * Updated Go-auth0 Version 1.9.0 to 1.10.0 * Added Testcases for other insertionpoints as well * Fixed Linting * Added More testcases * Correct depends on for datasource of prompt partials Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999) Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add Organizations for Client Credentials (auth0#1009) * Updated schema and added relevant test cases for client with default_organization * Added test recordings * Updated the resource schema and added new test recordinging * Added validation on required arguments * Fixed linting and updated test recording * Deleted a test recording * Updated go.mod Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019) * Change screen_partials to TypeSet for consistent ordering in prompt screen partials * Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues Add changelog for v1.6.0 (auth0#1020) * Added the changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Patch: default_organization on Client Creds (auth0#1021) * Updated flow of importing default_organization * Updated logic for handling default Orgs * Updated test recordings * Updated the conditional check Add changelog for v1.6.1 (auth0#1022) * Added changelog * linting fixes * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Add HRI related changes to Terraform provider (auth0#1015) * Add HRI related changes to Terraform provider * Fix broken HasChange behaviour * Change ConflictWith to explicit validation in code * Move validation to plan instead of apply * Fix validation for default resources Add strategy_version support to all connections that use it (auth0#1024) * ESD-39527: Add strategy_version support to all connections that use it * Update go-auth0 dependency * Add examples for strategy_version Add user_id_attribute support to AzureAD connection options (auth0#1028) Add user_id_attribute to AzureAD connection options Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036) Bump github.com/auth0/go-auth0 Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Added some minor updates Updated recordings docs updated Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Add new resource to manage Organization Client Grants (auth0#1027) * Added new resource and data source for org client grants * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config * rebased * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config --------- Co-authored-by: A. Craig West <[email protected]> Add support for Form, Flow and Flow Vault Connection (auth0#1039) * form resource * flow resource * flow resource, data source added * update forms * update flow * update go-auth0 v1.11.0 * added flow vault connection * Added flow expand/flatten + tests + recordings * update flow vault connection * form, flow vault connection added unit test, recordings * form, flow vault connection doc update * form, flow vault connection examples added * form, flow vault connection examples added example, data source * form, flow vault connection examples docs updated * lint fix * form, flow unit test added * form flatten unit test added * lint * Updated recordings --------- Co-authored-by: kushalshit27 <[email protected]> PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043) Fix: Ensure Removal of Insertion Points in Resource API Support BYOK in Terraform provider (auth0#1041) Co-authored-by: KunalOfficial <[email protected]> Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042) Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](auth0/go-auth0@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add changelog for 1.7.0 (auth0#1044) * Added changelog for 1.7.0 * Added further changes * removed . * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * removed . * minor refactor --------- Co-authored-by: KunalOfficial <[email protected]> Fix docs for user_id_attribute for AzureAD connection options (auth0#1047) ESD-40277: Fix docs for user_id_attribute for AzureAD connection options PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049) * Added check on tenants which has insufficient scopes and return a empty slice * Updated test case * minor refactoring * minor refactor * linting * linting Updated example for Form (auth0#1046) * Updated example for form PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048) * Implemented checkpoint pagination on role users * added tests Add changelog for 1.7.1 (auth0#1050) * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Apply suggestions from code review Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Added changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052) Updated recording + auth0 version bump Added a check on provider's configuration for required env vars (auth0#1053) * Added a check on provider's configuration for reqd env vars * Added linting
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
… for Verify. Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017) * Removed min/max validation on precendence slice * reverted maxItems validation Add support for all languages for Universal Login (auth0#1016) * Fetch list of languages from CDN instead of hardcoding them * Updated linting --------- Co-authored-by: KunalOfficial <[email protected]> Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources (auth0#1013) * Add-Support-for-Prompt-Screen-Partials * Add auth0_prompt_screen_partial Resource and Required Docs * Fix Linting * Updated Go-auth0 Version 1.9.0 to 1.10.0 * Added Testcases for other insertionpoints as well * Fixed Linting * Added More testcases * Correct depends on for datasource of prompt partials Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999) Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add Organizations for Client Credentials (auth0#1009) * Updated schema and added relevant test cases for client with default_organization * Added test recordings * Updated the resource schema and added new test recordinging * Added validation on required arguments * Fixed linting and updated test recording * Deleted a test recording * Updated go.mod Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019) * Change screen_partials to TypeSet for consistent ordering in prompt screen partials * Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues Add changelog for v1.6.0 (auth0#1020) * Added the changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Patch: default_organization on Client Creds (auth0#1021) * Updated flow of importing default_organization * Updated logic for handling default Orgs * Updated test recordings * Updated the conditional check Add changelog for v1.6.1 (auth0#1022) * Added changelog * linting fixes * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Add HRI related changes to Terraform provider (auth0#1015) * Add HRI related changes to Terraform provider * Fix broken HasChange behaviour * Change ConflictWith to explicit validation in code * Move validation to plan instead of apply * Fix validation for default resources Add strategy_version support to all connections that use it (auth0#1024) * ESD-39527: Add strategy_version support to all connections that use it * Update go-auth0 dependency * Add examples for strategy_version Add user_id_attribute support to AzureAD connection options (auth0#1028) Add user_id_attribute to AzureAD connection options Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036) Bump github.com/auth0/go-auth0 Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Added some minor updates Updated recordings docs updated Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Add new resource to manage Organization Client Grants (auth0#1027) * Added new resource and data source for org client grants * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config * rebased * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config --------- Co-authored-by: A. Craig West <[email protected]> Add support for Form, Flow and Flow Vault Connection (auth0#1039) * form resource * flow resource * flow resource, data source added * update forms * update flow * update go-auth0 v1.11.0 * added flow vault connection * Added flow expand/flatten + tests + recordings * update flow vault connection * form, flow vault connection added unit test, recordings * form, flow vault connection doc update * form, flow vault connection examples added * form, flow vault connection examples added example, data source * form, flow vault connection examples docs updated * lint fix * form, flow unit test added * form flatten unit test added * lint * Updated recordings --------- Co-authored-by: kushalshit27 <[email protected]> PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043) Fix: Ensure Removal of Insertion Points in Resource API Support BYOK in Terraform provider (auth0#1041) Co-authored-by: KunalOfficial <[email protected]> Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042) Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](auth0/go-auth0@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add changelog for 1.7.0 (auth0#1044) * Added changelog for 1.7.0 * Added further changes * removed . * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * removed . * minor refactor --------- Co-authored-by: KunalOfficial <[email protected]> Fix docs for user_id_attribute for AzureAD connection options (auth0#1047) ESD-40277: Fix docs for user_id_attribute for AzureAD connection options PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049) * Added check on tenants which has insufficient scopes and return a empty slice * Updated test case * minor refactoring * minor refactor * linting * linting Updated example for Form (auth0#1046) * Updated example for form PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048) * Implemented checkpoint pagination on role users * added tests Add changelog for 1.7.1 (auth0#1050) * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Apply suggestions from code review Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Added changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052) Updated recording + auth0 version bump Added a check on provider's configuration for required env vars (auth0#1053) * Added a check on provider's configuration for reqd env vars * Added linting
BryanLewis-AtOkta
pushed a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
… for Verify. Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017) * Removed min/max validation on precendence slice * reverted maxItems validation Add support for all languages for Universal Login (auth0#1016) * Fetch list of languages from CDN instead of hardcoding them * Updated linting --------- Co-authored-by: KunalOfficial <[email protected]> Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources (auth0#1013) * Add-Support-for-Prompt-Screen-Partials * Add auth0_prompt_screen_partial Resource and Required Docs * Fix Linting * Updated Go-auth0 Version 1.9.0 to 1.10.0 * Added Testcases for other insertionpoints as well * Fixed Linting * Added More testcases * Correct depends on for datasource of prompt partials Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999) Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add Organizations for Client Credentials (auth0#1009) * Updated schema and added relevant test cases for client with default_organization * Added test recordings * Updated the resource schema and added new test recordinging * Added validation on required arguments * Fixed linting and updated test recording * Deleted a test recording * Updated go.mod Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019) * Change screen_partials to TypeSet for consistent ordering in prompt screen partials * Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues Add changelog for v1.6.0 (auth0#1020) * Added the changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Patch: default_organization on Client Creds (auth0#1021) * Updated flow of importing default_organization * Updated logic for handling default Orgs * Updated test recordings * Updated the conditional check Add changelog for v1.6.1 (auth0#1022) * Added changelog * linting fixes * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Add HRI related changes to Terraform provider (auth0#1015) * Add HRI related changes to Terraform provider * Fix broken HasChange behaviour * Change ConflictWith to explicit validation in code * Move validation to plan instead of apply * Fix validation for default resources Add strategy_version support to all connections that use it (auth0#1024) * ESD-39527: Add strategy_version support to all connections that use it * Update go-auth0 dependency * Add examples for strategy_version Add user_id_attribute support to AzureAD connection options (auth0#1028) Add user_id_attribute to AzureAD connection options Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036) Bump github.com/auth0/go-auth0 Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Added some minor updates Updated recordings docs updated Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Add new resource to manage Organization Client Grants (auth0#1027) * Added new resource and data source for org client grants * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config * rebased * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config --------- Co-authored-by: A. Craig West <[email protected]> Add support for Form, Flow and Flow Vault Connection (auth0#1039) * form resource * flow resource * flow resource, data source added * update forms * update flow * update go-auth0 v1.11.0 * added flow vault connection * Added flow expand/flatten + tests + recordings * update flow vault connection * form, flow vault connection added unit test, recordings * form, flow vault connection doc update * form, flow vault connection examples added * form, flow vault connection examples added example, data source * form, flow vault connection examples docs updated * lint fix * form, flow unit test added * form flatten unit test added * lint * Updated recordings --------- Co-authored-by: kushalshit27 <[email protected]> PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043) Fix: Ensure Removal of Insertion Points in Resource API Support BYOK in Terraform provider (auth0#1041) Co-authored-by: KunalOfficial <[email protected]> Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042) Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](auth0/go-auth0@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add changelog for 1.7.0 (auth0#1044) * Added changelog for 1.7.0 * Added further changes * removed . * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * removed . * minor refactor --------- Co-authored-by: KunalOfficial <[email protected]> Fix docs for user_id_attribute for AzureAD connection options (auth0#1047) ESD-40277: Fix docs for user_id_attribute for AzureAD connection options PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049) * Added check on tenants which has insufficient scopes and return a empty slice * Updated test case * minor refactoring * minor refactor * linting * linting Updated example for Form (auth0#1046) * Updated example for form PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048) * Implemented checkpoint pagination on role users * added tests Add changelog for 1.7.1 (auth0#1050) * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Apply suggestions from code review Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Added changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052) Updated recording + auth0 version bump Added a check on provider's configuration for required env vars (auth0#1053) * Added a check on provider's configuration for reqd env vars * Added linting
BryanLewis-AtOkta
added a commit
to BryanLewis-AtOkta/terraform-provider-auth0
that referenced
this pull request
Oct 24, 2024
… for Verify. Patch: Removed MinItems validation for precedence on Connection Resource (auth0#1017) * Removed min/max validation on precendence slice * reverted maxItems validation Add support for all languages for Universal Login (auth0#1016) * Fetch list of languages from CDN instead of hardcoding them * Updated linting --------- Co-authored-by: KunalOfficial <[email protected]> Add Support for `auth0_prompt_screen_partial` and `auth0_prompt_screen_partials` in Prompt Resources (auth0#1013) * Add-Support-for-Prompt-Screen-Partials * Add auth0_prompt_screen_partial Resource and Required Docs * Fix Linting * Updated Go-auth0 Version 1.9.0 to 1.10.0 * Added Testcases for other insertionpoints as well * Fixed Linting * Added More testcases * Correct depends on for datasource of prompt partials Bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 (auth0#999) Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-testing@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add Organizations for Client Credentials (auth0#1009) * Updated schema and added relevant test cases for client with default_organization * Added test recordings * Updated the resource schema and added new test recordinging * Added validation on required arguments * Fixed linting and updated test recording * Deleted a test recording * Updated go.mod Add Sorting to `screen_partials` Flattening Logic to Resolve Indexing Issues with Prompt Screen Partials (auth0#1019) * Change screen_partials to TypeSet for consistent ordering in prompt screen partials * Add Sorting to screen_partials Flattening Logic to Resolve Indexing Issues Add changelog for v1.6.0 (auth0#1020) * Added the changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Patch: default_organization on Client Creds (auth0#1021) * Updated flow of importing default_organization * Updated logic for handling default Orgs * Updated test recordings * Updated the conditional check Add changelog for v1.6.1 (auth0#1022) * Added changelog * linting fixes * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Add HRI related changes to Terraform provider (auth0#1015) * Add HRI related changes to Terraform provider * Fix broken HasChange behaviour * Change ConflictWith to explicit validation in code * Move validation to plan instead of apply * Fix validation for default resources Add strategy_version support to all connections that use it (auth0#1024) * ESD-39527: Add strategy_version support to all connections that use it * Update go-auth0 dependency * Add examples for strategy_version Add user_id_attribute support to AzureAD connection options (auth0#1028) Add user_id_attribute to AzureAD connection options Bump github.com/auth0/go-auth0 from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0 (auth0#1036) Bump github.com/auth0/go-auth0 Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.10.1-0.20240920131149-720c3a081e03 to 1.11.0. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](https://github.com/auth0/go-auth0/commits/v1.11.0) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Added some minor updates Updated recordings docs updated Add auth0_encryption_keys resource to allow rekeying of encryption keys (auth0#1031) * Add auth0_encryption_key resource to allow rekeying of tenant encryption keys * Slight renaming, and use key_rotation_id instead of rekey attribute * Rename auth0_encryption_key to auth0_encryption_key_manager Add new resource to manage Organization Client Grants (auth0#1027) * Added new resource and data source for org client grants * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config * rebased * minor refactoring * Added test case * Updated test recordings * Updated the test name * Fix some timing issues in resourceserver, and add terraform version to server logs * Remove unneeded lint config --------- Co-authored-by: A. Craig West <[email protected]> Add support for Form, Flow and Flow Vault Connection (auth0#1039) * form resource * flow resource * flow resource, data source added * update forms * update flow * update go-auth0 v1.11.0 * added flow vault connection * Added flow expand/flatten + tests + recordings * update flow vault connection * form, flow vault connection added unit test, recordings * form, flow vault connection doc update * form, flow vault connection examples added * form, flow vault connection examples added example, data source * form, flow vault connection examples docs updated * lint fix * form, flow unit test added * form flatten unit test added * lint * Updated recordings --------- Co-authored-by: kushalshit27 <[email protected]> PATCH: Ensure Removal of Insertion Points in `auth0_prompt_screen_partial` Resource (auth0#1043) Fix: Ensure Removal of Insertion Points in Resource API Support BYOK in Terraform provider (auth0#1041) Co-authored-by: KunalOfficial <[email protected]> Bump github.com/auth0/go-auth0 from 1.11.0 to 1.11.1 (auth0#1042) Bumps [github.com/auth0/go-auth0](https://github.com/auth0/go-auth0) from 1.11.0 to 1.11.1. - [Release notes](https://github.com/auth0/go-auth0/releases) - [Changelog](https://github.com/auth0/go-auth0/blob/main/CHANGELOG.md) - [Commits](auth0/go-auth0@v1.11.0...v1.11.1) --- updated-dependencies: - dependency-name: github.com/auth0/go-auth0 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add changelog for 1.7.0 (auth0#1044) * Added changelog for 1.7.0 * Added further changes * removed . * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * removed . * minor refactor --------- Co-authored-by: KunalOfficial <[email protected]> Fix docs for user_id_attribute for AzureAD connection options (auth0#1047) ESD-40277: Fix docs for user_id_attribute for AzureAD connection options PATCH: Add graceful error handling for `auth0_organization` data source when using client grants (auth0#1049) * Added check on tenants which has insufficient scopes and return a empty slice * Updated test case * minor refactoring * minor refactor * linting * linting Updated example for Form (auth0#1046) * Updated example for form PATCH: Implemented checkpoint pagination for retrieving Role users (auth0#1048) * Implemented checkpoint pagination on role users * added tests Add changelog for 1.7.1 (auth0#1050) * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Apply suggestions from code review Co-authored-by: KunalOfficial <[email protected]> * Added changelog * refac * refac * refac * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> * refac * Added changelog * Update CHANGELOG.md Co-authored-by: KunalOfficial <[email protected]> --------- Co-authored-by: KunalOfficial <[email protected]> Fix: Updated `TestAccConnectionAzureAD` test recording (auth0#1052) Updated recording + auth0 version bump Added a check on provider's configuration for required env vars (auth0#1053) * Added a check on provider's configuration for reqd env vars * Added linting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR brings support of the Control Your Own Key (CYOK) functionality in the Auth0 Management API.
🔧 Changes
A new resource has been added,
auth0_encryption_key_manager
which contains a single optional attributekey_rotation_id
which if changed, causes the encryption key hierarchy to be rekeyed.📚 References
Customer Managed Keys
API Documentation
🔬 Testing
📝 Checklist