snowflake.AuthenticationPolicy
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/authenticationPolicy:AuthenticationPolicy example '"<database_name>"."<schema_name>"."<authentication_policy_name>"'
Create AuthenticationPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthenticationPolicy(name: string, args: AuthenticationPolicyArgs, opts?: CustomResourceOptions);@overload
def AuthenticationPolicy(resource_name: str,
                         args: AuthenticationPolicyArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def AuthenticationPolicy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         database: Optional[str] = None,
                         schema: Optional[str] = None,
                         authentication_methods: Optional[Sequence[str]] = None,
                         client_types: Optional[Sequence[str]] = None,
                         comment: Optional[str] = None,
                         mfa_authentication_methods: Optional[Sequence[str]] = None,
                         mfa_enrollment: Optional[str] = None,
                         name: Optional[str] = None,
                         security_integrations: Optional[Sequence[str]] = None)func NewAuthenticationPolicy(ctx *Context, name string, args AuthenticationPolicyArgs, opts ...ResourceOption) (*AuthenticationPolicy, error)public AuthenticationPolicy(string name, AuthenticationPolicyArgs args, CustomResourceOptions? opts = null)
public AuthenticationPolicy(String name, AuthenticationPolicyArgs args)
public AuthenticationPolicy(String name, AuthenticationPolicyArgs args, CustomResourceOptions options)
type: snowflake:AuthenticationPolicy
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 AuthenticationPolicyArgs
- 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 AuthenticationPolicyArgs
- 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 AuthenticationPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthenticationPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthenticationPolicyArgs
- 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 authenticationPolicyResource = new Snowflake.AuthenticationPolicy("authenticationPolicyResource", new()
{
    Database = "string",
    Schema = "string",
    AuthenticationMethods = new[]
    {
        "string",
    },
    ClientTypes = new[]
    {
        "string",
    },
    Comment = "string",
    MfaAuthenticationMethods = new[]
    {
        "string",
    },
    MfaEnrollment = "string",
    Name = "string",
    SecurityIntegrations = new[]
    {
        "string",
    },
});
example, err := snowflake.NewAuthenticationPolicy(ctx, "authenticationPolicyResource", &snowflake.AuthenticationPolicyArgs{
	Database: pulumi.String("string"),
	Schema:   pulumi.String("string"),
	AuthenticationMethods: pulumi.StringArray{
		pulumi.String("string"),
	},
	ClientTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Comment: pulumi.String("string"),
	MfaAuthenticationMethods: pulumi.StringArray{
		pulumi.String("string"),
	},
	MfaEnrollment: pulumi.String("string"),
	Name:          pulumi.String("string"),
	SecurityIntegrations: pulumi.StringArray{
		pulumi.String("string"),
	},
})
var authenticationPolicyResource = new AuthenticationPolicy("authenticationPolicyResource", AuthenticationPolicyArgs.builder()
    .database("string")
    .schema("string")
    .authenticationMethods("string")
    .clientTypes("string")
    .comment("string")
    .mfaAuthenticationMethods("string")
    .mfaEnrollment("string")
    .name("string")
    .securityIntegrations("string")
    .build());
authentication_policy_resource = snowflake.AuthenticationPolicy("authenticationPolicyResource",
    database="string",
    schema="string",
    authentication_methods=["string"],
    client_types=["string"],
    comment="string",
    mfa_authentication_methods=["string"],
    mfa_enrollment="string",
    name="string",
    security_integrations=["string"])
const authenticationPolicyResource = new snowflake.AuthenticationPolicy("authenticationPolicyResource", {
    database: "string",
    schema: "string",
    authenticationMethods: ["string"],
    clientTypes: ["string"],
    comment: "string",
    mfaAuthenticationMethods: ["string"],
    mfaEnrollment: "string",
    name: "string",
    securityIntegrations: ["string"],
});
type: snowflake:AuthenticationPolicy
properties:
    authenticationMethods:
        - string
    clientTypes:
        - string
    comment: string
    database: string
    mfaAuthenticationMethods:
        - string
    mfaEnrollment: string
    name: string
    schema: string
    securityIntegrations:
        - string
