1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. IdentityPasswordPolicyV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.IdentityPasswordPolicyV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const policy1 = new opentelekomcloud.IdentityPasswordPolicyV3("policy1", {
        maximumConsecutiveIdenticalChars: 0,
        minimumPasswordAge: 0,
        minimumPasswordLength: 6,
        numberOfRecentPasswordsDisallowed: 0,
        passwordCharCombination: 3,
        passwordNotUsernameOrInvert: true,
        passwordValidityPeriod: 179,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    policy1 = opentelekomcloud.IdentityPasswordPolicyV3("policy1",
        maximum_consecutive_identical_chars=0,
        minimum_password_age=0,
        minimum_password_length=6,
        number_of_recent_passwords_disallowed=0,
        password_char_combination=3,
        password_not_username_or_invert=True,
        password_validity_period=179)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewIdentityPasswordPolicyV3(ctx, "policy1", &opentelekomcloud.IdentityPasswordPolicyV3Args{
    			MaximumConsecutiveIdenticalChars:  pulumi.Float64(0),
    			MinimumPasswordAge:                pulumi.Float64(0),
    			MinimumPasswordLength:             pulumi.Float64(6),
    			NumberOfRecentPasswordsDisallowed: pulumi.Float64(0),
    			PasswordCharCombination:           pulumi.Float64(3),
    			PasswordNotUsernameOrInvert:       pulumi.Bool(true),
    			PasswordValidityPeriod:            pulumi.Float64(179),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var policy1 = new Opentelekomcloud.IdentityPasswordPolicyV3("policy1", new()
        {
            MaximumConsecutiveIdenticalChars = 0,
            MinimumPasswordAge = 0,
            MinimumPasswordLength = 6,
            NumberOfRecentPasswordsDisallowed = 0,
            PasswordCharCombination = 3,
            PasswordNotUsernameOrInvert = true,
            PasswordValidityPeriod = 179,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.IdentityPasswordPolicyV3;
    import com.pulumi.opentelekomcloud.IdentityPasswordPolicyV3Args;
    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 policy1 = new IdentityPasswordPolicyV3("policy1", IdentityPasswordPolicyV3Args.builder()
                .maximumConsecutiveIdenticalChars(0)
                .minimumPasswordAge(0)
                .minimumPasswordLength(6)
                .numberOfRecentPasswordsDisallowed(0)
                .passwordCharCombination(3)
                .passwordNotUsernameOrInvert(true)
                .passwordValidityPeriod(179)
                .build());
    
        }
    }
    
    resources:
      policy1:
        type: opentelekomcloud:IdentityPasswordPolicyV3
        properties:
          maximumConsecutiveIdenticalChars: 0
          minimumPasswordAge: 0
          minimumPasswordLength: 6
          numberOfRecentPasswordsDisallowed: 0
          passwordCharCombination: 3
          passwordNotUsernameOrInvert: true
          passwordValidityPeriod: 179
    

    Create IdentityPasswordPolicyV3 Resource

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

    Constructor syntax

    new IdentityPasswordPolicyV3(name: string, args?: IdentityPasswordPolicyV3Args, opts?: CustomResourceOptions);
    @overload
    def IdentityPasswordPolicyV3(resource_name: str,
                                 args: Optional[IdentityPasswordPolicyV3Args] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdentityPasswordPolicyV3(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 identity_password_policy_v3_id: Optional[str] = None,
                                 maximum_consecutive_identical_chars: Optional[float] = None,
                                 minimum_password_age: Optional[float] = None,
                                 minimum_password_length: Optional[float] = None,
                                 number_of_recent_passwords_disallowed: Optional[float] = None,
                                 password_char_combination: Optional[float] = None,
                                 password_not_username_or_invert: Optional[bool] = None,
                                 password_validity_period: Optional[float] = None)
    func NewIdentityPasswordPolicyV3(ctx *Context, name string, args *IdentityPasswordPolicyV3Args, opts ...ResourceOption) (*IdentityPasswordPolicyV3, error)
    public IdentityPasswordPolicyV3(string name, IdentityPasswordPolicyV3Args? args = null, CustomResourceOptions? opts = null)
    public IdentityPasswordPolicyV3(String name, IdentityPasswordPolicyV3Args args)
    public IdentityPasswordPolicyV3(String name, IdentityPasswordPolicyV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:IdentityPasswordPolicyV3
    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 IdentityPasswordPolicyV3Args
    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 IdentityPasswordPolicyV3Args
    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 IdentityPasswordPolicyV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentityPasswordPolicyV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentityPasswordPolicyV3Args
    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 identityPasswordPolicyV3Resource = new Opentelekomcloud.IdentityPasswordPolicyV3("identityPasswordPolicyV3Resource", new()
    {
        IdentityPasswordPolicyV3Id = "string",
        MaximumConsecutiveIdenticalChars = 0,
        MinimumPasswordAge = 0,
        MinimumPasswordLength = 0,
        NumberOfRecentPasswordsDisallowed = 0,
        PasswordCharCombination = 0,
        PasswordNotUsernameOrInvert = false,
        PasswordValidityPeriod = 0,
    });
    
    example, err := opentelekomcloud.NewIdentityPasswordPolicyV3(ctx, "identityPasswordPolicyV3Resource", &opentelekomcloud.IdentityPasswordPolicyV3Args{
    	IdentityPasswordPolicyV3Id:        pulumi.String("string"),
    	MaximumConsecutiveIdenticalChars:  pulumi.Float64(0),
    	MinimumPasswordAge:                pulumi.Float64(0),
    	MinimumPasswordLength:             pulumi.Float64(0),
    	NumberOfRecentPasswordsDisallowed: pulumi.Float64(0),
    	PasswordCharCombination:           pulumi.Float64(0),
    	PasswordNotUsernameOrInvert:       pulumi.Bool(false),
    	PasswordValidityPeriod:            pulumi.Float64(0),
    })
    
    var identityPasswordPolicyV3Resource = new IdentityPasswordPolicyV3("identityPasswordPolicyV3Resource", IdentityPasswordPolicyV3Args.builder()
        .identityPasswordPolicyV3Id("string")
        .maximumConsecutiveIdenticalChars(0)
        .minimumPasswordAge(0)
        .minimumPasswordLength(0)
        .numberOfRecentPasswordsDisallowed(0)
        .passwordCharCombination(0)
        .passwordNotUsernameOrInvert(false)
        .passwordValidityPeriod(0)
        .build());
    
    identity_password_policy_v3_resource = opentelekomcloud.IdentityPasswordPolicyV3("identityPasswordPolicyV3Resource",
        identity_password_policy_v3_id="string",
        maximum_consecutive_identical_chars=0,
        minimum_password_age=0,
        minimum_password_length=0,
        number_of_recent_passwords_disallowed=0,
        password_char_combination=0,
        password_not_username_or_invert=False,
        password_validity_period=0)
    
    const identityPasswordPolicyV3Resource = new opentelekomcloud.IdentityPasswordPolicyV3("identityPasswordPolicyV3Resource", {
        identityPasswordPolicyV3Id: "string",
        maximumConsecutiveIdenticalChars: 0,
        minimumPasswordAge: 0,
        minimumPasswordLength: 0,
        numberOfRecentPasswordsDisallowed: 0,
        passwordCharCombination: 0,
        passwordNotUsernameOrInvert: false,
        passwordValidityPeriod: 0,
    });
    
    type: opentelekomcloud:IdentityPasswordPolicyV3
    properties:
        identityPasswordPolicyV3Id: string
        maximumConsecutiveIdenticalChars: 0
        minimumPasswordAge: 0
        minimumPasswordLength: 0
        numberOfRecentPasswordsDisallowed: 0
        passwordCharCombination: 0
        passwordNotUsernameOrInvert: false
        passwordValidityPeriod: 0
    

    IdentityPasswordPolicyV3 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 IdentityPasswordPolicyV3 resource accepts the following input properties:

    IdentityPasswordPolicyV3Id string
    The ID of account password policy, which is the same as the domain ID.
    MaximumConsecutiveIdenticalChars double
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    MinimumPasswordAge double
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    MinimumPasswordLength double
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    NumberOfRecentPasswordsDisallowed double
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    PasswordCharCombination double
    Minimum number of character types that a password must contain. Value range: 2-4.
    PasswordNotUsernameOrInvert bool
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    PasswordValidityPeriod double
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    IdentityPasswordPolicyV3Id string
    The ID of account password policy, which is the same as the domain ID.
    MaximumConsecutiveIdenticalChars float64
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    MinimumPasswordAge float64
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    MinimumPasswordLength float64
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    NumberOfRecentPasswordsDisallowed float64
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    PasswordCharCombination float64
    Minimum number of character types that a password must contain. Value range: 2-4.
    PasswordNotUsernameOrInvert bool
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    PasswordValidityPeriod float64
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identityPasswordPolicyV3Id String
    The ID of account password policy, which is the same as the domain ID.
    maximumConsecutiveIdenticalChars Double
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    minimumPasswordAge Double
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimumPasswordLength Double
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    numberOfRecentPasswordsDisallowed Double
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    passwordCharCombination Double
    Minimum number of character types that a password must contain. Value range: 2-4.
    passwordNotUsernameOrInvert Boolean
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    passwordValidityPeriod Double
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identityPasswordPolicyV3Id string
    The ID of account password policy, which is the same as the domain ID.
    maximumConsecutiveIdenticalChars number
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    minimumPasswordAge number
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimumPasswordLength number
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    numberOfRecentPasswordsDisallowed number
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    passwordCharCombination number
    Minimum number of character types that a password must contain. Value range: 2-4.
    passwordNotUsernameOrInvert boolean
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    passwordValidityPeriod number
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identity_password_policy_v3_id str
    The ID of account password policy, which is the same as the domain ID.
    maximum_consecutive_identical_chars float
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    minimum_password_age float
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimum_password_length float
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    number_of_recent_passwords_disallowed float
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    password_char_combination float
    Minimum number of character types that a password must contain. Value range: 2-4.
    password_not_username_or_invert bool
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    password_validity_period float
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identityPasswordPolicyV3Id String
    The ID of account password policy, which is the same as the domain ID.
    maximumConsecutiveIdenticalChars Number
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    minimumPasswordAge Number
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimumPasswordLength Number
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    numberOfRecentPasswordsDisallowed Number
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    passwordCharCombination Number
    Minimum number of character types that a password must contain. Value range: 2-4.
    passwordNotUsernameOrInvert Boolean
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    passwordValidityPeriod Number
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    MaximumPasswordLength double
    The maximum number of characters that a password can contain.
    PasswordRequirements string
    Id string
    The provider-assigned unique ID for this managed resource.
    MaximumPasswordLength float64
    The maximum number of characters that a password can contain.
    PasswordRequirements string
    id String
    The provider-assigned unique ID for this managed resource.
    maximumPasswordLength Double
    The maximum number of characters that a password can contain.
    passwordRequirements String
    id string
    The provider-assigned unique ID for this managed resource.
    maximumPasswordLength number
    The maximum number of characters that a password can contain.
    passwordRequirements string
    id str
    The provider-assigned unique ID for this managed resource.
    maximum_password_length float
    The maximum number of characters that a password can contain.
    password_requirements str
    id String
    The provider-assigned unique ID for this managed resource.
    maximumPasswordLength Number
    The maximum number of characters that a password can contain.
    passwordRequirements String

    Look up Existing IdentityPasswordPolicyV3 Resource

    Get an existing IdentityPasswordPolicyV3 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?: IdentityPasswordPolicyV3State, opts?: CustomResourceOptions): IdentityPasswordPolicyV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            identity_password_policy_v3_id: Optional[str] = None,
            maximum_consecutive_identical_chars: Optional[float] = None,
            maximum_password_length: Optional[float] = None,
            minimum_password_age: Optional[float] = None,
            minimum_password_length: Optional[float] = None,
            number_of_recent_passwords_disallowed: Optional[float] = None,
            password_char_combination: Optional[float] = None,
            password_not_username_or_invert: Optional[bool] = None,
            password_requirements: Optional[str] = None,
            password_validity_period: Optional[float] = None) -> IdentityPasswordPolicyV3
    func GetIdentityPasswordPolicyV3(ctx *Context, name string, id IDInput, state *IdentityPasswordPolicyV3State, opts ...ResourceOption) (*IdentityPasswordPolicyV3, error)
    public static IdentityPasswordPolicyV3 Get(string name, Input<string> id, IdentityPasswordPolicyV3State? state, CustomResourceOptions? opts = null)
    public static IdentityPasswordPolicyV3 get(String name, Output<String> id, IdentityPasswordPolicyV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:IdentityPasswordPolicyV3    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:
    IdentityPasswordPolicyV3Id string
    The ID of account password policy, which is the same as the domain ID.
    MaximumConsecutiveIdenticalChars double
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    MaximumPasswordLength double
    The maximum number of characters that a password can contain.
    MinimumPasswordAge double
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    MinimumPasswordLength double
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    NumberOfRecentPasswordsDisallowed double
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    PasswordCharCombination double
    Minimum number of character types that a password must contain. Value range: 2-4.
    PasswordNotUsernameOrInvert bool
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    PasswordRequirements string
    PasswordValidityPeriod double
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    IdentityPasswordPolicyV3Id string
    The ID of account password policy, which is the same as the domain ID.
    MaximumConsecutiveIdenticalChars float64
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    MaximumPasswordLength float64
    The maximum number of characters that a password can contain.
    MinimumPasswordAge float64
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    MinimumPasswordLength float64
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    NumberOfRecentPasswordsDisallowed float64
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    PasswordCharCombination float64
    Minimum number of character types that a password must contain. Value range: 2-4.
    PasswordNotUsernameOrInvert bool
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    PasswordRequirements string
    PasswordValidityPeriod float64
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identityPasswordPolicyV3Id String
    The ID of account password policy, which is the same as the domain ID.
    maximumConsecutiveIdenticalChars Double
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    maximumPasswordLength Double
    The maximum number of characters that a password can contain.
    minimumPasswordAge Double
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimumPasswordLength Double
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    numberOfRecentPasswordsDisallowed Double
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    passwordCharCombination Double
    Minimum number of character types that a password must contain. Value range: 2-4.
    passwordNotUsernameOrInvert Boolean
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    passwordRequirements String
    passwordValidityPeriod Double
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identityPasswordPolicyV3Id string
    The ID of account password policy, which is the same as the domain ID.
    maximumConsecutiveIdenticalChars number
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    maximumPasswordLength number
    The maximum number of characters that a password can contain.
    minimumPasswordAge number
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimumPasswordLength number
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    numberOfRecentPasswordsDisallowed number
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    passwordCharCombination number
    Minimum number of character types that a password must contain. Value range: 2-4.
    passwordNotUsernameOrInvert boolean
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    passwordRequirements string
    passwordValidityPeriod number
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identity_password_policy_v3_id str
    The ID of account password policy, which is the same as the domain ID.
    maximum_consecutive_identical_chars float
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    maximum_password_length float
    The maximum number of characters that a password can contain.
    minimum_password_age float
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimum_password_length float
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    number_of_recent_passwords_disallowed float
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    password_char_combination float
    Minimum number of character types that a password must contain. Value range: 2-4.
    password_not_username_or_invert bool
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    password_requirements str
    password_validity_period float
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.
    identityPasswordPolicyV3Id String
    The ID of account password policy, which is the same as the domain ID.
    maximumConsecutiveIdenticalChars Number
    Maximum number of times that a character is allowed to consecutively present in a password. Value range: 0-32.
    maximumPasswordLength Number
    The maximum number of characters that a password can contain.
    minimumPasswordAge Number
    Minimum period (minutes) after which users are allowed to make a password change. Value range: 0-1440.
    minimumPasswordLength Number
    Minimum number of characters that a password must contain. Value range: 6-32. Default: 8.
    numberOfRecentPasswordsDisallowed Number
    Number of previously used passwords that are not allowed. Value range: 0-10. Default: 1.
    passwordCharCombination Number
    Minimum number of character types that a password must contain. Value range: 2-4.
    passwordNotUsernameOrInvert Boolean
    Indicates whether the password can be the username or the username spelled backwards. Default: true.
    passwordRequirements String
    passwordValidityPeriod Number
    Password validity period (days). Value range: 0-180. Value 0 indicates that this requirement does not apply.

    Import

    Identity password policy can be imported using the account ID or domain ID, e.g.

    bash

    $ pulumi import opentelekomcloud:index/identityPasswordPolicyV3:IdentityPasswordPolicyV3 example <ID>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud