spectrocloud.PasswordPolicy
Explore with Pulumi AI
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:
- First
Reminder doubleDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - Min
Digits 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
. - Min
Lowercase doubleLetters - 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 doubleLength - 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 doubleCharacters - 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 doubleLetters - 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 doubleDays - 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 stringId - The ID of this resource.
- Password
Regex string - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- Timeouts
Password
Policy Timeouts
- First
Reminder float64Days - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - Min
Digits 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
. - Min
Lowercase float64Letters - 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 float64Length - 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 float64Characters - 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 float64Letters - 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 float64Days - 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 stringId - The ID of this resource.
- Password
Regex string - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- Timeouts
Password
Policy Timeouts Args
- first
Reminder DoubleDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - min
Digits 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
. - min
Lowercase DoubleLetters - 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 DoubleLength - 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 DoubleCharacters - 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 DoubleLetters - 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 DoubleDays - 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 StringId - The ID of this resource.
- password
Regex String - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- timeouts
Password
Policy Timeouts
- first
Reminder numberDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - min
Digits 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
. - min
Lowercase numberLetters - 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 numberLength - 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 numberCharacters - 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 numberLetters - 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 numberDays - 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 stringId - The ID of this resource.
- password
Regex string - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- timeouts
Password
Policy Timeouts
- first_
reminder_ floatdays - 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_ floatletters - 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_ floatlength - 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_ floatcharacters - 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_ floatletters - 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_ floatdays - 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_ strid - 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
Password
Policy Timeouts Args
- first
Reminder NumberDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - min
Digits 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
. - min
Lowercase NumberLetters - 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 NumberLength - 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 NumberCharacters - 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 NumberLetters - 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 NumberDays - 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 StringId - The ID of this resource.
- password
Regex 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.
- First
Reminder doubleDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - Min
Digits 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
. - Min
Lowercase doubleLetters - 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 doubleLength - 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 doubleCharacters - 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 doubleLetters - 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 doubleDays - 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 stringId - The ID of this resource.
- Password
Regex string - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- Timeouts
Password
Policy Timeouts
- First
Reminder float64Days - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - Min
Digits 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
. - Min
Lowercase float64Letters - 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 float64Length - 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 float64Characters - 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 float64Letters - 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 float64Days - 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 stringId - The ID of this resource.
- Password
Regex string - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- Timeouts
Password
Policy Timeouts Args
- first
Reminder DoubleDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - min
Digits 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
. - min
Lowercase DoubleLetters - 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 DoubleLength - 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 DoubleCharacters - 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 DoubleLetters - 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 DoubleDays - 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 StringId - The ID of this resource.
- password
Regex String - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- timeouts
Password
Policy Timeouts
- first
Reminder numberDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - min
Digits 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
. - min
Lowercase numberLetters - 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 numberLength - 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 numberCharacters - 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 numberLetters - 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 numberDays - 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 stringId - The ID of this resource.
- password
Regex string - A regular expression (regex) to define custom password patterns, such as enforcing specific characters or sequences in the password.
- timeouts
Password
Policy Timeouts
- first_
reminder_ floatdays - 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_ floatletters - 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_ floatlength - 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_ floatcharacters - 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_ floatletters - 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_ floatdays - 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_ strid - 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
Password
Policy Timeouts Args
- first
Reminder NumberDays - The number of days before the password expiry to send the first reminder to the user. Default is
5
days before expiry. - min
Digits 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
. - min
Lowercase NumberLetters - 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 NumberLength - 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 NumberCharacters - 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 NumberLetters - 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 NumberDays - 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 StringId - The ID of this resource.
- password
Regex 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
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.