1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. PasswordPolicy
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.PasswordPolicy

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

    You can learn more about managing password policy in Palette by reviewing the Password Policy guide.

    The password_policy resource enforces a password compliance policy. By default, a password policy is configured in Palette with default values. Users can update the password compliance settings as per their requirements. When a spectrocloud.PasswordPolicy resource is destroyed, the password policy will revert to the Palette default settings.

    Example Usage

    An example of managing an password policy in Palette.

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const policyRegex = new spectrocloud.PasswordPolicy("policyRegex", {
        firstReminderDays: 5,
        minDigits: 1,
        minLowercaseLetters: 12,
        minPasswordLength: 12,
        minSpecialCharacters: 1,
        minUppercaseLetters: 1,
        passwordExpiryDays: 123,
    });
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    policy_regex = spectrocloud.PasswordPolicy("policyRegex",
        first_reminder_days=5,
        min_digits=1,
        min_lowercase_letters=12,
        min_password_length=12,
        min_special_characters=1,
        min_uppercase_letters=1,
        password_expiry_days=123)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := spectrocloud.NewPasswordPolicy(ctx, "policyRegex", &spectrocloud.PasswordPolicyArgs{
    			FirstReminderDays:    pulumi.Float64(5),
    			MinDigits:            pulumi.Float64(1),
    			MinLowercaseLetters:  pulumi.Float64(12),
    			MinPasswordLength:    pulumi.Float64(12),
    			MinSpecialCharacters: pulumi.Float64(1),
    			MinUppercaseLetters:  pulumi.Float64(1),
    			PasswordExpiryDays:   pulumi.Float64(123),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var policyRegex = new Spectrocloud.PasswordPolicy("policyRegex", new()
        {
            FirstReminderDays = 5,
            MinDigits = 1,
            MinLowercaseLetters = 12,
            MinPasswordLength = 12,
            MinSpecialCharacters = 1,
            MinUppercaseLetters = 1,
            PasswordExpiryDays = 123,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.PasswordPolicy;
    import com.pulumi.spectrocloud.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 policyRegex = new PasswordPolicy("policyRegex", PasswordPolicyArgs.builder()
                .firstReminderDays(5)
                .minDigits(1)
                .minLowercaseLetters(12)
                .minPasswordLength(12)
                .minSpecialCharacters(1)
                .minUppercaseLetters(1)
                .passwordExpiryDays(123)
                .build());
    
        }
    }
    
    resources:
      policyRegex:
        type: spectrocloud:PasswordPolicy
        properties:
          firstReminderDays: 5
          minDigits: 1
          minLowercaseLetters: 12
          minPasswordLength: 12
          minSpecialCharacters: 1
          minUppercaseLetters: 1
          # password_regex    = "*"
          passwordExpiryDays: 123
    

    Create PasswordPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PasswordPolicy(name: string, args?: PasswordPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def PasswordPolicy(resource_name: str,
                       args: Optional[PasswordPolicyArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def PasswordPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       first_reminder_days: Optional[float] = None,
                       min_digits: Optional[float] = None,
                       min_lowercase_letters: Optional[float] = None,
                       min_password_length: Optional[float] = None,
                       min_special_characters: Optional[float] = None,
                       min_uppercase_letters: Optional[float] = None,
                       password_expiry_days: Optional[float] = None,
                       password_policy_id: Optional[str] = None,
                       password_regex: Optional[str] = None,
                       timeouts: Optional[PasswordPolicyTimeoutsArgs] = 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: spectrocloud:PasswordPolicy
    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 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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var passwordPolicyResource = new Spectrocloud.PasswordPolicy("passwordPolicyResource", new()
    {
        FirstReminderDays = 0,
        MinDigits = 0,
        MinLowercaseLetters = 0,
        MinPasswordLength = 0,
        MinSpecialCharacters = 0,
        MinUppercaseLetters = 0,
        PasswordExpiryDays = 0,
        PasswordPolicyId = "string",
        PasswordRegex = "string",
        Timeouts = new Spectrocloud.Inputs.PasswordPolicyTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := spectrocloud.NewPasswordPolicy(ctx, "passwordPolicyResource", &spectrocloud.PasswordPolicyArgs{
    	FirstReminderDays:    pulumi.Float64(0),
    	MinDigits:            pulumi.Float64(0),
    	MinLowercaseLetters:  pulumi.Float64(0),
    	MinPasswordLength:    pulumi.Float64(0),
    	MinSpecialCharacters: pulumi.Float64(0),
    	MinUppercaseLetters:  pulumi.Float64(0),
    	PasswordExpiryDays:   pulumi.Float64(0),
    	PasswordPolicyId:     pulumi.String("string"),
    	PasswordRegex:        pulumi.String("string"),
    	Timeouts: &spectrocloud.PasswordPolicyTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var passwordPolicyResource = new PasswordPolicy("passwordPolicyResource", PasswordPolicyArgs.builder()
        .firstReminderDays(0)
        .minDigits(0)
        .minLowercaseLetters(0)
        .minPasswordLength(0)
        .minSpecialCharacters(0)
        .minUppercaseLetters(0)
        .passwordExpiryDays(0)
        .passwordPolicyId("string")
        .passwordRegex("string")
        .timeouts(PasswordPolicyTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    password_policy_resource = spectrocloud.PasswordPolicy("passwordPolicyResource",
        first_reminder_days=0,
        min_digits=0,
        min_lowercase_letters=0,
        min_password_length=0,
        min_special_characters=0,
        min_uppercase_letters=0,
        password_expiry_days=0,
        password_policy_id="string",
        password_regex="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const passwordPolicyResource = new spectrocloud.PasswordPolicy("passwordPolicyResource", {
        firstReminderDays: 0,
        minDigits: 0,
        minLowercaseLetters: 0,
        minPasswordLength: 0,
        minSpecialCharacters: 0,
        minUppercaseLetters: 0,
        passwordExpiryDays: 0,
        passwordPolicyId: "string",
        passwordRegex: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: spectrocloud:PasswordPolicy
    properties:
        firstReminderDays: 0
        minDigits: 0
        minLowercaseLetters: 0
        minPasswordLength: 0
        minSpecialCharacters: 0
        minUppercaseLetters: 0
        passwordExpiryDays: 0
        passwordPolicyId: string
        passwordRegex: string
        timeouts:
            create: string
            delete: string
            update: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PasswordPolicy resource accepts the following input properties:

    FirstReminderDays double
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    MinDigits double
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    MinLowercaseLetters double
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    MinPasswordLength double
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    MinSpecialCharacters double
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    MinUppercaseLetters double
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    PasswordExpiryDays double
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    PasswordPolicyId string
    The ID of this resource.
    PasswordRegex string
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    Timeouts PasswordPolicyTimeouts
    FirstReminderDays float64
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    MinDigits float64
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    MinLowercaseLetters float64
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    MinPasswordLength float64
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    MinSpecialCharacters float64
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    MinUppercaseLetters float64
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    PasswordExpiryDays float64
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    PasswordPolicyId string
    The ID of this resource.
    PasswordRegex string
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    Timeouts PasswordPolicyTimeoutsArgs
    firstReminderDays Double
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    minDigits Double
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    minLowercaseLetters Double
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    minPasswordLength Double
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    minSpecialCharacters Double
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    minUppercaseLetters Double
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    passwordExpiryDays Double
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    passwordPolicyId String
    The ID of this resource.
    passwordRegex String
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts PasswordPolicyTimeouts
    firstReminderDays number
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    minDigits number
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    minLowercaseLetters number
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    minPasswordLength number
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    minSpecialCharacters number
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    minUppercaseLetters number
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    passwordExpiryDays number
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    passwordPolicyId string
    The ID of this resource.
    passwordRegex string
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts PasswordPolicyTimeouts
    first_reminder_days float
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    min_digits float
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    min_lowercase_letters float
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    min_password_length float
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    min_special_characters float
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    min_uppercase_letters float
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    password_expiry_days float
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    password_policy_id str
    The ID of this resource.
    password_regex str
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts PasswordPolicyTimeoutsArgs
    firstReminderDays Number
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    minDigits Number
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    minLowercaseLetters Number
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    minPasswordLength Number
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    minSpecialCharacters Number
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    minUppercaseLetters Number
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    passwordExpiryDays Number
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    passwordPolicyId String
    The ID of this resource.
    passwordRegex String
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts Property Map

    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,
            first_reminder_days: Optional[float] = None,
            min_digits: Optional[float] = None,
            min_lowercase_letters: Optional[float] = None,
            min_password_length: Optional[float] = None,
            min_special_characters: Optional[float] = None,
            min_uppercase_letters: Optional[float] = None,
            password_expiry_days: Optional[float] = None,
            password_policy_id: Optional[str] = None,
            password_regex: Optional[str] = None,
            timeouts: Optional[PasswordPolicyTimeoutsArgs] = 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)
    resources:  _:    type: spectrocloud:PasswordPolicy    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.
    The following state arguments are supported:
    FirstReminderDays double
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    MinDigits double
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    MinLowercaseLetters double
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    MinPasswordLength double
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    MinSpecialCharacters double
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    MinUppercaseLetters double
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    PasswordExpiryDays double
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    PasswordPolicyId string
    The ID of this resource.
    PasswordRegex string
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    Timeouts PasswordPolicyTimeouts
    FirstReminderDays float64
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    MinDigits float64
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    MinLowercaseLetters float64
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    MinPasswordLength float64
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    MinSpecialCharacters float64
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    MinUppercaseLetters float64
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    PasswordExpiryDays float64
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    PasswordPolicyId string
    The ID of this resource.
    PasswordRegex string
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    Timeouts PasswordPolicyTimeoutsArgs
    firstReminderDays Double
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    minDigits Double
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    minLowercaseLetters Double
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    minPasswordLength Double
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    minSpecialCharacters Double
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    minUppercaseLetters Double
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    passwordExpiryDays Double
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    passwordPolicyId String
    The ID of this resource.
    passwordRegex String
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts PasswordPolicyTimeouts
    firstReminderDays number
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    minDigits number
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    minLowercaseLetters number
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    minPasswordLength number
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    minSpecialCharacters number
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    minUppercaseLetters number
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    passwordExpiryDays number
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    passwordPolicyId string
    The ID of this resource.
    passwordRegex string
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts PasswordPolicyTimeouts
    first_reminder_days float
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    min_digits float
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    min_lowercase_letters float
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    min_password_length float
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    min_special_characters float
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    min_uppercase_letters float
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    password_expiry_days float
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    password_policy_id str
    The ID of this resource.
    password_regex str
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts PasswordPolicyTimeoutsArgs
    firstReminderDays Number
    The number of days before the password expiry to send the first reminder to the user. Default is 5 days before expiry.
    minDigits Number
    The minimum number of numeric digits (0-9) required in the password. Ensures that passwords contain numerical characters. Minimum length of digit should be 1.
    minLowercaseLetters Number
    The minimum number of lowercase letters (a-z) required in the password. Ensures that lowercase characters are included for password complexity. Minimum length of lower case should be 1.
    minPasswordLength Number
    The minimum length required for the password. Enforces a stronger password policy by ensuring a minimum number of characters. Default minimum length is 6.
    minSpecialCharacters Number
    The minimum number of special characters (e.g., !, @, #, $, %) required in the password. This increases the password's security level by including symbols. Minimum special characters should be 1.
    minUppercaseLetters Number
    The minimum number of uppercase letters (A-Z) required in the password. Helps ensure password complexity with a mix of case-sensitive characters. Minimum length of upper case should be 1.
    passwordExpiryDays Number
    The number of days before the password expires. Must be between 1 and 1000 days. Defines how often passwords must be changed. Default is 999 days for expiry.
    passwordPolicyId String
    The ID of this resource.
    passwordRegex String
    A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
    timeouts Property Map

    Supporting Types

    PasswordPolicyTimeouts, PasswordPolicyTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    spectrocloud spectrocloud/terraform-provider-spectrocloud
    License
    Notes
    This Pulumi package is based on the spectrocloud Terraform Provider.
    spectrocloud logo
    spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud