Titan Core
  • Overview
  • Getting Started
  • Working With Resources
  • Blueprint
  • GitHub Action
  • Resources
    • APIAuthenticationSecurityIntegration
    • APIIntegration
    • AccountParameter
    • AggregationPolicy
    • Alert
    • AuthenticationPolicy
    • AzureStorageIntegration
    • ComputePool
    • Database
    • DatabaseRole
    • DynamicTable
    • EmailNotificationIntegration
    • EventTable
    • ExternalAccessIntegration
    • ExternalStage
    • FailoverGroup
    • FutureGrant
    • GCSStorageIntegration
    • GenericSecret
    • GlueCatalogIntegration
    • Grant
    • GrantOnAll
    • HybridTable
    • ImageRepository
    • InternalStage
    • JSONFileFormat
    • JavascriptUDF
    • MaterializedView
    • NetworkPolicy
    • NetworkRule
    • OAuthSecret
    • ObjectStoreCatalogIntegration
    • PackagesPolicy
    • ParquetFileFormat
    • PasswordPolicy
    • PasswordSecret
    • Pipe
    • PythonStoredProcedure
    • PythonUDF
    • ReplicationGroup
    • ResourceMonitor
    • Role
    • RoleGrant
    • S3StorageIntegration
    • Schema
    • Sequence
    • Service
    • SessionPolicy
    • Share
    • SnowflakePartnerOAuthSecurityIntegration
    • SnowservicesOAuthSecurityIntegration
    • StageStream
    • Table
    • TableStream
    • Tag
    • Task
    • User
    • View
    • ViewStream
    • Warehouse
Powered by GitBook
On this page
  • Examples
  • Python
  • YAML
  • Fields
  1. Resources

SnowflakePartnerOAuthSecurityIntegration

PreviousShareNextSnowservicesOAuthSecurityIntegration

Last updated 10 months ago

A security integration in Snowflake designed to manage external OAuth clients for authentication purposes. This integration supports specific OAuth clients such as Looker, Tableau Desktop, and Tableau Server.

Examples

Python

snowflake_partner_oauth_security_integration = SnowflakePartnerOAuthSecurityIntegration(
    name="some_security_integration",
    enabled=True,
    oauth_client="LOOKER",
    oauth_client_secret="secret123",
    oauth_redirect_uri="https://example.com/oauth/callback",
    oauth_issue_refresh_tokens=True,
    oauth_refresh_token_validity=7776000,
    comment="Integration for Looker OAuth"
)

YAML

security_integrations:
  - name: some_security_integration
    enabled: true
    oauth_client: LOOKER
    oauth_client_secret: secret123
    oauth_redirect_uri: https://example.com/oauth/callback
    oauth_issue_refresh_tokens: true
    oauth_refresh_token_validity: 7776000
    comment: Integration for Looker OAuth

Fields

  • name (string, required) - The name of the security integration.

  • enabled (bool) - Specifies if the security integration is enabled. Defaults to True.

  • oauth_client_secret (string) - The secret associated with the OAuth client.

  • oauth_redirect_uri (string) - The redirect URI configured for the OAuth client.

  • oauth_issue_refresh_tokens (bool) - Indicates if refresh tokens should be issued. Defaults to True.

  • oauth_refresh_token_validity (int) - The validity period of the refresh token in seconds.

  • comment (string) - A comment about the security integration.

oauth_client (string or ) - The OAuth client used for authentication. Supported clients are 'LOOKER', 'TABLEAU_DESKTOP', and 'TABLEAU_SERVER'.

Snowflake Documentation
OAuthClient