snowflake.ExternalOauthIntegration
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/externalOauthIntegration:ExternalOauthIntegration example '"<integration_name>"'
Create ExternalOauthIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalOauthIntegration(name: string, args: ExternalOauthIntegrationArgs, opts?: CustomResourceOptions);@overload
def ExternalOauthIntegration(resource_name: str,
                             args: ExternalOauthIntegrationArgs,
                             opts: Optional[ResourceOptions] = None)
@overload
def ExternalOauthIntegration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             external_oauth_issuer: Optional[str] = None,
                             enabled: Optional[bool] = None,
                             external_oauth_type: Optional[str] = None,
                             external_oauth_token_user_mapping_claims: Optional[Sequence[str]] = None,
                             external_oauth_snowflake_user_mapping_attribute: Optional[str] = None,
                             external_oauth_audience_lists: Optional[Sequence[str]] = None,
                             external_oauth_blocked_roles_lists: Optional[Sequence[str]] = None,
                             external_oauth_jws_keys_urls: Optional[Sequence[str]] = None,
                             external_oauth_rsa_public_key: Optional[str] = None,
                             external_oauth_rsa_public_key2: Optional[str] = None,
                             external_oauth_scope_delimiter: Optional[str] = None,
                             external_oauth_scope_mapping_attribute: Optional[str] = None,
                             comment: Optional[str] = None,
                             external_oauth_any_role_mode: Optional[str] = None,
                             external_oauth_allowed_roles_lists: Optional[Sequence[str]] = None,
                             name: Optional[str] = None)func NewExternalOauthIntegration(ctx *Context, name string, args ExternalOauthIntegrationArgs, opts ...ResourceOption) (*ExternalOauthIntegration, error)public ExternalOauthIntegration(string name, ExternalOauthIntegrationArgs args, CustomResourceOptions? opts = null)
public ExternalOauthIntegration(String name, ExternalOauthIntegrationArgs args)
public ExternalOauthIntegration(String name, ExternalOauthIntegrationArgs args, CustomResourceOptions options)
type: snowflake:ExternalOauthIntegration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExternalOauthIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExternalOauthIntegrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExternalOauthIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalOauthIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalOauthIntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var externalOauthIntegrationResource = new Snowflake.ExternalOauthIntegration("externalOauthIntegrationResource", new()
{
    ExternalOauthIssuer = "string",
    Enabled = false,
    ExternalOauthType = "string",
    ExternalOauthTokenUserMappingClaims = new[]
    {
        "string",
    },
    ExternalOauthSnowflakeUserMappingAttribute = "string",
    ExternalOauthAudienceLists = new[]
    {
        "string",
    },
    ExternalOauthBlockedRolesLists = new[]
    {
        "string",
    },
    ExternalOauthJwsKeysUrls = new[]
    {
        "string",
    },
    ExternalOauthRsaPublicKey = "string",
    ExternalOauthRsaPublicKey2 = "string",
    ExternalOauthScopeDelimiter = "string",
    ExternalOauthScopeMappingAttribute = "string",
    Comment = "string",
    ExternalOauthAnyRoleMode = "string",
    ExternalOauthAllowedRolesLists = new[]
    {
        "string",
    },
    Name = "string",
});
example, err := snowflake.NewExternalOauthIntegration(ctx, "externalOauthIntegrationResource", &snowflake.ExternalOauthIntegrationArgs{
	ExternalOauthIssuer: pulumi.String("string"),
	Enabled:             pulumi.Bool(false),
	ExternalOauthType:   pulumi.String("string"),
	ExternalOauthTokenUserMappingClaims: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternalOauthSnowflakeUserMappingAttribute: pulumi.String("string"),
	ExternalOauthAudienceLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternalOauthBlockedRolesLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternalOauthJwsKeysUrls: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternalOauthRsaPublicKey:          pulumi.String("string"),
	ExternalOauthRsaPublicKey2:         pulumi.String("string"),
	ExternalOauthScopeDelimiter:        pulumi.String("string"),
	ExternalOauthScopeMappingAttribute: pulumi.String("string"),
	Comment:                            pulumi.String("string"),
	ExternalOauthAnyRoleMode:           pulumi.String("string"),
	ExternalOauthAllowedRolesLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name: pulumi.String("string"),
})
var externalOauthIntegrationResource = new ExternalOauthIntegration("externalOauthIntegrationResource", ExternalOauthIntegrationArgs.builder()
    .externalOauthIssuer("string")
    .enabled(false)
    .externalOauthType("string")
    .externalOauthTokenUserMappingClaims("string")
    .externalOauthSnowflakeUserMappingAttribute("string")
    .externalOauthAudienceLists("string")
    .externalOauthBlockedRolesLists("string")
    .externalOauthJwsKeysUrls("string")
    .externalOauthRsaPublicKey("string")
    .externalOauthRsaPublicKey2("string")
    .externalOauthScopeDelimiter("string")
    .externalOauthScopeMappingAttribute("string")
    .comment("string")
    .externalOauthAnyRoleMode("string")
    .externalOauthAllowedRolesLists("string")
    .name("string")
    .build());
