Show / Hide Table of Contents

Class PasswordPolicy

Inheritance
System.Object
Resource
CustomResource
PasswordPolicy
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.Deprecated
Assembly: Pulumi.Okta.dll
Syntax
public class PasswordPolicy : CustomResource

Constructors

View Source

PasswordPolicy(String, PasswordPolicyArgs, CustomResourceOptions)

Create a PasswordPolicy resource with the given unique name, arguments, and options.

Declaration
public PasswordPolicy(string name, PasswordPolicyArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PasswordPolicyArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AuthProvider

Authentication Provider: OKTA or ACTIVE_DIRECTORY.

Declaration
public Output<string> AuthProvider { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Policy Description

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

EmailRecovery

Enable or disable email password recovery: ACTIVE or INACTIVE.

Declaration
public Output<string> EmailRecovery { get; }
Property Value
Type Description
Output<System.String>
View Source

GroupsIncludeds

List of Group IDs to Include

Declaration
public Output<ImmutableArray<string>> GroupsIncludeds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

Policy Name

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PasswordAutoUnlockMinutes

Number of minutes before a locked account is unlocked: 0 = no limit.

Declaration
public Output<int?> PasswordAutoUnlockMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordDictionaryLookup

Check Passwords Against Common Password Dictionary.

Declaration
public Output<bool?> PasswordDictionaryLookup { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

PasswordExcludeFirstName

User firstName attribute must be excluded from the password

Declaration
public Output<bool?> PasswordExcludeFirstName { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

PasswordExcludeLastName

User lastName attribute must be excluded from the password

Declaration
public Output<bool?> PasswordExcludeLastName { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

PasswordExcludeUsername

If the user name must be excluded from the password.

Declaration
public Output<bool?> PasswordExcludeUsername { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

PasswordExpireWarnDays

Length in days a user will be warned before password expiry: 0 = no warning.

Declaration
public Output<int?> PasswordExpireWarnDays { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordHistoryCount

Number of distinct passwords that must be created before they can be reused: 0 = none.

Declaration
public Output<int?> PasswordHistoryCount { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMaxAgeDays

Length in days a password is valid before expiry: 0 = no limit.

Declaration
public Output<int?> PasswordMaxAgeDays { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMaxLockoutAttempts

Number of unsuccessful login attempts allowed before lockout: 0 = no limit.

Declaration
public Output<int?> PasswordMaxLockoutAttempts { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMinAgeMinutes

Minimum time interval in minutes between password changes: 0 = no limit.

Declaration
public Output<int?> PasswordMinAgeMinutes { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMinLength

Minimum password length.

Declaration
public Output<int?> PasswordMinLength { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMinLowercase

If a password must contain at least one lower case letter: 0 = no, 1 = yes. Default = 1

Declaration
public Output<int?> PasswordMinLowercase { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMinNumber

If a password must contain at least one number: 0 = no, 1 = yes. Default = 1

Declaration
public Output<int?> PasswordMinNumber { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMinSymbol

If a password must contain at least one symbol (!@#$%^&*): 0 = no, 1 = yes. Default = 1

Declaration
public Output<int?> PasswordMinSymbol { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordMinUppercase

If a password must contain at least one upper case letter: 0 = no, 1 = yes. Default = 1

Declaration
public Output<int?> PasswordMinUppercase { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordShowLockoutFailures

If a user should be informed when their account is locked.

Declaration
public Output<bool?> PasswordShowLockoutFailures { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Priority

Policy Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

Declaration
public Output<int?> Priority { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

QuestionMinLength

Min length of the password recovery question answer.

Declaration
public Output<int?> QuestionMinLength { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

QuestionRecovery

Enable or disable security question password recovery: ACTIVE or INACTIVE.

Declaration
public Output<string> QuestionRecovery { get; }
Property Value
Type Description
Output<System.String>
View Source

RecoveryEmailToken

Lifetime in minutes of the recovery email token.

Declaration
public Output<int?> RecoveryEmailToken { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

SkipUnlock

When an Active Directory user is locked out of Okta, the Okta unlock operation should also attempt to unlock the user's Windows account.

Declaration
public Output<bool?> SkipUnlock { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

SmsRecovery

Enable or disable SMS password recovery: ACTIVE or INACTIVE.

Declaration
public Output<string> SmsRecovery { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

Policy Status: ACTIVE or INACTIVE.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, PasswordPolicyState, CustomResourceOptions)

Get an existing PasswordPolicy resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static PasswordPolicy Get(string name, Input<string> id, PasswordPolicyState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

PasswordPolicyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PasswordPolicy
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.