AuthenticationPolicy 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 AuthenticationPolicy resource accepts the following input properties:
- Database string
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Schema string
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- AuthenticationMethods List<string>
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- ClientTypes List<string>
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- Comment string
- Specifies a comment for the authentication policy.
- MfaAuthentication List<string>Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- MfaEnrollment string
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- SecurityIntegrations List<string>
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- Database string
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Schema string
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- AuthenticationMethods []string
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- ClientTypes []string
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- Comment string
- Specifies a comment for the authentication policy.
- MfaAuthentication []stringMethods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- MfaEnrollment string
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- SecurityIntegrations []string
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- database String
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema String
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- authenticationMethods List<String>
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- clientTypes List<String>
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment String
- Specifies a comment for the authentication policy.
- mfaAuthentication List<String>Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfaEnrollment String
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- securityIntegrations List<String>
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- database string
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema string
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- authenticationMethods string[]
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- clientTypes string[]
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment string
- Specifies a comment for the authentication policy.
- mfaAuthentication string[]Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfaEnrollment string
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- securityIntegrations string[]
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- database str
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema str
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- authentication_methods Sequence[str]
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- client_types Sequence[str]
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment str
- Specifies a comment for the authentication policy.
- mfa_authentication_ Sequence[str]methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfa_enrollment str
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name str
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- security_integrations Sequence[str]
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- database String
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema String
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- authenticationMethods List<String>
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- clientTypes List<String>
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment String
- Specifies a comment for the authentication policy.
- mfaAuthentication List<String>Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfaEnrollment String
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- securityIntegrations List<String>
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthenticationPolicy resource produces the following output properties:
- DescribeOutputs List<AuthenticationPolicy Describe Output> 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- 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.
- ShowOutputs List<AuthenticationPolicy Show Output> 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- DescribeOutputs []AuthenticationPolicy Describe Output 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- 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.
- ShowOutputs []AuthenticationPolicy Show Output 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- describeOutputs List<AuthenticationPolicy Describe Output> 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- 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.
- showOutputs List<AuthenticationPolicy Show Output> 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- describeOutputs AuthenticationPolicy Describe Output[] 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- 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.
- showOutputs AuthenticationPolicy Show Output[] 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- describe_outputs Sequence[AuthenticationPolicy Describe Output] 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- 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.
- show_outputs Sequence[AuthenticationPolicy Show Output] 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- describeOutputs List<Property Map>
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- 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.
- showOutputs List<Property Map>
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
Look up Existing AuthenticationPolicy Resource
Get an existing AuthenticationPolicy 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?: AuthenticationPolicyState, opts?: CustomResourceOptions): AuthenticationPolicy@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication_methods: Optional[Sequence[str]] = None,
        client_types: Optional[Sequence[str]] = None,
        comment: Optional[str] = None,
        database: Optional[str] = None,
        describe_outputs: Optional[Sequence[AuthenticationPolicyDescribeOutputArgs]] = None,
        fully_qualified_name: Optional[str] = None,
        mfa_authentication_methods: Optional[Sequence[str]] = None,
        mfa_enrollment: Optional[str] = None,
        name: Optional[str] = None,
        schema: Optional[str] = None,
        security_integrations: Optional[Sequence[str]] = None,
        show_outputs: Optional[Sequence[AuthenticationPolicyShowOutputArgs]] = None) -> AuthenticationPolicyfunc GetAuthenticationPolicy(ctx *Context, name string, id IDInput, state *AuthenticationPolicyState, opts ...ResourceOption) (*AuthenticationPolicy, error)public static AuthenticationPolicy Get(string name, Input<string> id, AuthenticationPolicyState? state, CustomResourceOptions? opts = null)public static AuthenticationPolicy get(String name, Output<String> id, AuthenticationPolicyState state, CustomResourceOptions options)resources:  _:    type: snowflake:AuthenticationPolicy    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.
