Skip to content

Latest commit

 

History

History
1579 lines (992 loc) · 63.4 KB

passwordPolicy.go.md

File metadata and controls

1579 lines (992 loc) · 63.4 KB

passwordPolicy Submodule

Constructs

PasswordPolicy

Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy snowflake_password_policy}.

Initializers

import "github.com/cdktf/cdktf-provider-snowflake-go/snowflake/v11/passwordpolicy"

passwordpolicy.NewPasswordPolicy(scope Construct, id *string, config PasswordPolicyConfig) PasswordPolicy
Name Type Description
scope github.com/aws/constructs-go/constructs/v10.Construct The scope in which to define this construct.
id *string The scoped construct ID.
config PasswordPolicyConfig No description.

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


idRequired
  • Type: *string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
ToString Returns a string representation of this construct.
AddOverride No description.
OverrideLogicalId Overrides the auto-generated logical ID with a specific ID.
ResetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
ToHclTerraform No description.
ToMetadata No description.
ToTerraform Adds this resource to the terraform JSON output.
AddMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
GetAnyMapAttribute No description.
GetBooleanAttribute No description.
GetBooleanMapAttribute No description.
GetListAttribute No description.
GetNumberAttribute No description.
GetNumberListAttribute No description.
GetNumberMapAttribute No description.
GetStringAttribute No description.
GetStringMapAttribute No description.
HasResourceMove No description.
ImportFrom No description.
InterpolationForAttribute No description.
MoveFromId Move the resource corresponding to "id" to this resource.
MoveTo Moves this resource to the target resource given by moveTarget.
MoveToId Moves this resource to the resource corresponding to "id".
ResetComment No description.
ResetHistory No description.
ResetId No description.
ResetIfNotExists No description.
ResetLockoutTimeMins No description.
ResetMaxAgeDays No description.
ResetMaxLength No description.
ResetMaxRetries No description.
ResetMinAgeDays No description.
ResetMinLength No description.
ResetMinLowerCaseChars No description.
ResetMinNumericChars No description.
ResetMinSpecialChars No description.
ResetMinUpperCaseChars No description.
ResetOrReplace No description.

ToString
func ToString() *string

Returns a string representation of this construct.

AddOverride
func AddOverride(path *string, value interface{})
pathRequired
  • Type: *string

valueRequired
  • Type: interface{}

OverrideLogicalId
func OverrideLogicalId(newLogicalId *string)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: *string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
func ResetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

ToHclTerraform
func ToHclTerraform() interface{}
ToMetadata
func ToMetadata() interface{}
ToTerraform
func ToTerraform() interface{}

Adds this resource to the terraform JSON output.

AddMoveTarget
func AddMoveTarget(moveTarget *string)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: *string

The string move target that will correspond to this resource.


GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
terraformAttributeRequired
  • Type: *string

GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
terraformAttributeRequired
  • Type: *string

GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
terraformAttributeRequired
  • Type: *string

GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
terraformAttributeRequired
  • Type: *string

GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
terraformAttributeRequired
  • Type: *string

GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
terraformAttributeRequired
  • Type: *string

GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
terraformAttributeRequired
  • Type: *string

GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
terraformAttributeRequired
  • Type: *string

HasResourceMove
func HasResourceMove() interface{}
ImportFrom
func ImportFrom(id *string, provider TerraformProvider)
idRequired
  • Type: *string

providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

InterpolationForAttribute
func InterpolationForAttribute(terraformAttribute *string) IResolvable
terraformAttributeRequired
  • Type: *string

MoveFromId
func MoveFromId(id *string)

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: *string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


MoveTo
func MoveTo(moveTarget *string, index interface{})

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: *string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: interface{}

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


MoveToId
func MoveToId(id *string)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: *string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


ResetComment
func ResetComment()
ResetHistory
func ResetHistory()
ResetId
func ResetId()
ResetIfNotExists
func ResetIfNotExists()
ResetLockoutTimeMins
func ResetLockoutTimeMins()
ResetMaxAgeDays
func ResetMaxAgeDays()
ResetMaxLength
func ResetMaxLength()
ResetMaxRetries
func ResetMaxRetries()
ResetMinAgeDays
func ResetMinAgeDays()
ResetMinLength
func ResetMinLength()
ResetMinLowerCaseChars
func ResetMinLowerCaseChars()
ResetMinNumericChars
func ResetMinNumericChars()
ResetMinSpecialChars
func ResetMinSpecialChars()
ResetMinUpperCaseChars
func ResetMinUpperCaseChars()
ResetOrReplace
func ResetOrReplace()

