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:
|
,.
,(
,)
,"
- Authentication
Methods 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
- Client
Types 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.
- Mfa
Authentication 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
. - Mfa
Enrollment string - 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:
|
,.
,(
,)
,"
- Security
Integrations 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:
|
,.
,(
,)
,"
- Authentication
Methods []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
- Client
Types []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.
- Mfa
Authentication []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
. - Mfa
Enrollment string - 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:
|
,.
,(
,)
,"
- Security
Integrations []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:
|
,.
,(
,)
,"
- authentication
Methods 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
- client
Types 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.
- mfa
Authentication 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
. - mfa
Enrollment String - 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:
|
,.
,(
,)
,"
- security
Integrations 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:
|
,.
,(
,)
,"
- authentication
Methods 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
- client
Types 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.
- mfa
Authentication 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
. - mfa
Enrollment string - 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:
|
,.
,(
,)
,"
- security
Integrations 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 - 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:
|
,.
,(
,)
,"
- authentication
Methods 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
- client
Types 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.
- mfa
Authentication 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
. - mfa
Enrollment String - 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:
|
,.
,(
,)
,"
- security
Integrations 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:
- Describe
Outputs List<AuthenticationPolicy Describe Output> - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - Fully
Qualified 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.
- Show
Outputs List<AuthenticationPolicy Show Output> - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- Describe
Outputs []AuthenticationPolicy Describe Output - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - Fully
Qualified 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.
- Show
Outputs []AuthenticationPolicy Show Output - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- describe
Outputs List<AuthenticationPolicy Describe Output> - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - fully
Qualified 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.
- show
Outputs List<AuthenticationPolicy Show Output> - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- describe
Outputs AuthenticationPolicy Describe Output[] - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - fully
Qualified 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.
- show
Outputs AuthenticationPolicy Show Output[] - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- describe_
outputs Sequence[AuthenticationPolicy Describe Output] - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for 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 POLICIES
for the given policy.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - fully
Qualified 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.
- show
Outputs List<Property Map> - Outputs the result of
SHOW AUTHENTICATION POLICIES
for 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) -> AuthenticationPolicy
func 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)
Resource lookup is not supported in YAML
- 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.
- Authentication
Methods 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
- Client
Types 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:
|
,.
,(
,)
,"
- Describe
Outputs List<AuthenticationPolicy Describe Output> - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Mfa
Authentication 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
. - Mfa
Enrollment string - 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:
|
,.
,(
,)
,"
- Security
Integrations 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.
- Show
Outputs List<AuthenticationPolicy Show Output> - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- Authentication
Methods []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
- Client
Types []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:
|
,.
,(
,)
,"
- Describe
Outputs []AuthenticationPolicy Describe Output Args - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Mfa
Authentication []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
. - Mfa
Enrollment string - 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:
|
,.
,(
,)
,"
- Security
Integrations []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.
- Show
Outputs []AuthenticationPolicy Show Output Args - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- authentication
Methods 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
- client
Types 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:
|
,.
,(
,)
,"
- describe
Outputs List<AuthenticationPolicy Describe Output> - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- mfa
Authentication 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
. - mfa
Enrollment String - 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:
|
,.
,(
,)
,"
- security
Integrations 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.
- show
Outputs List<AuthenticationPolicy Show Output> - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
- authentication
Methods 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
- client
Types 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:
|
,.
,(
,)
,"
- describe
Outputs AuthenticationPolicy Describe Output[] - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- mfa
Authentication 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
. - mfa
Enrollment string - 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:
|
,.
,(
,)
,"
- security
Integrations 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.
- show
Outputs AuthenticationPolicy Show Output[] - Outputs the result of
SHOW AUTHENTICATION POLICIES
for 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 POLICY
for 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 - 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 POLICIES
for the given policy.
- authentication
Methods 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
- client
Types 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:
|
,.
,(
,)
,"
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE AUTHENTICATION POLICY
for the given policy. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- mfa
Authentication 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
. - mfa
Enrollment String - 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:
|
,.
,(
,)
,"
- security
Integrations 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.
- show
Outputs List<Property Map> - Outputs the result of
SHOW AUTHENTICATION POLICIES
for the given policy.
Supporting Types
AuthenticationPolicyDescribeOutput, AuthenticationPolicyDescribeOutputArgs
- Authentication
Methods string - Client
Types string - Comment string
- Mfa
Authentication stringMethods - Mfa
Enrollment string - Name string
- Owner string
- Security
Integrations string
- Authentication
Methods string - Client
Types string - Comment string
- Mfa
Authentication stringMethods - Mfa
Enrollment string - Name string
- Owner string
- Security
Integrations string
- authentication
Methods String - client
Types String - comment String
- mfa
Authentication StringMethods - mfa
Enrollment String - name String
- owner String
- security
Integrations String
- authentication
Methods string - client
Types string - comment string
- mfa
Authentication stringMethods - mfa
Enrollment string - name string
- owner string
- security
Integrations string
- authentication_
methods str - client_
types str - comment str
- mfa_
authentication_ strmethods - mfa_
enrollment str - name str
- owner str
- security_
integrations str
- authentication
Methods String - client
Types String - comment String
- mfa
Authentication StringMethods - mfa
Enrollment String - name String
- owner String
- security
Integrations String
AuthenticationPolicyShowOutput, AuthenticationPolicyShowOutputArgs
- Comment string
- Created
On string - Database
Name string - Name string
- Options string
- Owner string
- Owner
Role stringType - Schema
Name string
- Comment string
- Created
On string - Database
Name string - Name string
- Options string
- Owner string
- Owner
Role stringType - Schema
Name string
- comment String
- created
On String - database
Name String - name String
- options String
- owner String
- owner
Role StringType - schema
Name String
- comment string
- created
On string - database
Name string - name string
- options string
- owner string
- owner
Role stringType - schema
Name string
- comment str
- created_
on str - database_
name str - name str
- options str
- owner str
- owner_
role_ strtype - schema_
name str
- comment String
- created
On String - database
Name String - name String
- options String
- owner String
- owner
Role StringType - schema
Name String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.