- AuthenticationMethods List<string>
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- ClientTypes List<string>
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- Comment string
- Specifies a comment for the authentication policy.
- Database string
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- DescribeOutputs List<AuthenticationPolicy Describe Output> 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- MfaAuthentication List<string>Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- MfaEnrollment string
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Schema string
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- SecurityIntegrations List<string>
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- ShowOutputs List<AuthenticationPolicy Show Output> 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- AuthenticationMethods []string
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- ClientTypes []string
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- Comment string
- Specifies a comment for the authentication policy.
- Database string
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- DescribeOutputs []AuthenticationPolicy Describe Output Args 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- MfaAuthentication []stringMethods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- MfaEnrollment string
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Schema string
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- SecurityIntegrations []string
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- ShowOutputs []AuthenticationPolicy Show Output Args 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- authenticationMethods List<String>
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- clientTypes List<String>
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment String
- Specifies a comment for the authentication policy.
- database String
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- describeOutputs List<AuthenticationPolicy Describe Output> 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- mfaAuthentication List<String>Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfaEnrollment String
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema String
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- securityIntegrations List<String>
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- showOutputs List<AuthenticationPolicy Show Output> 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- authenticationMethods string[]
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- clientTypes string[]
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment string
- Specifies a comment for the authentication policy.
- database string
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- describeOutputs AuthenticationPolicy Describe Output[] 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- fullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- mfaAuthentication string[]Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfaEnrollment string
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema string
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- securityIntegrations string[]
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- showOutputs AuthenticationPolicy Show Output[] 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- authentication_methods Sequence[str]
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- client_types Sequence[str]
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment str
- Specifies a comment for the authentication policy.
- database str
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- describe_outputs Sequence[AuthenticationPolicy Describe Output Args] 
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- fully_qualified_ strname 
- Fully qualified name of the resource. For more information, see object name resolution.
- mfa_authentication_ Sequence[str]methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfa_enrollment str
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name str
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema str
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- security_integrations Sequence[str]
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- show_outputs Sequence[AuthenticationPolicy Show Output Args] 
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
- authenticationMethods List<String>
- A list of authentication methods that are allowed during login. This parameter accepts one or more of the following values: ALL|SAML|PASSWORD|OAUTH|KEYPAIR
- clientTypes List<String>
- A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid CLIENTTYPES, then the login attempt fails. Allowed values are ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL. The CLIENTTYPES property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
- comment String
- Specifies a comment for the authentication policy.
- database String
- The database in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- describeOutputs List<Property Map>
- Outputs the result of DESCRIBE AUTHENTICATION POLICYfor the given policy.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- mfaAuthentication List<String>Methods 
- A list of authentication methods that enforce multi-factor authentication (MFA) during login. Authentication methods not listed in this parameter do not prompt for multi-factor authentication. Allowed values are ALL|SAML|PASSWORD.
- mfaEnrollment String
- (Default: OPTIONAL) Determines whether a user must enroll in multi-factor authentication. Allowed values are REQUIRED and OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then the CLIENTTYPES parameter must include SNOWFLAKEUI, because Snowsight is the only place users can enroll in multi-factor authentication (MFA).
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- schema String
- The schema in which to create the authentication policy. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- securityIntegrations List<String>
- A list of security integrations the authentication policy is associated with. This parameter has no effect when SAML or OAUTH are not in the AUTHENTICATIONMETHODS list. All values in the SECURITYINTEGRATIONS list must be compatible with the values in the AUTHENTICATIONMETHODS list. For example, if SECURITYINTEGRATIONS contains a SAML security integration, and AUTHENTICATION_METHODS contains OAUTH, then you cannot create the authentication policy. To allow all security integrations use ALL as parameter.
- showOutputs List<Property Map>
- Outputs the result of SHOW AUTHENTICATION POLICIESfor the given policy.
Supporting Types
AuthenticationPolicyDescribeOutput, AuthenticationPolicyDescribeOutputArgs        
- AuthenticationMethods string
- ClientTypes string
- Comment string
- MfaAuthentication stringMethods 
- MfaEnrollment string
- Name string
- Owner string
- SecurityIntegrations string
- AuthenticationMethods string
- ClientTypes string
- Comment string
- MfaAuthentication stringMethods 
- MfaEnrollment string
- Name string
- Owner string
- SecurityIntegrations string
- authenticationMethods String
- clientTypes String
- comment String
- mfaAuthentication StringMethods 
- mfaEnrollment String
- name String
- owner String
- securityIntegrations String
- authenticationMethods string
- clientTypes string
- comment string
- mfaAuthentication stringMethods 
- mfaEnrollment string
- name string
- owner string
- securityIntegrations string
- authentication_methods str
- client_types str
- comment str
- mfa_authentication_ strmethods 
- mfa_enrollment str
- name str
- owner str
- security_integrations str
- authenticationMethods String
- clientTypes String
- comment String
- mfaAuthentication StringMethods 
- mfaEnrollment String
- name String
- owner String
- securityIntegrations String
AuthenticationPolicyShowOutput, AuthenticationPolicyShowOutputArgs        
- Comment string
- CreatedOn string
- DatabaseName string
- Name string
- Options string
- Owner string
- OwnerRole stringType 
- SchemaName string
- Comment string
- CreatedOn string
- DatabaseName string
- Name string
- Options string
- Owner string
- OwnerRole stringType 
- SchemaName string
- comment String
- createdOn String
- databaseName String
- name String
- options String
- owner String
- ownerRole StringType 
- schemaName String
- comment string
- createdOn string
- databaseName string
- name string
- options string
- owner string
- ownerRole stringType 
- schemaName string
- comment str
- created_on str
- database_name str
- name str
- options str
- owner str
- owner_role_ strtype 
- schema_name str
- comment String
- createdOn String
- databaseName String
- name String
- options String
- owner String
- ownerRole StringType 
- schemaName String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the snowflakeTerraform Provider.