external_oauth_integration_resource = snowflake.ExternalOauthIntegration("externalOauthIntegrationResource",
    external_oauth_issuer="string",
    enabled=False,
    external_oauth_type="string",
    external_oauth_token_user_mapping_claims=["string"],
    external_oauth_snowflake_user_mapping_attribute="string",
    external_oauth_audience_lists=["string"],
    external_oauth_blocked_roles_lists=["string"],
    external_oauth_jws_keys_urls=["string"],
    external_oauth_rsa_public_key="string",
    external_oauth_rsa_public_key2="string",
    external_oauth_scope_delimiter="string",
    external_oauth_scope_mapping_attribute="string",
    comment="string",
    external_oauth_any_role_mode="string",
    external_oauth_allowed_roles_lists=["string"],
    name="string")
const externalOauthIntegrationResource = new snowflake.ExternalOauthIntegration("externalOauthIntegrationResource", {
    externalOauthIssuer: "string",
    enabled: false,
    externalOauthType: "string",
    externalOauthTokenUserMappingClaims: ["string"],
    externalOauthSnowflakeUserMappingAttribute: "string",
    externalOauthAudienceLists: ["string"],
    externalOauthBlockedRolesLists: ["string"],
    externalOauthJwsKeysUrls: ["string"],
    externalOauthRsaPublicKey: "string",
    externalOauthRsaPublicKey2: "string",
    externalOauthScopeDelimiter: "string",
    externalOauthScopeMappingAttribute: "string",
    comment: "string",
    externalOauthAnyRoleMode: "string",
    externalOauthAllowedRolesLists: ["string"],
    name: "string",
});
type: snowflake:ExternalOauthIntegration
properties:
    comment: string
    enabled: false
    externalOauthAllowedRolesLists:
        - string
    externalOauthAnyRoleMode: string
    externalOauthAudienceLists:
        - string
    externalOauthBlockedRolesLists:
        - string
    externalOauthIssuer: string
    externalOauthJwsKeysUrls:
        - string
    externalOauthRsaPublicKey: string
    externalOauthRsaPublicKey2: string
    externalOauthScopeDelimiter: string
    externalOauthScopeMappingAttribute: string
    externalOauthSnowflakeUserMappingAttribute: string
    externalOauthTokenUserMappingClaims:
        - string
    externalOauthType: string
    name: string