Static Functions

Name Description
IsConstruct Checks if x is a construct.
IsTerraformElement No description.
IsTerraformResource No description.
GenerateConfigForImport Generates CDKTF code for importing a PasswordPolicy resource upon running "cdktf plan ".

IsConstruct
import "github.com/cdktf/cdktf-provider-snowflake-go/snowflake/v11/passwordpolicy"

passwordpolicy.PasswordPolicy_IsConstruct(x interface{}) *bool

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: interface{}

Any object.


IsTerraformElement
import "github.com/cdktf/cdktf-provider-snowflake-go/snowflake/v11/passwordpolicy"

passwordpolicy.PasswordPolicy_IsTerraformElement(x interface{}) *bool
xRequired
  • Type: interface{}

IsTerraformResource
import "github.com/cdktf/cdktf-provider-snowflake-go/snowflake/v11/passwordpolicy"

passwordpolicy.PasswordPolicy_IsTerraformResource(x interface{}) *bool
xRequired
  • Type: interface{}

GenerateConfigForImport
import "github.com/cdktf/cdktf-provider-snowflake-go/snowflake/v11/passwordpolicy"

passwordpolicy.PasswordPolicy_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource

Generates CDKTF code for importing a PasswordPolicy resource upon running "cdktf plan ".

scopeRequired
  • Type: github.com/aws/constructs-go/constructs/v10.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: *string

The construct id used in the generated config for the PasswordPolicy to import.


importFromIdRequired
  • Type: *string

The id of the existing PasswordPolicy that should be imported.

Refer to the {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

? Optional instance of the provider where the PasswordPolicy to import is found.


Properties

Name Type Description
Node github.com/aws/constructs-go/constructs/v10.Node The tree node.
CdktfStack github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack No description.
Fqn *string No description.
FriendlyUniqueId *string No description.
TerraformMetaArguments *map[string]interface{} No description.
TerraformResourceType *string No description.
TerraformGeneratorMetadata github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata No description.
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]*string No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
QualifiedName *string No description.
CommentInput *string No description.
DatabaseInput *string No description.
HistoryInput *f64 No description.
IdInput *string No description.
IfNotExistsInput interface{} No description.
LockoutTimeMinsInput *f64 No description.
MaxAgeDaysInput *f64 No description.
MaxLengthInput *f64 No description.
MaxRetriesInput *f64 No description.
MinAgeDaysInput *f64 No description.
MinLengthInput *f64 No description.
MinLowerCaseCharsInput *f64 No description.
MinNumericCharsInput *f64 No description.
MinSpecialCharsInput *f64 No description.
MinUpperCaseCharsInput *f64 No description.
NameInput *string No description.
OrReplaceInput interface{} No description.
SchemaInput *string No description.
Comment *string No description.
Database *string No description.
History *f64 No description.
Id *string No description.
IfNotExists interface{} No description.
LockoutTimeMins *f64 No description.
MaxAgeDays *f64 No description.
MaxLength *f64 No description.
MaxRetries *f64 No description.
MinAgeDays *f64 No description.
MinLength *f64 No description.
MinLowerCaseChars *f64 No description.
MinNumericChars *f64 No description.
MinSpecialChars *f64 No description.
MinUpperCaseChars *f64 No description.
Name *string No description.
OrReplace interface{} No description.
Schema *string No description.

NodeRequired
func Node() Node
  • Type: github.com/aws/constructs-go/constructs/v10.Node

The tree node.


CdktfStackRequired
func CdktfStack() TerraformStack
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformStack

FqnRequired
func Fqn() *string
  • Type: *string

FriendlyUniqueIdRequired
func FriendlyUniqueId() *string
  • Type: *string

TerraformMetaArgumentsRequired
func TerraformMetaArguments() *map[string]interface{}
  • Type: *map[string]interface{}

TerraformResourceTypeRequired
func TerraformResourceType() *string
  • Type: *string

TerraformGeneratorMetadataOptional
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
func Connection() interface{}
  • Type: interface{}

CountOptional
func Count() interface{}
  • Type: interface{}

DependsOnOptional
func DependsOn() *[]*string
  • Type: *[]*string

ForEachOptional
func ForEach() ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
func Lifecycle() TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
func Provider() TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
func Provisioners() *[]interface{}
  • Type: *[]interface{}

QualifiedNameRequired
func QualifiedName() *string
  • Type: *string

CommentInputOptional
func CommentInput() *string
  • Type: *string

DatabaseInputOptional
func DatabaseInput() *string
  • Type: *string

