Skip to content

Commit

Permalink
feat: Add oauth integration for partner applications (#2912)
Browse files Browse the repository at this point in the history
<!-- Feel free to delete comments as you fill this in -->
<!-- summary of changes -->
Changes:
- New oauth integration for partner applications added
- Examples added
- Migration Guide was added in the previous pr (oauth for custom
clients)
- Common description for not detecting external changes and using manual
re-creation added
- Left TODOs for UNSETs not working
- Address things from
#2868

## Test Plan
<!-- detail ways in which this PR has been tested or needs to be tested
-->
* [x] acceptance tests
<!-- add more below if you think they are relevant -->

## References
<!-- issues documentation links, etc  -->

*
[CREATE](https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake)
  • Loading branch information
sfc-gh-jcieslak authored Jul 9, 2024
1 parent 91931da commit 91788e5
Show file tree
Hide file tree
Showing 35 changed files with 2,155 additions and 184 deletions.
222 changes: 219 additions & 3 deletions docs/data-sources/security_integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,226 @@ Read-Only:

Read-Only:

- `todo` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--todo))
- `blocked_roles_list` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--blocked_roles_list))
- `comment` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--comment))
- `enabled` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--enabled))
- `network_policy` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--network_policy))
- `oauth_allow_non_tls_redirect_uri` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_allow_non_tls_redirect_uri))
- `oauth_allowed_authorization_endpoints` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_allowed_authorization_endpoints))
- `oauth_allowed_token_endpoints` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_allowed_token_endpoints))
- `oauth_authorization_endpoint` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_authorization_endpoint))
- `oauth_client_id` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_client_id))
- `oauth_client_rsa_public_key_2_fp` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_client_rsa_public_key_2_fp))
- `oauth_client_rsa_public_key_fp` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_client_rsa_public_key_fp))
- `oauth_client_type` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_client_type))
- `oauth_enforce_pkce` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_enforce_pkce))
- `oauth_issue_refresh_tokens` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_issue_refresh_tokens))
- `oauth_redirect_uri` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_redirect_uri))
- `oauth_refresh_token_validity` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_refresh_token_validity))
- `oauth_token_endpoint` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_token_endpoint))
- `oauth_use_secondary_roles` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--oauth_use_secondary_roles))
- `pre_authorized_roles_list` (List of Object) (see [below for nested schema](#nestedobjatt--security_integrations--describe_output--pre_authorized_roles_list))

<a id="nestedobjatt--security_integrations--describe_output--blocked_roles_list"></a>
### Nested Schema for `security_integrations.describe_output.blocked_roles_list`

<a id="nestedobjatt--security_integrations--describe_output--todo"></a>
### Nested Schema for `security_integrations.describe_output.todo`
Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--comment"></a>
### Nested Schema for `security_integrations.describe_output.comment`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--enabled"></a>
### Nested Schema for `security_integrations.describe_output.enabled`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--network_policy"></a>
### Nested Schema for `security_integrations.describe_output.network_policy`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_allow_non_tls_redirect_uri"></a>
### Nested Schema for `security_integrations.describe_output.oauth_allow_non_tls_redirect_uri`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_allowed_authorization_endpoints"></a>
### Nested Schema for `security_integrations.describe_output.oauth_allowed_authorization_endpoints`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_allowed_token_endpoints"></a>
### Nested Schema for `security_integrations.describe_output.oauth_allowed_token_endpoints`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_authorization_endpoint"></a>
### Nested Schema for `security_integrations.describe_output.oauth_authorization_endpoint`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_client_id"></a>
### Nested Schema for `security_integrations.describe_output.oauth_client_id`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_client_rsa_public_key_2_fp"></a>
### Nested Schema for `security_integrations.describe_output.oauth_client_rsa_public_key_2_fp`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_client_rsa_public_key_fp"></a>
### Nested Schema for `security_integrations.describe_output.oauth_client_rsa_public_key_fp`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_client_type"></a>
### Nested Schema for `security_integrations.describe_output.oauth_client_type`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_enforce_pkce"></a>
### Nested Schema for `security_integrations.describe_output.oauth_enforce_pkce`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_issue_refresh_tokens"></a>
### Nested Schema for `security_integrations.describe_output.oauth_issue_refresh_tokens`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_redirect_uri"></a>
### Nested Schema for `security_integrations.describe_output.oauth_redirect_uri`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_refresh_token_validity"></a>
### Nested Schema for `security_integrations.describe_output.oauth_refresh_token_validity`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_token_endpoint"></a>
### Nested Schema for `security_integrations.describe_output.oauth_token_endpoint`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--oauth_use_secondary_roles"></a>
### Nested Schema for `security_integrations.describe_output.oauth_use_secondary_roles`

Read-Only:

- `default` (String)
- `name` (String)
- `type` (String)
- `value` (String)


<a id="nestedobjatt--security_integrations--describe_output--pre_authorized_roles_list"></a>
### Nested Schema for `security_integrations.describe_output.pre_authorized_roles_list`

Read-Only:

Expand Down
Loading

0 comments on commit 91788e5

Please sign in to comment.