1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectUserPasswordpolicy
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectUserPasswordpolicy

Explore with Pulumi AI

Configure user password policy.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectUserPasswordpolicy("trname", {
    expireDays: 180,
    expiredPasswordRenewal: "disable",
    warnDays: 15,
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectUserPasswordpolicy("trname",
    expire_days=180,
    expired_password_renewal="disable",
    warn_days=15)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectUserPasswordpolicy(ctx, "trname", &fortimanager.ObjectUserPasswordpolicyArgs{
			ExpireDays:             pulumi.Float64(180),
			ExpiredPasswordRenewal: pulumi.String("disable"),
			WarnDays:               pulumi.Float64(15),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectUserPasswordpolicy("trname", new()
    {
        ExpireDays = 180,
        ExpiredPasswordRenewal = "disable",
        WarnDays = 15,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectUserPasswordpolicy;
import com.pulumi.fortimanager.ObjectUserPasswordpolicyArgs;
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 trname = new ObjectUserPasswordpolicy("trname", ObjectUserPasswordpolicyArgs.builder()
            .expireDays(180)
            .expiredPasswordRenewal("disable")
            .warnDays(15)
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectUserPasswordpolicy
    properties:
      expireDays: 180
      expiredPasswordRenewal: disable
      warnDays: 15
Copy

Create ObjectUserPasswordpolicy Resource

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

Constructor syntax

new ObjectUserPasswordpolicy(name: string, args?: ObjectUserPasswordpolicyArgs, opts?: CustomResourceOptions);
@overload
def ObjectUserPasswordpolicy(resource_name: str,
                             args: Optional[ObjectUserPasswordpolicyArgs] = None,
                             opts: Optional[ResourceOptions] = None)

@overload
def ObjectUserPasswordpolicy(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             adom: Optional[str] = None,
                             expire_days: Optional[float] = None,
                             expire_status: Optional[str] = None,
                             expired_password_renewal: Optional[str] = None,
                             min_change_characters: Optional[float] = None,
                             min_lower_case_letter: Optional[float] = None,
                             min_non_alphanumeric: Optional[float] = None,
                             min_number: Optional[float] = None,
                             min_upper_case_letter: Optional[float] = None,
                             minimum_length: Optional[float] = None,
                             name: Optional[str] = None,
                             object_user_passwordpolicy_id: Optional[str] = None,
                             reuse_password: Optional[str] = None,
                             reuse_password_limit: Optional[float] = None,
                             scopetype: Optional[str] = None,
                             warn_days: Optional[float] = None)
func NewObjectUserPasswordpolicy(ctx *Context, name string, args *ObjectUserPasswordpolicyArgs, opts ...ResourceOption) (*ObjectUserPasswordpolicy, error)
public ObjectUserPasswordpolicy(string name, ObjectUserPasswordpolicyArgs? args = null, CustomResourceOptions? opts = null)
public ObjectUserPasswordpolicy(String name, ObjectUserPasswordpolicyArgs args)
public ObjectUserPasswordpolicy(String name, ObjectUserPasswordpolicyArgs args, CustomResourceOptions options)
type: fortimanager:ObjectUserPasswordpolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ObjectUserPasswordpolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ObjectUserPasswordpolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ObjectUserPasswordpolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ObjectUserPasswordpolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectUserPasswordpolicyArgs
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 objectUserPasswordpolicyResource = new Fortimanager.ObjectUserPasswordpolicy("objectUserPasswordpolicyResource", new()
{
    Adom = "string",
    ExpireDays = 0,
    ExpireStatus = "string",
    ExpiredPasswordRenewal = "string",
    MinChangeCharacters = 0,
    MinLowerCaseLetter = 0,
    MinNonAlphanumeric = 0,
    MinNumber = 0,
    MinUpperCaseLetter = 0,
    MinimumLength = 0,
    Name = "string",
    ObjectUserPasswordpolicyId = "string",
    ReusePassword = "string",
    ReusePasswordLimit = 0,
    Scopetype = "string",
    WarnDays = 0,
});
Copy
example, err := fortimanager.NewObjectUserPasswordpolicy(ctx, "objectUserPasswordpolicyResource", &fortimanager.ObjectUserPasswordpolicyArgs{
Adom: pulumi.String("string"),
ExpireDays: pulumi.Float64(0),
ExpireStatus: pulumi.String("string"),
ExpiredPasswordRenewal: pulumi.String("string"),
MinChangeCharacters: pulumi.Float64(0),
MinLowerCaseLetter: pulumi.Float64(0),
MinNonAlphanumeric: pulumi.Float64(0),
MinNumber: pulumi.Float64(0),
MinUpperCaseLetter: pulumi.Float64(0),
MinimumLength: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectUserPasswordpolicyId: pulumi.String("string"),
ReusePassword: pulumi.String("string"),
ReusePasswordLimit: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
WarnDays: pulumi.Float64(0),
})
Copy
var objectUserPasswordpolicyResource = new ObjectUserPasswordpolicy("objectUserPasswordpolicyResource", ObjectUserPasswordpolicyArgs.builder()
    .adom("string")
    .expireDays(0)
    .expireStatus("string")
    .expiredPasswordRenewal("string")
    .minChangeCharacters(0)
    .minLowerCaseLetter(0)
    .minNonAlphanumeric(0)
    .minNumber(0)
    .minUpperCaseLetter(0)
    .minimumLength(0)
    .name("string")
    .objectUserPasswordpolicyId("string")
    .reusePassword("string")
    .reusePasswordLimit(0)
    .scopetype("string")
    .warnDays(0)
    .build());
Copy
object_user_passwordpolicy_resource = fortimanager.ObjectUserPasswordpolicy("objectUserPasswordpolicyResource",
    adom="string",
    expire_days=0,
    expire_status="string",
    expired_password_renewal="string",
    min_change_characters=0,
    min_lower_case_letter=0,
    min_non_alphanumeric=0,
    min_number=0,
    min_upper_case_letter=0,
    minimum_length=0,
    name="string",
    object_user_passwordpolicy_id="string",
    reuse_password="string",
    reuse_password_limit=0,
    scopetype="string",
    warn_days=0)
Copy
const objectUserPasswordpolicyResource = new fortimanager.ObjectUserPasswordpolicy("objectUserPasswordpolicyResource", {
    adom: "string",
    expireDays: 0,
    expireStatus: "string",
    expiredPasswordRenewal: "string",
    minChangeCharacters: 0,
    minLowerCaseLetter: 0,
    minNonAlphanumeric: 0,
    minNumber: 0,
    minUpperCaseLetter: 0,
    minimumLength: 0,
    name: "string",
    objectUserPasswordpolicyId: "string",
    reusePassword: "string",
    reusePasswordLimit: 0,
    scopetype: "string",
    warnDays: 0,
});
Copy
type: fortimanager:ObjectUserPasswordpolicy
properties:
    adom: string
    expireDays: 0
    expireStatus: string
    expiredPasswordRenewal: string
    minChangeCharacters: 0
    minLowerCaseLetter: 0
    minNonAlphanumeric: 0
    minNumber: 0
    minUpperCaseLetter: 0
    minimumLength: 0
    name: string
    objectUserPasswordpolicyId: string
    reusePassword: string
    reusePasswordLimit: 0
    scopetype: string
    warnDays: 0
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExpireDays double
Time in days before the user's password expires.
ExpireStatus string
Enable/disable password expiration. Valid values: disable, enable.
ExpiredPasswordRenewal string
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
MinChangeCharacters double
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter double
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric double
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber double
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter double
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength double
Minimum password length (8 - 128, default = 8).
Name string
Password policy name.
ObjectUserPasswordpolicyId string
an identifier for the resource with format {{name}}.
ReusePassword string
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
ReusePasswordLimit double
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
WarnDays double
Time in days before a password expiration warning message is displayed to the user upon login.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExpireDays float64
Time in days before the user's password expires.
ExpireStatus string
Enable/disable password expiration. Valid values: disable, enable.
ExpiredPasswordRenewal string
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
MinChangeCharacters float64
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter float64
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric float64
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber float64
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter float64
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength float64
Minimum password length (8 - 128, default = 8).
Name string
Password policy name.
ObjectUserPasswordpolicyId string
an identifier for the resource with format {{name}}.
ReusePassword string
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
ReusePasswordLimit float64
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
WarnDays float64
Time in days before a password expiration warning message is displayed to the user upon login.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expireDays Double
Time in days before the user's password expires.
expireStatus String
Enable/disable password expiration. Valid values: disable, enable.
expiredPasswordRenewal String
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
minChangeCharacters Double
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Double
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Double
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Double
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Double
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Double
Minimum password length (8 - 128, default = 8).
name String
Password policy name.
objectUserPasswordpolicyId String
an identifier for the resource with format {{name}}.
reusePassword String
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reusePasswordLimit Double
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warnDays Double
Time in days before a password expiration warning message is displayed to the user upon login.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expireDays number
Time in days before the user's password expires.
expireStatus string
Enable/disable password expiration. Valid values: disable, enable.
expiredPasswordRenewal string
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
minChangeCharacters number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength number
Minimum password length (8 - 128, default = 8).
name string
Password policy name.
objectUserPasswordpolicyId string
an identifier for the resource with format {{name}}.
reusePassword string
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reusePasswordLimit number
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warnDays number
Time in days before a password expiration warning message is displayed to the user upon login.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expire_days float
Time in days before the user's password expires.
expire_status str
Enable/disable password expiration. Valid values: disable, enable.
expired_password_renewal str
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
min_change_characters float
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
min_lower_case_letter float
Minimum number of lowercase characters in password (0 - 128, default = 0).
min_non_alphanumeric float
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
min_number float
Minimum number of numeric characters in password (0 - 128, default = 0).
min_upper_case_letter float
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimum_length float
Minimum password length (8 - 128, default = 8).
name str
Password policy name.
object_user_passwordpolicy_id str
an identifier for the resource with format {{name}}.
reuse_password str
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reuse_password_limit float
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warn_days float
Time in days before a password expiration warning message is displayed to the user upon login.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expireDays Number
Time in days before the user's password expires.
expireStatus String
Enable/disable password expiration. Valid values: disable, enable.
expiredPasswordRenewal String
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
minChangeCharacters Number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Number
Minimum password length (8 - 128, default = 8).
name String
Password policy name.
objectUserPasswordpolicyId String
an identifier for the resource with format {{name}}.
reusePassword String
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reusePasswordLimit Number
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warnDays Number
Time in days before a password expiration warning message is displayed to the user upon login.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectUserPasswordpolicy 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 ObjectUserPasswordpolicy Resource

Get an existing ObjectUserPasswordpolicy 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?: ObjectUserPasswordpolicyState, opts?: CustomResourceOptions): ObjectUserPasswordpolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        expire_days: Optional[float] = None,
        expire_status: Optional[str] = None,
        expired_password_renewal: Optional[str] = None,
        min_change_characters: Optional[float] = None,
        min_lower_case_letter: Optional[float] = None,
        min_non_alphanumeric: Optional[float] = None,
        min_number: Optional[float] = None,
        min_upper_case_letter: Optional[float] = None,
        minimum_length: Optional[float] = None,
        name: Optional[str] = None,
        object_user_passwordpolicy_id: Optional[str] = None,
        reuse_password: Optional[str] = None,
        reuse_password_limit: Optional[float] = None,
        scopetype: Optional[str] = None,
        warn_days: Optional[float] = None) -> ObjectUserPasswordpolicy
func GetObjectUserPasswordpolicy(ctx *Context, name string, id IDInput, state *ObjectUserPasswordpolicyState, opts ...ResourceOption) (*ObjectUserPasswordpolicy, error)
public static ObjectUserPasswordpolicy Get(string name, Input<string> id, ObjectUserPasswordpolicyState? state, CustomResourceOptions? opts = null)
public static ObjectUserPasswordpolicy get(String name, Output<String> id, ObjectUserPasswordpolicyState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectUserPasswordpolicy    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExpireDays double
Time in days before the user's password expires.
ExpireStatus string
Enable/disable password expiration. Valid values: disable, enable.
ExpiredPasswordRenewal string
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
MinChangeCharacters double
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter double
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric double
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber double
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter double
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength double
Minimum password length (8 - 128, default = 8).
Name string
Password policy name.
ObjectUserPasswordpolicyId string
an identifier for the resource with format {{name}}.
ReusePassword string
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
ReusePasswordLimit double
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
WarnDays double
Time in days before a password expiration warning message is displayed to the user upon login.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ExpireDays float64
Time in days before the user's password expires.
ExpireStatus string
Enable/disable password expiration. Valid values: disable, enable.
ExpiredPasswordRenewal string
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
MinChangeCharacters float64
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter float64
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric float64
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber float64
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter float64
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength float64
Minimum password length (8 - 128, default = 8).
Name string
Password policy name.
ObjectUserPasswordpolicyId string
an identifier for the resource with format {{name}}.
ReusePassword string
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
ReusePasswordLimit float64
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
WarnDays float64
Time in days before a password expiration warning message is displayed to the user upon login.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expireDays Double
Time in days before the user's password expires.
expireStatus String
Enable/disable password expiration. Valid values: disable, enable.
expiredPasswordRenewal String
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
minChangeCharacters Double
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Double
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Double
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Double
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Double
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Double
Minimum password length (8 - 128, default = 8).
name String
Password policy name.
objectUserPasswordpolicyId String
an identifier for the resource with format {{name}}.
reusePassword String
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reusePasswordLimit Double
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warnDays Double
Time in days before a password expiration warning message is displayed to the user upon login.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expireDays number
Time in days before the user's password expires.
expireStatus string
Enable/disable password expiration. Valid values: disable, enable.
expiredPasswordRenewal string
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
minChangeCharacters number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength number
Minimum password length (8 - 128, default = 8).
name string
Password policy name.
objectUserPasswordpolicyId string
an identifier for the resource with format {{name}}.
reusePassword string
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reusePasswordLimit number
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warnDays number
Time in days before a password expiration warning message is displayed to the user upon login.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expire_days float
Time in days before the user's password expires.
expire_status str
Enable/disable password expiration. Valid values: disable, enable.
expired_password_renewal str
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
min_change_characters float
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
min_lower_case_letter float
Minimum number of lowercase characters in password (0 - 128, default = 0).
min_non_alphanumeric float
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
min_number float
Minimum number of numeric characters in password (0 - 128, default = 0).
min_upper_case_letter float
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimum_length float
Minimum password length (8 - 128, default = 8).
name str
Password policy name.
object_user_passwordpolicy_id str
an identifier for the resource with format {{name}}.
reuse_password str
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reuse_password_limit float
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warn_days float
Time in days before a password expiration warning message is displayed to the user upon login.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
expireDays Number
Time in days before the user's password expires.
expireStatus String
Enable/disable password expiration. Valid values: disable, enable.
expiredPasswordRenewal String
Enable/disable renewal of a password that already is expired. Valid values: disable, enable.
minChangeCharacters Number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Number
Minimum password length (8 - 128, default = 8).
name String
Password policy name.
objectUserPasswordpolicyId String
an identifier for the resource with format {{name}}.
reusePassword String
Enable/disable reuse of password. If both reuse-password and min-change-characters are enabled, min-change-characters overrides. Valid values: disable, enable.
reusePasswordLimit Number
Number of times passwords can be reused (0 - 20, default = 0. If set to 0, can reuse password an unlimited number of times.).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
warnDays Number
Time in days before a password expiration warning message is displayed to the user upon login.

Import

ObjectUser PasswordPolicy can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectUserPasswordpolicy:ObjectUserPasswordpolicy labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.