HistoryInputOptional
func HistoryInput() *f64
  • Type: *f64

IdInputOptional
func IdInput() *string
  • Type: *string

IfNotExistsInputOptional
func IfNotExistsInput() interface{}
  • Type: interface{}

LockoutTimeMinsInputOptional
func LockoutTimeMinsInput() *f64
  • Type: *f64

MaxAgeDaysInputOptional
func MaxAgeDaysInput() *f64
  • Type: *f64

MaxLengthInputOptional
func MaxLengthInput() *f64
  • Type: *f64

MaxRetriesInputOptional
func MaxRetriesInput() *f64
  • Type: *f64

MinAgeDaysInputOptional
func MinAgeDaysInput() *f64
  • Type: *f64

MinLengthInputOptional
func MinLengthInput() *f64
  • Type: *f64

MinLowerCaseCharsInputOptional
func MinLowerCaseCharsInput() *f64
  • Type: *f64

MinNumericCharsInputOptional
func MinNumericCharsInput() *f64
  • Type: *f64

MinSpecialCharsInputOptional
func MinSpecialCharsInput() *f64
  • Type: *f64

MinUpperCaseCharsInputOptional
func MinUpperCaseCharsInput() *f64
  • Type: *f64

NameInputOptional
func NameInput() *string
  • Type: *string

OrReplaceInputOptional
func OrReplaceInput() interface{}
  • Type: interface{}

SchemaInputOptional
func SchemaInput() *string
  • Type: *string

CommentRequired
func Comment() *string
  • Type: *string

DatabaseRequired
func Database() *string
  • Type: *string

HistoryRequired
func History() *f64
  • Type: *f64

IdRequired
func Id() *string
  • Type: *string

IfNotExistsRequired
func IfNotExists() interface{}
  • Type: interface{}

LockoutTimeMinsRequired
func LockoutTimeMins() *f64
  • Type: *f64

MaxAgeDaysRequired
func MaxAgeDays() *f64
  • Type: *f64

MaxLengthRequired
func MaxLength() *f64
  • Type: *f64

MaxRetriesRequired
func MaxRetries() *f64
  • Type: *f64

MinAgeDaysRequired
func MinAgeDays() *f64
  • Type: *f64

MinLengthRequired
func MinLength() *f64
  • Type: *f64

MinLowerCaseCharsRequired
func MinLowerCaseChars() *f64
  • Type: *f64

MinNumericCharsRequired
func MinNumericChars() *f64
  • Type: *f64

MinSpecialCharsRequired
func MinSpecialChars() *f64
  • Type: *f64

MinUpperCaseCharsRequired
func MinUpperCaseChars() *f64
  • Type: *f64

NameRequired
func Name() *string
  • Type: *string

OrReplaceRequired
func OrReplace() interface{}
  • Type: interface{}

SchemaRequired
func Schema() *string
  • Type: *string

Constants

Name Type Description
TfResourceType *string No description.

TfResourceTypeRequired
func TfResourceType() *string
  • Type: *string

Structs

PasswordPolicyConfig

Initializer

import "github.com/cdktf/cdktf-provider-snowflake-go/snowflake/v11/passwordpolicy"

&passwordpolicy.PasswordPolicyConfig {
	Connection: interface{},
	Count: interface{},
	DependsOn: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable,
	ForEach: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator,
	Lifecycle: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle,
	Provider: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider,
	Provisioners: *[]interface{},
	Database: *string,
	Name: *string,
	Schema: *string,
	Comment: *string,
	History: *f64,
	Id: *string,
	IfNotExists: interface{},
	LockoutTimeMins: *f64,
	MaxAgeDays: *f64,
	MaxLength: *f64,
	MaxRetries: *f64,
	MinAgeDays: *f64,
	MinLength: *f64,
	MinLowerCaseChars: *f64,
	MinNumericChars: *f64,
	MinSpecialChars: *f64,
	MinUpperCaseChars: *f64,
	OrReplace: interface{},
}

Properties

