sumologic logo
Sumo Logic v0.11.0, Jan 18 23

sumologic.PasswordPolicy

Sets the Sumologic Password Policy. Since there is only a single password policy for an organization, please ensure that only a single instance of such resource is defined. The behavior for defining more than one password policy resources is undefined.

Example Usage

using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var examplePasswordPolicy = new SumoLogic.PasswordPolicy("examplePasswordPolicy", new()
    {
        AccountLockoutDurationInMins = 30,
        AccountLockoutThreshold = 6,
        FailedLoginResetDurationInMins = 10,
        MaxLength = 128,
        MaxPasswordAgeInDays = 365,
        MinLength = 8,
        MinUniquePasswords = 10,
        MustContainDigits = true,
        MustContainLowercase = true,
        MustContainSpecialChars = true,
        MustContainUppercase = true,
        RememberMfa = true,
        RequireMfa = false,
    });

});
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewPasswordPolicy(ctx, "examplePasswordPolicy", &sumologic.PasswordPolicyArgs{
			AccountLockoutDurationInMins:   pulumi.Int(30),
			AccountLockoutThreshold:        pulumi.Int(6),
			FailedLoginResetDurationInMins: pulumi.Int(10),
			MaxLength:                      pulumi.Int(128),
			MaxPasswordAgeInDays:           pulumi.Int(365),
			MinLength:                      pulumi.Int(8),
			MinUniquePasswords:             pulumi.Int(10),
			MustContainDigits:              pulumi.Bool(true),
			MustContainLowercase:           pulumi.Bool(true),
			MustContainSpecialChars:        pulumi.Bool(true),
			MustContainUppercase:           pulumi.Bool(true),
			RememberMfa:                    pulumi.Bool(true),
			RequireMfa:                     pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.PasswordPolicy;
import com.pulumi.sumologic.PasswordPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var examplePasswordPolicy = new PasswordPolicy("examplePasswordPolicy", PasswordPolicyArgs.builder()        
            .accountLockoutDurationInMins(30)
            .accountLockoutThreshold(6)
            .failedLoginResetDurationInMins(10)
            .maxLength(128)
            .maxPasswordAgeInDays(365)
            .minLength(8)
            .minUniquePasswords(10)
            .mustContainDigits(true)
            .mustContainLowercase(true)
            .mustContainSpecialChars(true)
            .mustContainUppercase(true)
            .rememberMfa(true)
            .requireMfa(false)
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

example_password_policy = sumologic.PasswordPolicy("examplePasswordPolicy",
    account_lockout_duration_in_mins=30,
    account_lockout_threshold=6,
    failed_login_reset_duration_in_mins=10,
    max_length=128,
    max_password_age_in_days=365,
    min_length=8,
    min_unique_passwords=10,
    must_contain_digits=True,
    must_contain_lowercase=True,
    must_contain_special_chars=True,
    must_contain_uppercase=True,
    remember_mfa=True,
    require_mfa=False)
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const examplePasswordPolicy = new sumologic.PasswordPolicy("examplePasswordPolicy", {
    accountLockoutDurationInMins: 30,
    accountLockoutThreshold: 6,
    failedLoginResetDurationInMins: 10,
    maxLength: 128,
    maxPasswordAgeInDays: 365,
    minLength: 8,
    minUniquePasswords: 10,
    mustContainDigits: true,
    mustContainLowercase: true,
    mustContainSpecialChars: true,
    mustContainUppercase: true,
    rememberMfa: true,
    requireMfa: false,
});
resources:
  examplePasswordPolicy:
    type: sumologic:PasswordPolicy
    properties:
      accountLockoutDurationInMins: 30
      accountLockoutThreshold: 6
      failedLoginResetDurationInMins: 10
      maxLength: 128
      maxPasswordAgeInDays: 365
      minLength: 8
      minUniquePasswords: 10
      mustContainDigits: true
      mustContainLowercase: true
      mustContainSpecialChars: true
      mustContainUppercase: true
      rememberMfa: true
      requireMfa: false

Create PasswordPolicy Resource

new PasswordPolicy(name: string, args?: PasswordPolicyArgs, opts?: CustomResourceOptions);
@overload
def PasswordPolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_lockout_duration_in_mins: Optional[int] = None,
                   account_lockout_threshold: Optional[int] = None,
                   failed_login_reset_duration_in_mins: Optional[int] = None,
                   max_length: Optional[int] = None,
                   max_password_age_in_days: Optional[int] = None,
                   min_length: Optional[int] = None,
                   min_unique_passwords: Optional[int] = None,
                   must_contain_digits: Optional[bool] = None,
                   must_contain_lowercase: Optional[bool] = None,
                   must_contain_special_chars: Optional[bool] = None,
                   must_contain_uppercase: Optional[bool] = None,
                   remember_mfa: Optional[bool] = None,
                   require_mfa: Optional[bool] = None)
@overload
def PasswordPolicy(resource_name: str,
                   args: Optional[PasswordPolicyArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewPasswordPolicy(ctx *Context, name string, args *PasswordPolicyArgs, opts ...ResourceOption) (*PasswordPolicy, error)
public PasswordPolicy(string name, PasswordPolicyArgs? args = null, CustomResourceOptions? opts = null)
public PasswordPolicy(String name, PasswordPolicyArgs args)
public PasswordPolicy(String name, PasswordPolicyArgs args, CustomResourceOptions options)
type: sumologic:PasswordPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PasswordPolicyArgs
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 PasswordPolicyArgs
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 PasswordPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PasswordPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PasswordPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

PasswordPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PasswordPolicy resource accepts the following input properties:

AccountLockoutDurationInMins int

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

AccountLockoutThreshold int

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

FailedLoginResetDurationInMins int

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

MaxLength int

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

MaxPasswordAgeInDays int

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

MinLength int

The minimum length of the password. Defaults to 8.

MinUniquePasswords int

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

MustContainDigits bool

If the password must contain digits. Defaults to true.

MustContainLowercase bool

If the password must contain lower case characters. Defaults to true.

MustContainSpecialChars bool

If the password must contain special characters. Defaults to true.

MustContainUppercase bool

If the password must contain upper case characters. Defaults to true.

RememberMfa bool

If MFA should be remembered on the browser. Defaults to true.

RequireMfa bool

If MFA should be required to log in. Defaults to false.

AccountLockoutDurationInMins int

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

AccountLockoutThreshold int

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

FailedLoginResetDurationInMins int

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

MaxLength int

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

MaxPasswordAgeInDays int

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

MinLength int

The minimum length of the password. Defaults to 8.

MinUniquePasswords int

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

MustContainDigits bool

If the password must contain digits. Defaults to true.

MustContainLowercase bool

If the password must contain lower case characters. Defaults to true.

MustContainSpecialChars bool

If the password must contain special characters. Defaults to true.

MustContainUppercase bool

If the password must contain upper case characters. Defaults to true.

RememberMfa bool

If MFA should be remembered on the browser. Defaults to true.

RequireMfa bool

If MFA should be required to log in. Defaults to false.

accountLockoutDurationInMins Integer

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

accountLockoutThreshold Integer

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failedLoginResetDurationInMins Integer

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

maxLength Integer

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

maxPasswordAgeInDays Integer

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

minLength Integer

The minimum length of the password. Defaults to 8.

minUniquePasswords Integer

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

mustContainDigits Boolean

If the password must contain digits. Defaults to true.

mustContainLowercase Boolean

If the password must contain lower case characters. Defaults to true.

mustContainSpecialChars Boolean

If the password must contain special characters. Defaults to true.

mustContainUppercase Boolean

If the password must contain upper case characters. Defaults to true.

rememberMfa Boolean

If MFA should be remembered on the browser. Defaults to true.

requireMfa Boolean

If MFA should be required to log in. Defaults to false.

accountLockoutDurationInMins number

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

accountLockoutThreshold number

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failedLoginResetDurationInMins number

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

maxLength number

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

maxPasswordAgeInDays number

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

minLength number

The minimum length of the password. Defaults to 8.

minUniquePasswords number

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

mustContainDigits boolean

If the password must contain digits. Defaults to true.

mustContainLowercase boolean

If the password must contain lower case characters. Defaults to true.

mustContainSpecialChars boolean

If the password must contain special characters. Defaults to true.

mustContainUppercase boolean

If the password must contain upper case characters. Defaults to true.

rememberMfa boolean

If MFA should be remembered on the browser. Defaults to true.

requireMfa boolean

If MFA should be required to log in. Defaults to false.

account_lockout_duration_in_mins int

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

account_lockout_threshold int

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failed_login_reset_duration_in_mins int

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

max_length int

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

max_password_age_in_days int

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

min_length int

The minimum length of the password. Defaults to 8.

min_unique_passwords int

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

must_contain_digits bool

If the password must contain digits. Defaults to true.

must_contain_lowercase bool

If the password must contain lower case characters. Defaults to true.

must_contain_special_chars bool

If the password must contain special characters. Defaults to true.

must_contain_uppercase bool

If the password must contain upper case characters. Defaults to true.

remember_mfa bool

If MFA should be remembered on the browser. Defaults to true.

require_mfa bool

If MFA should be required to log in. Defaults to false.

accountLockoutDurationInMins Number

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

accountLockoutThreshold Number

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failedLoginResetDurationInMins Number

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

maxLength Number

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

maxPasswordAgeInDays Number

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

minLength Number

The minimum length of the password. Defaults to 8.

minUniquePasswords Number

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

mustContainDigits Boolean

If the password must contain digits. Defaults to true.

mustContainLowercase Boolean

If the password must contain lower case characters. Defaults to true.

mustContainSpecialChars Boolean

If the password must contain special characters. Defaults to true.

mustContainUppercase Boolean

If the password must contain upper case characters. Defaults to true.

rememberMfa Boolean

If MFA should be remembered on the browser. Defaults to true.

requireMfa Boolean

If MFA should be required to log in. Defaults to false.

Outputs

All input properties are implicitly available as output properties. Additionally, the PasswordPolicy resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing PasswordPolicy Resource

Get an existing PasswordPolicy 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?: PasswordPolicyState, opts?: CustomResourceOptions): PasswordPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_lockout_duration_in_mins: Optional[int] = None,
        account_lockout_threshold: Optional[int] = None,
        failed_login_reset_duration_in_mins: Optional[int] = None,
        max_length: Optional[int] = None,
        max_password_age_in_days: Optional[int] = None,
        min_length: Optional[int] = None,
        min_unique_passwords: Optional[int] = None,
        must_contain_digits: Optional[bool] = None,
        must_contain_lowercase: Optional[bool] = None,
        must_contain_special_chars: Optional[bool] = None,
        must_contain_uppercase: Optional[bool] = None,
        remember_mfa: Optional[bool] = None,
        require_mfa: Optional[bool] = None) -> PasswordPolicy
func GetPasswordPolicy(ctx *Context, name string, id IDInput, state *PasswordPolicyState, opts ...ResourceOption) (*PasswordPolicy, error)
public static PasswordPolicy Get(string name, Input<string> id, PasswordPolicyState? state, CustomResourceOptions? opts = null)
public static PasswordPolicy get(String name, Output<String> id, PasswordPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountLockoutDurationInMins int

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

AccountLockoutThreshold int

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

FailedLoginResetDurationInMins int

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

MaxLength int

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

MaxPasswordAgeInDays int

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

MinLength int

The minimum length of the password. Defaults to 8.

MinUniquePasswords int

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

MustContainDigits bool

If the password must contain digits. Defaults to true.

MustContainLowercase bool

If the password must contain lower case characters. Defaults to true.

MustContainSpecialChars bool

If the password must contain special characters. Defaults to true.

MustContainUppercase bool

If the password must contain upper case characters. Defaults to true.

RememberMfa bool

If MFA should be remembered on the browser. Defaults to true.

RequireMfa bool

If MFA should be required to log in. Defaults to false.

AccountLockoutDurationInMins int

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

AccountLockoutThreshold int

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

FailedLoginResetDurationInMins int

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

MaxLength int

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

MaxPasswordAgeInDays int

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

MinLength int

The minimum length of the password. Defaults to 8.

MinUniquePasswords int

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

MustContainDigits bool

If the password must contain digits. Defaults to true.

MustContainLowercase bool

If the password must contain lower case characters. Defaults to true.

MustContainSpecialChars bool

If the password must contain special characters. Defaults to true.

MustContainUppercase bool

If the password must contain upper case characters. Defaults to true.

RememberMfa bool

If MFA should be remembered on the browser. Defaults to true.

RequireMfa bool

If MFA should be required to log in. Defaults to false.

accountLockoutDurationInMins Integer

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

accountLockoutThreshold Integer

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failedLoginResetDurationInMins Integer

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

maxLength Integer

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

maxPasswordAgeInDays Integer

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

minLength Integer

The minimum length of the password. Defaults to 8.

minUniquePasswords Integer

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

mustContainDigits Boolean

If the password must contain digits. Defaults to true.

mustContainLowercase Boolean

If the password must contain lower case characters. Defaults to true.

mustContainSpecialChars Boolean

If the password must contain special characters. Defaults to true.

mustContainUppercase Boolean

If the password must contain upper case characters. Defaults to true.

rememberMfa Boolean

If MFA should be remembered on the browser. Defaults to true.

requireMfa Boolean

If MFA should be required to log in. Defaults to false.

accountLockoutDurationInMins number

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

accountLockoutThreshold number

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failedLoginResetDurationInMins number

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

maxLength number

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

maxPasswordAgeInDays number

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

minLength number

The minimum length of the password. Defaults to 8.

minUniquePasswords number

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

mustContainDigits boolean

If the password must contain digits. Defaults to true.

mustContainLowercase boolean

If the password must contain lower case characters. Defaults to true.

mustContainSpecialChars boolean

If the password must contain special characters. Defaults to true.

mustContainUppercase boolean

If the password must contain upper case characters. Defaults to true.

rememberMfa boolean

If MFA should be remembered on the browser. Defaults to true.

requireMfa boolean

If MFA should be required to log in. Defaults to false.

account_lockout_duration_in_mins int

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

account_lockout_threshold int

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failed_login_reset_duration_in_mins int

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

max_length int

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

max_password_age_in_days int

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

min_length int

The minimum length of the password. Defaults to 8.

min_unique_passwords int

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

must_contain_digits bool

If the password must contain digits. Defaults to true.

must_contain_lowercase bool

If the password must contain lower case characters. Defaults to true.

must_contain_special_chars bool

If the password must contain special characters. Defaults to true.

must_contain_uppercase bool

If the password must contain upper case characters. Defaults to true.

remember_mfa bool

If MFA should be remembered on the browser. Defaults to true.

require_mfa bool

If MFA should be required to log in. Defaults to false.

accountLockoutDurationInMins Number

The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.

accountLockoutThreshold Number

Number of failed login attempts allowed before account is locked-out. Defaults to 6.

failedLoginResetDurationInMins Number

The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.

maxLength Number

The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)

maxPasswordAgeInDays Number

Maximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password. Defaults to 365.

minLength Number

The minimum length of the password. Defaults to 8.

minUniquePasswords Number

The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.

mustContainDigits Boolean

If the password must contain digits. Defaults to true.

mustContainLowercase Boolean

If the password must contain lower case characters. Defaults to true.

mustContainSpecialChars Boolean

If the password must contain special characters. Defaults to true.

mustContainUppercase Boolean

If the password must contain upper case characters. Defaults to true.

rememberMfa Boolean

If MFA should be remembered on the browser. Defaults to true.

requireMfa Boolean

If MFA should be required to log in. Defaults to false.

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.