ExternalOauthIntegration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExternalOauthIntegration resource accepts the following input properties:
- Enabled bool
- Specifies whether to initiate operation of the integration or suspend it.
- ExternalOauth stringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- ExternalOauth stringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- ExternalOauth List<string>Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- ExternalOauth stringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- Comment string
- Specifies a comment for the OAuth integration.
- ExternalOauth List<string>Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- ExternalOauth stringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- ExternalOauth List<string>Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- ExternalOauth List<string>Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- ExternalOauth List<string>Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- ExternalOauth stringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- ExternalOauth stringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- Name string
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Enabled bool
- Specifies whether to initiate operation of the integration or suspend it.
- ExternalOauth stringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- ExternalOauth stringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- ExternalOauth []stringToken User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- ExternalOauth stringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- Comment string
- Specifies a comment for the OAuth integration.
- ExternalOauth []stringAllowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- ExternalOauth stringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- ExternalOauth []stringAudience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- ExternalOauth []stringBlocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- ExternalOauth []stringJws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- ExternalOauth stringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- ExternalOauth stringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- Name string
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- enabled Boolean
- Specifies whether to initiate operation of the integration or suspend it.
- externalOauth StringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- externalOauth StringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- externalOauth List<String>Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- externalOauth StringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- comment String
- Specifies a comment for the OAuth integration.
- externalOauth List<String>Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- externalOauth StringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- externalOauth List<String>Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- externalOauth List<String>Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- externalOauth List<String>Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- externalOauth StringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- externalOauth StringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- name String
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- enabled boolean
- Specifies whether to initiate operation of the integration or suspend it.
- externalOauth stringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- externalOauth stringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- externalOauth string[]Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- externalOauth stringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- comment string
- Specifies a comment for the OAuth integration.
- externalOauth string[]Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- externalOauth stringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- externalOauth string[]Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- externalOauth string[]Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- externalOauth string[]Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- externalOauth stringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- externalOauth stringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- externalOauth stringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- externalOauth stringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- name string
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- enabled bool
- Specifies whether to initiate operation of the integration or suspend it.
- external_oauth_ strissuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- external_oauth_ strsnowflake_ user_ mapping_ attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- external_oauth_ Sequence[str]token_ user_ mapping_ claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- external_oauth_ strtype 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- comment str
- Specifies a comment for the OAuth integration.
- external_oauth_ Sequence[str]allowed_ roles_ lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- external_oauth_ strany_ role_ mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- external_oauth_ Sequence[str]audience_ lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- external_oauth_ Sequence[str]blocked_ roles_ lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- external_oauth_ Sequence[str]jws_ keys_ urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- external_oauth_ strrsa_ public_ key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- external_oauth_ strrsa_ public_ key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- external_oauth_ strscope_ delimiter 
- Specifies the scope delimiter in the authorization token.
- external_oauth_ strscope_ mapping_ attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- name str
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- enabled Boolean
- Specifies whether to initiate operation of the integration or suspend it.
- externalOauth StringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- externalOauth StringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- externalOauth List<String>Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- externalOauth StringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- comment String
- Specifies a comment for the OAuth integration.
- externalOauth List<String>Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- externalOauth StringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- externalOauth List<String>Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- externalOauth List<String>Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- externalOauth List<String>Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- externalOauth StringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- externalOauth StringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- name String
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalOauthIntegration resource produces the following output properties:
- DescribeOutputs List<ExternalOauth Integration Describe Output> 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- 
List<ExternalOauth Integration Related Parameter> 
- Parameters related to this security integration.
- ShowOutputs List<ExternalOauth Integration Show Output> 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- DescribeOutputs []ExternalOauth Integration Describe Output 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- 
[]ExternalOauth Integration Related Parameter 
- Parameters related to this security integration.
- ShowOutputs []ExternalOauth Integration Show Output 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- describeOutputs List<ExternalOauth Integration Describe Output> 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- 
List<ExternalOauth Integration Related Parameter> 
- Parameters related to this security integration.
- showOutputs List<ExternalOauth Integration Show Output> 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- describeOutputs ExternalOauth Integration Describe Output[] 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- fullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- 
ExternalOauth Integration Related Parameter[] 
- Parameters related to this security integration.
- showOutputs ExternalOauth Integration Show Output[] 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- describe_outputs Sequence[ExternalOauth Integration Describe Output] 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- fully_qualified_ strname 
- Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- 
Sequence[ExternalOauth Integration Related Parameter] 
- Parameters related to this security integration.
- show_outputs Sequence[ExternalOauth Integration Show Output] 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- describeOutputs List<Property Map>
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- List<Property Map>
- Parameters related to this security integration.
- showOutputs List<Property Map>
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
Look up Existing ExternalOauthIntegration Resource
Get an existing ExternalOauthIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExternalOauthIntegrationState, opts?: CustomResourceOptions): ExternalOauthIntegration@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        comment: Optional[str] = None,
        describe_outputs: Optional[Sequence[ExternalOauthIntegrationDescribeOutputArgs]] = None,
        enabled: Optional[bool] = None,
        external_oauth_allowed_roles_lists: Optional[Sequence[str]] = None,
        external_oauth_any_role_mode: Optional[str] = None,
        external_oauth_audience_lists: Optional[Sequence[str]] = None,
        external_oauth_blocked_roles_lists: Optional[Sequence[str]] = None,
        external_oauth_issuer: Optional[str] = None,
        external_oauth_jws_keys_urls: Optional[Sequence[str]] = None,
        external_oauth_rsa_public_key: Optional[str] = None,
        external_oauth_rsa_public_key2: Optional[str] = None,
        external_oauth_scope_delimiter: Optional[str] = None,
        external_oauth_scope_mapping_attribute: Optional[str] = None,
        external_oauth_snowflake_user_mapping_attribute: Optional[str] = None,
        external_oauth_token_user_mapping_claims: Optional[Sequence[str]] = None,
        external_oauth_type: Optional[str] = None,
        fully_qualified_name: Optional[str] = None,
        name: Optional[str] = None,
        related_parameters: Optional[Sequence[ExternalOauthIntegrationRelatedParameterArgs]] = None,
        show_outputs: Optional[Sequence[ExternalOauthIntegrationShowOutputArgs]] = None) -> ExternalOauthIntegrationfunc GetExternalOauthIntegration(ctx *Context, name string, id IDInput, state *ExternalOauthIntegrationState, opts ...ResourceOption) (*ExternalOauthIntegration, error)public static ExternalOauthIntegration Get(string name, Input<string> id, ExternalOauthIntegrationState? state, CustomResourceOptions? opts = null)public static ExternalOauthIntegration get(String name, Output<String> id, ExternalOauthIntegrationState state, CustomResourceOptions options)resources:  _:    type: snowflake:ExternalOauthIntegration    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Comment string