Name Type Description
Connection interface{} No description.
Count interface{} No description.
DependsOn *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable No description.
ForEach github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator No description.
Lifecycle github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle No description.
Provider github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider No description.
Provisioners *[]interface{} No description.
Database *string The database this password policy belongs to.
Name *string Identifier for the password policy; must be unique for your account.
Schema *string The schema this password policy belongs to.
Comment *string Adds a comment or overwrites an existing comment for the password policy.
History *f64 Specifies the number of the most recent passwords that Snowflake stores.
Id *string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#id PasswordPolicy#id}.
IfNotExists interface{} Prevent overwriting a previous password policy with the same name.
LockoutTimeMins *f64 Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD_MAX_RETRIES). Supported range: 1 to 999, inclusive. Default: 15.
MaxAgeDays *f64 Specifies the maximum number of days before the password must be changed.
MaxLength *f64 Specifies the maximum number of characters the password must contain.
MaxRetries *f64 Specifies the maximum number of attempts to enter a password before being locked out.
MinAgeDays *f64 Specifies the number of days the user must wait before a recently changed password can be changed again.
MinLength *f64 Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8.
MinLowerCaseChars *f64 Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
MinNumericChars *f64 Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
MinSpecialChars *f64 Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
MinUpperCaseChars *f64 Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
OrReplace interface{} Whether to override a previous password policy with the same name.

ConnectionOptional
Connection interface{}
  • Type: interface{}

CountOptional
Count interface{}
  • Type: interface{}

DependsOnOptional
DependsOn *[]ITerraformDependable
  • Type: *[]github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformDependable

ForEachOptional
ForEach ITerraformIterator
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.ITerraformIterator

LifecycleOptional
Lifecycle TerraformResourceLifecycle
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformResourceLifecycle

ProviderOptional
Provider TerraformProvider
  • Type: github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider

ProvisionersOptional
Provisioners *[]interface{}
  • Type: *[]interface{}

DatabaseRequired
Database *string
  • Type: *string

The database this password policy belongs to.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#database PasswordPolicy#database}


NameRequired
Name *string
  • Type: *string

Identifier for the password policy; must be unique for your account.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#name PasswordPolicy#name}


SchemaRequired
Schema *string
  • Type: *string

The schema this password policy belongs to.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#schema PasswordPolicy#schema}


CommentOptional
Comment *string
  • Type: *string

Adds a comment or overwrites an existing comment for the password policy.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#comment PasswordPolicy#comment}


HistoryOptional
History *f64
  • Type: *f64

Specifies the number of the most recent passwords that Snowflake stores.

These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#history PasswordPolicy#history}


IdOptional
Id *string
  • Type: *string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#id PasswordPolicy#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


IfNotExistsOptional
IfNotExists interface{}
  • Type: interface{}

Prevent overwriting a previous password policy with the same name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#if_not_exists PasswordPolicy#if_not_exists}


LockoutTimeMinsOptional
LockoutTimeMins *f64
  • Type: *f64

Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD_MAX_RETRIES). Supported range: 1 to 999, inclusive. Default: 15.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#lockout_time_mins PasswordPolicy#lockout_time_mins}


MaxAgeDaysOptional
MaxAgeDays *f64
  • Type: *f64

Specifies the maximum number of days before the password must be changed.

Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_age_days PasswordPolicy#max_age_days}


MaxLengthOptional
MaxLength *f64
  • Type: *f64

Specifies the maximum number of characters the password must contain.

This number must be greater than or equal to the sum of PASSWORD_MIN_LENGTH, PASSWORD_MIN_UPPER_CASE_CHARS, and PASSWORD_MIN_LOWER_CASE_CHARS. Supported range: 8 to 256, inclusive. Default: 256

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_length PasswordPolicy#max_length}


MaxRetriesOptional
MaxRetries *f64
  • Type: *f64

Specifies the maximum number of attempts to enter a password before being locked out.

Supported range: 1 to 10, inclusive. Default: 5

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_retries PasswordPolicy#max_retries}


MinAgeDaysOptional
MinAgeDays *f64
  • Type: *f64

Specifies the number of days the user must wait before a recently changed password can be changed again.

Supported range: 0 to 999, inclusive. Default: 0

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_age_days PasswordPolicy#min_age_days}


MinLengthOptional
MinLength *f64
  • Type: *f64

Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_length PasswordPolicy#min_length}


MinLowerCaseCharsOptional
MinLowerCaseChars *f64
  • Type: *f64

Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_lower_case_chars PasswordPolicy#min_lower_case_chars}


MinNumericCharsOptional
MinNumericChars *f64
  • Type: *f64

Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_numeric_chars PasswordPolicy#min_numeric_chars}


MinSpecialCharsOptional
MinSpecialChars *f64
  • Type: *f64

Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_special_chars PasswordPolicy#min_special_chars}


MinUpperCaseCharsOptional
MinUpperCaseChars *f64
  • Type: *f64

Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_upper_case_chars PasswordPolicy#min_upper_case_chars}


OrReplaceOptional
OrReplace interface{}
  • Type: interface{}

Whether to override a previous password policy with the same name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#or_replace PasswordPolicy#or_replace}