snowflake.AuthenticationPolicy
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,
mfa_policy: Optional[AuthenticationPolicyMfaPolicyArgs] = None,
name: Optional[str] = None,
pat_policy: Optional[AuthenticationPolicyPatPolicyArgs] = None,
security_integrations: Optional[Sequence[str]] = None,
workload_identity_policy: Optional[AuthenticationPolicyWorkloadIdentityPolicyArgs] = 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",
MfaEnrollment = "string",
MfaPolicy = new Snowflake.Inputs.AuthenticationPolicyMfaPolicyArgs
{
AllowedMethods = new[]
{
"string",
},
EnforceMfaOnExternalAuthentication = "string",
},
Name = "string",
PatPolicy = new Snowflake.Inputs.AuthenticationPolicyPatPolicyArgs
{
DefaultExpiryInDays = 0,
MaxExpiryInDays = 0,
NetworkPolicyEvaluation = "string",
},
SecurityIntegrations = new[]
{
"string",
},
WorkloadIdentityPolicy = new Snowflake.Inputs.AuthenticationPolicyWorkloadIdentityPolicyArgs
{
AllowedAwsAccounts = new[]
{
"string",
},
AllowedAzureIssuers = new[]
{
"string",
},
AllowedOidcIssuers = new[]
{
"string",
},
AllowedProviders = 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"),
MfaEnrollment: pulumi.String("string"),
MfaPolicy: &snowflake.AuthenticationPolicyMfaPolicyArgs{
AllowedMethods: pulumi.StringArray{
pulumi.String("string"),
},
EnforceMfaOnExternalAuthentication: pulumi.String("string"),
},
Name: pulumi.String("string"),
PatPolicy: &snowflake.AuthenticationPolicyPatPolicyArgs{
DefaultExpiryInDays: pulumi.Int(0),
MaxExpiryInDays: pulumi.Int(0),
NetworkPolicyEvaluation: pulumi.String("string"),
},
SecurityIntegrations: pulumi.StringArray{
pulumi.String("string"),
},
WorkloadIdentityPolicy: &snowflake.AuthenticationPolicyWorkloadIdentityPolicyArgs{
AllowedAwsAccounts: pulumi.StringArray{
pulumi.String("string"),
},
AllowedAzureIssuers: pulumi.StringArray{
pulumi.String("string"),
},
AllowedOidcIssuers: pulumi.StringArray{
pulumi.String("string"),
},
AllowedProviders: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var authenticationPolicyResource = new AuthenticationPolicy("authenticationPolicyResource", AuthenticationPolicyArgs.builder()
.database("string")
.schema("string")
.authenticationMethods("string")
.clientTypes("string")
.comment("string")
.mfaEnrollment("string")
.mfaPolicy(AuthenticationPolicyMfaPolicyArgs.builder()
.allowedMethods("string")
.enforceMfaOnExternalAuthentication("string")
.build())
.name("string")
.patPolicy(AuthenticationPolicyPatPolicyArgs.builder()
.defaultExpiryInDays(0)
.maxExpiryInDays(0)
.networkPolicyEvaluation("string")
.build())
.securityIntegrations("string")
.workloadIdentityPolicy(AuthenticationPolicyWorkloadIdentityPolicyArgs.builder()
.allowedAwsAccounts("string")
.allowedAzureIssuers("string")
.allowedOidcIssuers("string")
.allowedProviders("string")
.build())
.build());
authentication_policy_resource = snowflake.AuthenticationPolicy("authenticationPolicyResource",
database="string",
schema="string",
authentication_methods=["string"],
client_types=["string"],
comment="string",
mfa_enrollment="string",
mfa_policy={
"allowed_methods": ["string"],
"enforce_mfa_on_external_authentication": "string",
},
name="string",
pat_policy={
"default_expiry_in_days": 0,
"max_expiry_in_days": 0,
"network_policy_evaluation": "string",
},
security_integrations=["string"],
workload_identity_policy={
"allowed_aws_accounts": ["string"],
"allowed_azure_issuers": ["string"],
"allowed_oidc_issuers": ["string"],
"allowed_providers": ["string"],
})
const authenticationPolicyResource = new snowflake.AuthenticationPolicy("authenticationPolicyResource", {
database: "string",
schema: "string",
authenticationMethods: ["string"],
clientTypes: ["string"],
comment: "string",
mfaEnrollment: "string",
mfaPolicy: {
allowedMethods: ["string"],
enforceMfaOnExternalAuthentication: "string",
},
name: "string",
patPolicy: {
defaultExpiryInDays: 0,
maxExpiryInDays: 0,
networkPolicyEvaluation: "string",
},
securityIntegrations: ["string"],
workloadIdentityPolicy: {
allowedAwsAccounts: ["string"],
allowedAzureIssuers: ["string"],
allowedOidcIssuers: ["string"],
allowedProviders: ["string"],
},
});
type: snowflake:AuthenticationPolicy
properties:
authenticationMethods:
- string
clientTypes:
- string
comment: string
database: string
mfaEnrollment: string
mfaPolicy:
allowedMethods:
- string
enforceMfaOnExternalAuthentication: string
name: string
patPolicy:
defaultExpiryInDays: 0
maxExpiryInDays: 0
networkPolicyEvaluation: string
schema: string
securityIntegrations:
- string
workloadIdentityPolicy:
allowedAwsAccounts:
- string
allowedAzureIssuers:
- string
allowedOidcIssuers:
- string
allowedProviders:
- 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. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - Mfa
Policy AuthenticationPolicy Mfa Policy - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Pat
Policy AuthenticationPolicy Pat Policy - Specifies the policy for programmatic access tokens.
- Security
Integrations List<string> - A list of security integrations the authentication policy is associated with. This parameter has no effect when
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - Workload
Identity AuthenticationPolicy Policy Workload Identity Policy - Specifies the policy for workload identity federation.
- 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. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - Mfa
Policy AuthenticationPolicy Mfa Policy Args - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Pat
Policy AuthenticationPolicy Pat Policy Args - Specifies the policy for programmatic access tokens.
- Security
Integrations []string - A list of security integrations the authentication policy is associated with. This parameter has no effect when
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - Workload
Identity AuthenticationPolicy Policy Workload Identity Policy Args - Specifies the policy for workload identity federation.
- 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. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa
Policy AuthenticationPolicy Mfa Policy - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat
Policy AuthenticationPolicy Pat Policy - Specifies the policy for programmatic access tokens.
- security
Integrations List<String> - A list of security integrations the authentication policy is associated with. This parameter has no effect when
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - workload
Identity AuthenticationPolicy Policy Workload Identity Policy - Specifies the policy for workload identity federation.
- 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. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa
Policy AuthenticationPolicy Mfa Policy - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat
Policy AuthenticationPolicy Pat Policy - Specifies the policy for programmatic access tokens.
- security
Integrations string[] - A list of security integrations the authentication policy is associated with. This parameter has no effect when
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - workload
Identity AuthenticationPolicy Policy Workload Identity Policy - Specifies the policy for workload identity federation.
- 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. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa_
policy AuthenticationPolicy Mfa Policy Args - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name str
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat_
policy AuthenticationPolicy Pat Policy Args - Specifies the policy for programmatic access tokens.
- security_
integrations Sequence[str] - A list of security integrations the authentication policy is associated with. This parameter has no effect when
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - workload_
identity_ Authenticationpolicy Policy Workload Identity Policy Args - Specifies the policy for workload identity federation.
- 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. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa
Policy Property Map - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat
Policy Property Map - Specifies the policy for programmatic access tokens.
- security
Integrations List<String> - A list of security integrations the authentication policy is associated with. This parameter has no effect when
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - workload
Identity Property MapPolicy - Specifies the policy for workload identity federation.
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 POLICYfor 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 POLICIESfor the given policy.
- Describe
Outputs []AuthenticationPolicy Describe Output - Outputs the result of
DESCRIBE AUTHENTICATION POLICYfor 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 POLICIESfor the given policy.
- describe
Outputs List<AuthenticationPolicy Describe Output> - Outputs the result of
DESCRIBE AUTHENTICATION POLICYfor 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 POLICIESfor the given policy.
- describe
Outputs AuthenticationPolicy Describe Output[] - Outputs the result of
DESCRIBE AUTHENTICATION POLICYfor 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 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.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE AUTHENTICATION POLICYfor 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 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,
mfa_policy: Optional[AuthenticationPolicyMfaPolicyArgs] = None,
name: Optional[str] = None,
pat_policy: Optional[AuthenticationPolicyPatPolicyArgs] = None,
schema: Optional[str] = None,
security_integrations: Optional[Sequence[str]] = None,
show_outputs: Optional[Sequence[AuthenticationPolicyShowOutputArgs]] = None,
workload_identity_policy: Optional[AuthenticationPolicyWorkloadIdentityPolicyArgs] = 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.
- Authentication
Methods List<string> - A list of authentication methods that are allowed during login. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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 POLICYfor 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - Mfa
Policy AuthenticationPolicy Mfa Policy - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Pat
Policy AuthenticationPolicy Pat Policy - Specifies the policy for programmatic access tokens.
- 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
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - Show
Outputs List<AuthenticationPolicy Show Output> - Outputs the result of
SHOW AUTHENTICATION POLICIESfor the given policy. - Workload
Identity AuthenticationPolicy Policy Workload Identity Policy - Specifies the policy for workload identity federation.
- Authentication
Methods []string - A list of authentication methods that are allowed during login. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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 POLICYfor 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - Mfa
Policy AuthenticationPolicy Mfa Policy Args - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- Name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Pat
Policy AuthenticationPolicy Pat Policy Args - Specifies the policy for programmatic access tokens.
- 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
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - Show
Outputs []AuthenticationPolicy Show Output Args - Outputs the result of
SHOW AUTHENTICATION POLICIESfor the given policy. - Workload
Identity AuthenticationPolicy Policy Workload Identity Policy Args - Specifies the policy for workload identity federation.
- authentication
Methods List<String> - A list of authentication methods that are allowed during login. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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 POLICYfor 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa
Policy AuthenticationPolicy Mfa Policy - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat
Policy AuthenticationPolicy Pat Policy - Specifies the policy for programmatic access tokens.
- 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
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - show
Outputs List<AuthenticationPolicy Show Output> - Outputs the result of
SHOW AUTHENTICATION POLICIESfor the given policy. - workload
Identity AuthenticationPolicy Policy Workload Identity Policy - Specifies the policy for workload identity federation.
- authentication
Methods string[] - A list of authentication methods that are allowed during login. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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 POLICYfor 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa
Policy AuthenticationPolicy Mfa Policy - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name string
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat
Policy AuthenticationPolicy Pat Policy - Specifies the policy for programmatic access tokens.
- 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
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - show
Outputs AuthenticationPolicy Show Output[] - Outputs the result of
SHOW AUTHENTICATION POLICIESfor the given policy. - workload
Identity AuthenticationPolicy Policy Workload Identity Policy - Specifies the policy for workload identity federation.
- authentication_
methods Sequence[str] - A list of authentication methods that are allowed during login. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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 - Determines whether a user must enroll in multi-factor authentication. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa_
policy AuthenticationPolicy Mfa Policy Args - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name str
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat_
policy AuthenticationPolicy Pat Policy Args - Specifies the policy for programmatic access tokens.
- 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
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - show_
outputs Sequence[AuthenticationPolicy Show Output Args] - Outputs the result of
SHOW AUTHENTICATION POLICIESfor the given policy. - workload_
identity_ Authenticationpolicy Policy Workload Identity Policy Args - Specifies the policy for workload identity federation.
- authentication
Methods List<String> - A list of authentication methods that are allowed during login. Valid values are (case-insensitive):
ALL|SAML|PASSWORD|OAUTH|KEYPAIR|PROGRAMMATIC_ACCESS_TOKEN|WORKLOAD_IDENTITY. - 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
client_types, then the login attempt fails. Valid values are (case-insensitive):ALL|SNOWFLAKE_UI|DRIVERS|SNOWSQL|SNOWFLAKE_CLI. Theclient_typesproperty 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 POLICYfor 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. Valid values are (case-insensitive):
REQUIRED|REQUIRED_PASSWORD_ONLY|OPTIONAL. When REQUIRED is specified, Enforces users to enroll in MFA. If this value is used, then theclient_typesparameter must includesnowflake_ui, because Snowsight is the only place users can enroll in multi-factor authentication (MFA). - mfa
Policy Property Map - Specifies the multi-factor authentication (MFA) methods that users can use as a second factor of authentication.
- name String
- Specifies the identifier for the authentication policy. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - pat
Policy Property Map - Specifies the policy for programmatic access tokens.
- 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
samloroauthare not in theauthentication_methodslist. All values in thesecurity_integrationslist must be compatible with the values in theauthentication_methodslist. For example, ifsecurity_integrationscontains a SAML security integration, andauthentication_methodscontains OAUTH, then you cannot create the authentication policy. To allow all security integrations useALLas parameter. - show
Outputs List<Property Map> - Outputs the result of
SHOW AUTHENTICATION POLICIESfor the given policy. - workload
Identity Property MapPolicy - Specifies the policy for workload identity federation.
Supporting Types
AuthenticationPolicyDescribeOutput, AuthenticationPolicyDescribeOutputArgs
- Authentication
Methods string - Client
Types string - Comment string
- Mfa
Authentication stringMethods - Mfa
Enrollment string - Mfa
Policy string - Name string
- Owner string
- Pat
Policy string - Security
Integrations string - Workload
Identity stringPolicy
- Authentication
Methods string - Client
Types string - Comment string
- Mfa
Authentication stringMethods - Mfa
Enrollment string - Mfa
Policy string - Name string
- Owner string
- Pat
Policy string - Security
Integrations string - Workload
Identity stringPolicy
- authentication
Methods String - client
Types String - comment String
- mfa
Authentication StringMethods - mfa
Enrollment String - mfa
Policy String - name String
- owner String
- pat
Policy String - security
Integrations String - workload
Identity StringPolicy
- authentication
Methods string - client
Types string - comment string
- mfa
Authentication stringMethods - mfa
Enrollment string - mfa
Policy string - name string
- owner string
- pat
Policy string - security
Integrations string - workload
Identity stringPolicy
- authentication_
methods str - client_
types str - comment str
- mfa_
authentication_ strmethods - mfa_
enrollment str - mfa_
policy str - name str
- owner str
- pat_
policy str - security_
integrations str - workload_
identity_ strpolicy
- authentication
Methods String - client
Types String - comment String
- mfa
Authentication StringMethods - mfa
Enrollment String - mfa
Policy String - name String
- owner String
- pat
Policy String - security
Integrations String - workload
Identity StringPolicy
AuthenticationPolicyMfaPolicy, AuthenticationPolicyMfaPolicyArgs
- Allowed
Methods List<string> - Enforce
Mfa stringOn External Authentication - Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive):
ALL|NONE.
- Allowed
Methods []string - Enforce
Mfa stringOn External Authentication - Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive):
ALL|NONE.
- allowed
Methods List<String> - enforce
Mfa StringOn External Authentication - Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive):
ALL|NONE.
- allowed
Methods string[] - enforce
Mfa stringOn External Authentication - Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive):
ALL|NONE.
- allowed_
methods Sequence[str] - enforce_
mfa_ stron_ external_ authentication - Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive):
ALL|NONE.
- allowed
Methods List<String> - enforce
Mfa StringOn External Authentication - Determines whether multi-factor authentication (MFA) is enforced on external authentication. Valid values are (case-insensitive):
ALL|NONE.
AuthenticationPolicyPatPolicy, AuthenticationPolicyPatPolicyArgs
- Default
Expiry intIn Days - Specifies the default expiration time (in days) for a programmatic access token.
- Max
Expiry intIn Days - Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
- Network
Policy stringEvaluation - Specifies the network policy evaluation for the PAT.
- Default
Expiry intIn Days - Specifies the default expiration time (in days) for a programmatic access token.
- Max
Expiry intIn Days - Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
- Network
Policy stringEvaluation - Specifies the network policy evaluation for the PAT.
- default
Expiry IntegerIn Days - Specifies the default expiration time (in days) for a programmatic access token.
- max
Expiry IntegerIn Days - Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
- network
Policy StringEvaluation - Specifies the network policy evaluation for the PAT.
- default
Expiry numberIn Days - Specifies the default expiration time (in days) for a programmatic access token.
- max
Expiry numberIn Days - Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
- network
Policy stringEvaluation - Specifies the network policy evaluation for the PAT.
- default_
expiry_ intin_ days - Specifies the default expiration time (in days) for a programmatic access token.
- max_
expiry_ intin_ days - Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
- network_
policy_ strevaluation - Specifies the network policy evaluation for the PAT.
- default
Expiry NumberIn Days - Specifies the default expiration time (in days) for a programmatic access token.
- max
Expiry NumberIn Days - Specifies the maximum number of days that can be set for the expiration time for a programmatic access token.
- network
Policy StringEvaluation - Specifies the network policy evaluation for the PAT.
AuthenticationPolicyShowOutput, AuthenticationPolicyShowOutputArgs
- Comment string
- Created
On string - Database
Name string - Kind string
- Name string
- Options string
- Owner string
- Owner
Role stringType - Schema
Name string
- Comment string
- Created
On string - Database
Name string - Kind string
- Name string
- Options string
- Owner string
- Owner
Role stringType - Schema
Name string
- comment String
- created
On String - database
Name String - kind String
- name String
- options String
- owner String
- owner
Role StringType - schema
Name String
- comment string
- created
On string - database
Name string - kind string
- name string
- options string
- owner string
- owner
Role stringType - schema
Name string
- comment str
- created_
on str - database_
name str - kind str
- name str
- options str
- owner str
- owner_
role_ strtype - schema_
name str
- comment String
- created
On String - database
Name String - kind String
- name String
- options String
- owner String
- owner
Role StringType - schema
Name String
AuthenticationPolicyWorkloadIdentityPolicy, AuthenticationPolicyWorkloadIdentityPolicyArgs
- Allowed
Aws List<string>Accounts - Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type
AWS. - Allowed
Azure List<string>Issuers - Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type
AZURE. - Allowed
Oidc List<string>Issuers - Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type
OIDC. - Allowed
Providers List<string>
- Allowed
Aws []stringAccounts - Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type
AWS. - Allowed
Azure []stringIssuers - Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type
AZURE. - Allowed
Oidc []stringIssuers - Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type
OIDC. - Allowed
Providers []string
- allowed
Aws List<String>Accounts - Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type
AWS. - allowed
Azure List<String>Issuers - Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type
AZURE. - allowed
Oidc List<String>Issuers - Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type
OIDC. - allowed
Providers List<String>
- allowed
Aws string[]Accounts - Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type
AWS. - allowed
Azure string[]Issuers - Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type
AZURE. - allowed
Oidc string[]Issuers - Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type
OIDC. - allowed
Providers string[]
- allowed_
aws_ Sequence[str]accounts - Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type
AWS. - allowed_
azure_ Sequence[str]issuers - Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type
AZURE. - allowed_
oidc_ Sequence[str]issuers - Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type
OIDC. - allowed_
providers Sequence[str]
- allowed
Aws List<String>Accounts - Specifies the list of AWS account IDs allowed by the authentication policy during workload identity authentication of type
AWS. - allowed
Azure List<String>Issuers - Specifies the list of Azure Entra ID issuers allowed by the authentication policy during workload identity authentication of type
AZURE. - allowed
Oidc List<String>Issuers - Specifies the list of OIDC issuers allowed by the authentication policy during workload identity authentication of type
OIDC. - allowed
Providers List<String>
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflakeTerraform Provider.