- Specifies a comment for the OAuth integration.
- DescribeOutputs List<ExternalOauth Integration Describe Output> 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- Enabled bool
- Specifies whether to initiate operation of the integration or suspend it.
- ExternalOauth List<string>Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- ExternalOauth stringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- ExternalOauth List<string>Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- ExternalOauth List<string>Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- ExternalOauth stringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- ExternalOauth List<string>Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- ExternalOauth stringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- ExternalOauth stringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- ExternalOauth stringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- ExternalOauth List<string>Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- ExternalOauth stringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- 
List<ExternalOauth Integration Related Parameter> 
- Parameters related to this security integration.
- ShowOutputs List<ExternalOauth Integration Show Output> 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- Comment string
- Specifies a comment for the OAuth integration.
- DescribeOutputs []ExternalOauth Integration Describe Output Args 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- Enabled bool
- Specifies whether to initiate operation of the integration or suspend it.
- ExternalOauth []stringAllowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- ExternalOauth stringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- ExternalOauth []stringAudience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- ExternalOauth []stringBlocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- ExternalOauth stringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- ExternalOauth []stringJws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- ExternalOauth stringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- ExternalOauth stringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- ExternalOauth stringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- ExternalOauth stringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- ExternalOauth []stringToken User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- ExternalOauth stringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- 
[]ExternalOauth Integration Related Parameter Args 
- Parameters related to this security integration.
- ShowOutputs []ExternalOauth Integration Show Output Args 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- comment String
- Specifies a comment for the OAuth integration.
- describeOutputs List<ExternalOauth Integration Describe Output> 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- enabled Boolean
- Specifies whether to initiate operation of the integration or suspend it.
- externalOauth List<String>Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- externalOauth StringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- externalOauth List<String>Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- externalOauth List<String>Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- externalOauth StringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- externalOauth List<String>Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- externalOauth StringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- externalOauth StringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- externalOauth StringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- externalOauth List<String>Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- externalOauth StringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- 
List<ExternalOauth Integration Related Parameter> 
- Parameters related to this security integration.
- showOutputs List<ExternalOauth Integration Show Output> 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- comment string
- Specifies a comment for the OAuth integration.
- describeOutputs ExternalOauth Integration Describe Output[] 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- enabled boolean
- Specifies whether to initiate operation of the integration or suspend it.
- externalOauth string[]Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- externalOauth stringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- externalOauth string[]Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- externalOauth string[]Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- externalOauth stringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- externalOauth string[]Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- externalOauth stringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- externalOauth stringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- externalOauth stringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- externalOauth stringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- externalOauth stringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- externalOauth string[]Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- externalOauth stringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- fullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- 
ExternalOauth Integration Related Parameter[] 
- Parameters related to this security integration.
- showOutputs ExternalOauth Integration Show Output[] 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- comment str
- Specifies a comment for the OAuth integration.
- describe_outputs Sequence[ExternalOauth Integration Describe Output Args] 
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- enabled bool
- Specifies whether to initiate operation of the integration or suspend it.
- external_oauth_ Sequence[str]allowed_ roles_ lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- external_oauth_ strany_ role_ mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- external_oauth_ Sequence[str]audience_ lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- external_oauth_ Sequence[str]blocked_ roles_ lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- external_oauth_ strissuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- external_oauth_ Sequence[str]jws_ keys_ urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- external_oauth_ strrsa_ public_ key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- external_oauth_ strrsa_ public_ key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- external_oauth_ strscope_ delimiter 
- Specifies the scope delimiter in the authorization token.
- external_oauth_ strscope_ mapping_ attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- external_oauth_ strsnowflake_ user_ mapping_ attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- external_oauth_ Sequence[str]token_ user_ mapping_ claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- external_oauth_ strtype 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- fully_qualified_ strname 
- Fully qualified name of the resource. For more information, see object name resolution.
- name str
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- 
Sequence[ExternalOauth Integration Related Parameter Args] 
- Parameters related to this security integration.
- show_outputs Sequence[ExternalOauth Integration Show Output Args] 
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
- comment String
- Specifies a comment for the OAuth integration.
- describeOutputs List<Property Map>
- Outputs the result of DESCRIBE SECURITY INTEGRATIONSfor the given security integration.
- enabled Boolean
- Specifies whether to initiate operation of the integration or suspend it.
- externalOauth List<String>Allowed Roles Lists 
- Specifies the list of roles that the client can set as the primary role. For more information about this resource, see docs.
- externalOauth StringAny Role Mode 
- Specifies whether the OAuth client or user can use a role that is not defined in the OAuth access token. Valid values are (case-insensitive): DISABLE|ENABLE|ENABLE_FOR_PRIVILEGE.
- externalOauth List<String>Audience Lists 
- Specifies additional values that can be used for the access token's audience validation on top of using the Customer's Snowflake Account URL
- externalOauth List<String>Blocked Roles Lists 
- Specifies the list of roles that a client cannot set as the primary role. By default, this list includes the ACCOUNTADMIN, ORGADMIN and SECURITYADMIN roles. To remove these privileged roles from the list, use the ALTER ACCOUNT command to set the EXTERNALOAUTHADDPRIVILEGEDROLESTOBLOCKED*LIST account parameter to FALSE. For more information about this resource, see docs.
- externalOauth StringIssuer 
- Specifies the URL to define the OAuth 2.0 authorization server.
- externalOauth List<String>Jws Keys Urls 
- Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External OAuth access token. The maximum number of URLs that can be specified in the list is 3. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key 
- Specifies a Base64-encoded RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. If removed from the config, the resource is recreated.
- externalOauth StringRsa Public Key2 
- Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for key rotation. If removed from the config, the resource is recreated.
- externalOauth StringScope Delimiter 
- Specifies the scope delimiter in the authorization token.
- externalOauth StringScope Mapping Attribute 
- Specifies the access token claim to map the access token to an account role. If removed from the config, the resource is recreated.
- externalOauth StringSnowflake User Mapping Attribute 
- Indicates which Snowflake user record attribute should be used to map the access token to a Snowflake user record. Valid values are (case-insensitive): LOGIN_NAME|EMAIL_ADDRESS.
- externalOauth List<String>Token User Mapping Claims 
- Specifies the access token claim or claims that can be used to map the access token to a Snowflake user record. If removed from the config, the resource is recreated.
- externalOauth StringType 
- Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom OAuth 2.0 authorization server. Valid values are (case-insensitive): OKTA|AZURE|PING_FEDERATE|CUSTOM.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- List<Property Map>
- Parameters related to this security integration.
- showOutputs List<Property Map>
- Outputs the result of SHOW SECURITY INTEGRATIONSfor the given security integration.
Supporting Types
ExternalOauthIntegrationDescribeOutput, ExternalOauthIntegrationDescribeOutputArgs          
- Comments
List<ExternalOauth Integration Describe Output Comment> 
- Enableds
List<ExternalOauth Integration Describe Output Enabled> 
- ExternalOauth List<ExternalAllowed Roles Lists Oauth Integration Describe Output External Oauth Allowed Roles List> 
- ExternalOauth List<ExternalAny Role Modes Oauth Integration Describe Output External Oauth Any Role Mode> 
- ExternalOauth List<ExternalAudience Lists Oauth Integration Describe Output External Oauth Audience List> 
- ExternalOauth List<ExternalBlocked Roles Lists Oauth Integration Describe Output External Oauth Blocked Roles List> 
- ExternalOauth List<ExternalIssuers Oauth Integration Describe Output External Oauth Issuer> 
- ExternalOauth List<ExternalJws Keys Urls Oauth Integration Describe Output External Oauth Jws Keys Url> 
- ExternalOauth List<ExternalRsa Public Key2s Oauth Integration Describe Output External Oauth Rsa Public Key2> 
- ExternalOauth List<ExternalRsa Public Keys Oauth Integration Describe Output External Oauth Rsa Public Key> 
- ExternalOauth List<ExternalScope Delimiters Oauth Integration Describe Output External Oauth Scope Delimiter> 
- ExternalOauth List<ExternalSnowflake User Mapping Attributes Oauth Integration Describe Output External Oauth Snowflake User Mapping Attribute> 
- ExternalOauth List<ExternalToken User Mapping Claims Oauth Integration Describe Output External Oauth Token User Mapping Claim> 
- Comments
[]ExternalOauth Integration Describe Output Comment 
- Enableds
[]ExternalOauth Integration Describe Output Enabled 
- ExternalOauth []ExternalAllowed Roles Lists Oauth Integration Describe Output External Oauth Allowed Roles List 
- ExternalOauth []ExternalAny Role Modes Oauth Integration Describe Output External Oauth Any Role Mode 
- ExternalOauth []ExternalAudience Lists Oauth Integration Describe Output External Oauth Audience List 
- ExternalOauth []ExternalBlocked Roles Lists Oauth Integration Describe Output External Oauth Blocked Roles List 
- ExternalOauth []ExternalIssuers Oauth Integration Describe Output External Oauth Issuer 
- ExternalOauth []ExternalJws Keys Urls Oauth Integration Describe Output External Oauth Jws Keys Url 
- ExternalOauth []ExternalRsa Public Key2s Oauth Integration Describe Output External Oauth Rsa Public Key2 
- ExternalOauth []ExternalRsa Public Keys Oauth Integration Describe Output External Oauth Rsa Public Key 
- ExternalOauth []ExternalScope Delimiters Oauth Integration Describe Output External Oauth Scope Delimiter 
- ExternalOauth []ExternalSnowflake User Mapping Attributes Oauth Integration Describe Output External Oauth Snowflake User Mapping Attribute 
- ExternalOauth []ExternalToken User Mapping Claims Oauth Integration Describe Output External Oauth Token User Mapping Claim 
- comments
List<ExternalOauth Integration Describe Output Comment> 
- enableds
List<ExternalOauth Integration Describe Output Enabled> 
- externalOauth List<ExternalAllowed Roles Lists Oauth Integration Describe Output External Oauth Allowed Roles List> 
- externalOauth List<ExternalAny Role Modes Oauth Integration Describe Output External Oauth Any Role Mode> 
- externalOauth List<ExternalAudience Lists Oauth Integration Describe Output External Oauth Audience List> 
- externalOauth List<ExternalBlocked Roles Lists Oauth Integration Describe Output External Oauth Blocked Roles List> 
- externalOauth List<ExternalIssuers Oauth Integration Describe Output External Oauth Issuer> 
- externalOauth List<ExternalJws Keys Urls Oauth Integration Describe Output External Oauth Jws Keys Url> 
- externalOauth List<ExternalRsa Public Key2s Oauth Integration Describe Output External Oauth Rsa Public Key2> 
- externalOauth List<ExternalRsa Public Keys Oauth Integration Describe Output External Oauth Rsa Public Key> 
- externalOauth List<ExternalScope Delimiters Oauth Integration Describe Output External Oauth Scope Delimiter> 
- externalOauth List<ExternalSnowflake User Mapping Attributes Oauth Integration Describe Output External Oauth Snowflake User Mapping Attribute> 
- externalOauth List<ExternalToken User Mapping Claims Oauth Integration Describe Output External Oauth Token User Mapping Claim> 
- comments
ExternalOauth Integration Describe Output Comment[] 
- enableds
ExternalOauth Integration Describe Output Enabled[] 
- externalOauth ExternalAllowed Roles Lists Oauth Integration Describe Output External Oauth Allowed Roles List[] 
- externalOauth ExternalAny Role Modes Oauth Integration Describe Output External Oauth Any Role Mode[] 
- externalOauth ExternalAudience Lists Oauth Integration Describe Output External Oauth Audience List[] 
- externalOauth ExternalBlocked Roles Lists Oauth Integration Describe Output External Oauth Blocked Roles List[] 
- externalOauth ExternalIssuers Oauth Integration Describe Output External Oauth Issuer[] 
- externalOauth ExternalJws Keys Urls Oauth Integration Describe Output External Oauth Jws Keys Url[] 
- externalOauth ExternalRsa Public Key2s Oauth Integration Describe Output External Oauth Rsa Public Key2[] 
- externalOauth ExternalRsa Public Keys Oauth Integration Describe Output External Oauth Rsa Public Key[] 
- externalOauth ExternalScope Delimiters Oauth Integration Describe Output External Oauth Scope Delimiter[] 
- externalOauth ExternalSnowflake User Mapping Attributes Oauth Integration Describe Output External Oauth Snowflake User Mapping Attribute[] 
- externalOauth ExternalToken User Mapping Claims Oauth Integration Describe Output External Oauth Token User Mapping Claim[] 
- comments
Sequence[ExternalOauth Integration Describe Output Comment] 
- enableds
Sequence[ExternalOauth Integration Describe Output Enabled] 
- external_oauth_ Sequence[Externalallowed_ roles_ lists Oauth Integration Describe Output External Oauth Allowed Roles List] 
- external_oauth_ Sequence[Externalany_ role_ modes Oauth Integration Describe Output External Oauth Any Role Mode] 
- external_oauth_ Sequence[Externalaudience_ lists Oauth Integration Describe Output External Oauth Audience List] 
- external_oauth_ Sequence[Externalblocked_ roles_ lists Oauth Integration Describe Output External Oauth Blocked Roles List] 
- external_oauth_ Sequence[Externalissuers Oauth Integration Describe Output External Oauth Issuer] 
- external_oauth_ Sequence[Externaljws_ keys_ urls Oauth Integration Describe Output External Oauth Jws Keys Url] 
- external_oauth_ Sequence[Externalrsa_ public_ key2s Oauth Integration Describe Output External Oauth Rsa Public Key2] 
- external_oauth_ Sequence[Externalrsa_ public_ keys Oauth Integration Describe Output External Oauth Rsa Public Key] 
- external_oauth_ Sequence[Externalscope_ delimiters Oauth Integration Describe Output External Oauth Scope Delimiter] 
- external_oauth_ Sequence[Externalsnowflake_ user_ mapping_ attributes Oauth Integration Describe Output External Oauth Snowflake User Mapping Attribute] 
- external_oauth_ Sequence[Externaltoken_ user_ mapping_ claims Oauth Integration Describe Output External Oauth Token User Mapping Claim] 
- comments List<Property Map>
- enableds List<Property Map>
- externalOauth List<Property Map>Allowed Roles Lists 
- externalOauth List<Property Map>Any Role Modes 
- externalOauth List<Property Map>Audience Lists 
- externalOauth List<Property Map>Blocked Roles Lists 
- externalOauth List<Property Map>Issuers 
- externalOauth List<Property Map>Jws Keys Urls 
- externalOauth List<Property Map>Rsa Public Key2s 
- externalOauth List<Property Map>Rsa Public Keys 
- externalOauth List<Property Map>Scope Delimiters 
- externalOauth List<Property Map>Snowflake User Mapping Attributes 
- externalOauth List<Property Map>Token User Mapping Claims 
ExternalOauthIntegrationDescribeOutputComment, ExternalOauthIntegrationDescribeOutputCommentArgs            
ExternalOauthIntegrationDescribeOutputEnabled, ExternalOauthIntegrationDescribeOutputEnabledArgs            
ExternalOauthIntegrationDescribeOutputExternalOauthAllowedRolesList, ExternalOauthIntegrationDescribeOutputExternalOauthAllowedRolesListArgs                    
ExternalOauthIntegrationDescribeOutputExternalOauthAnyRoleMode, ExternalOauthIntegrationDescribeOutputExternalOauthAnyRoleModeArgs                    
ExternalOauthIntegrationDescribeOutputExternalOauthAudienceList, ExternalOauthIntegrationDescribeOutputExternalOauthAudienceListArgs                  
ExternalOauthIntegrationDescribeOutputExternalOauthBlockedRolesList, ExternalOauthIntegrationDescribeOutputExternalOauthBlockedRolesListArgs                    
ExternalOauthIntegrationDescribeOutputExternalOauthIssuer, ExternalOauthIntegrationDescribeOutputExternalOauthIssuerArgs                
ExternalOauthIntegrationDescribeOutputExternalOauthJwsKeysUrl, ExternalOauthIntegrationDescribeOutputExternalOauthJwsKeysUrlArgs                    
ExternalOauthIntegrationDescribeOutputExternalOauthRsaPublicKey, ExternalOauthIntegrationDescribeOutputExternalOauthRsaPublicKeyArgs                    
ExternalOauthIntegrationDescribeOutputExternalOauthRsaPublicKey2, ExternalOauthIntegrationDescribeOutputExternalOauthRsaPublicKey2Args                    
ExternalOauthIntegrationDescribeOutputExternalOauthScopeDelimiter, ExternalOauthIntegrationDescribeOutputExternalOauthScopeDelimiterArgs                  
ExternalOauthIntegrationDescribeOutputExternalOauthSnowflakeUserMappingAttribute, ExternalOauthIntegrationDescribeOutputExternalOauthSnowflakeUserMappingAttributeArgs                      
ExternalOauthIntegrationDescribeOutputExternalOauthTokenUserMappingClaim, ExternalOauthIntegrationDescribeOutputExternalOauthTokenUserMappingClaimArgs                      
ExternalOauthIntegrationRelatedParameter, ExternalOauthIntegrationRelatedParameterArgs          
ExternalOauthIntegrationRelatedParameterExternalOauthAddPrivilegedRolesToBlockedList, ExternalOauthIntegrationRelatedParameterExternalOauthAddPrivilegedRolesToBlockedListArgs                          
- Default string
- Description string
- Key string
- Level string
- Value string
- Default string
- Description string
- Key string
- Level string
- Value string
- default_ String
- description String
- key String
- level String
- value String
- default string
- description string
- key string
- level string
- value string
- default str
- description str
- key str
- level str
- value str
- default String
- description String
- key String
- level String
- value String
ExternalOauthIntegrationShowOutput, ExternalOauthIntegrationShowOutputArgs          
- category str
- comment str
- created_on str
- enabled bool
- integration_type str
- name str
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the snowflakeTerraform Provider.