fortios.system.Passwordpolicyguestadmin
Explore with Pulumi AI
Configure the password policy for guest administrators.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.system.Passwordpolicyguestadmin("trname", {
applyTo: "guest-admin-password",
change4Characters: "disable",
expireDay: 90,
expireStatus: "disable",
minLowerCaseLetter: 0,
minNonAlphanumeric: 0,
minNumber: 0,
minUpperCaseLetter: 0,
minimumLength: 8,
reusePassword: "enable",
status: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.system.Passwordpolicyguestadmin("trname",
apply_to="guest-admin-password",
change4_characters="disable",
expire_day=90,
expire_status="disable",
min_lower_case_letter=0,
min_non_alphanumeric=0,
min_number=0,
min_upper_case_letter=0,
minimum_length=8,
reuse_password="enable",
status="disable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewPasswordpolicyguestadmin(ctx, "trname", &system.PasswordpolicyguestadminArgs{
ApplyTo: pulumi.String("guest-admin-password"),
Change4Characters: pulumi.String("disable"),
ExpireDay: pulumi.Int(90),
ExpireStatus: pulumi.String("disable"),
MinLowerCaseLetter: pulumi.Int(0),
MinNonAlphanumeric: pulumi.Int(0),
MinNumber: pulumi.Int(0),
MinUpperCaseLetter: pulumi.Int(0),
MinimumLength: pulumi.Int(8),
ReusePassword: pulumi.String("enable"),
Status: pulumi.String("disable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.System.Passwordpolicyguestadmin("trname", new()
{
ApplyTo = "guest-admin-password",
Change4Characters = "disable",
ExpireDay = 90,
ExpireStatus = "disable",
MinLowerCaseLetter = 0,
MinNonAlphanumeric = 0,
MinNumber = 0,
MinUpperCaseLetter = 0,
MinimumLength = 8,
ReusePassword = "enable",
Status = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Passwordpolicyguestadmin;
import com.pulumi.fortios.system.PasswordpolicyguestadminArgs;
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 Passwordpolicyguestadmin("trname", PasswordpolicyguestadminArgs.builder()
.applyTo("guest-admin-password")
.change4Characters("disable")
.expireDay(90)
.expireStatus("disable")
.minLowerCaseLetter(0)
.minNonAlphanumeric(0)
.minNumber(0)
.minUpperCaseLetter(0)
.minimumLength(8)
.reusePassword("enable")
.status("disable")
.build());
}
}
resources:
trname:
type: fortios:system:Passwordpolicyguestadmin
properties:
applyTo: guest-admin-password
change4Characters: disable
expireDay: 90
expireStatus: disable
minLowerCaseLetter: 0
minNonAlphanumeric: 0
minNumber: 0
minUpperCaseLetter: 0
minimumLength: 8
reusePassword: enable
status: disable
Create Passwordpolicyguestadmin Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Passwordpolicyguestadmin(name: string, args?: PasswordpolicyguestadminArgs, opts?: CustomResourceOptions);
@overload
def Passwordpolicyguestadmin(resource_name: str,
args: Optional[PasswordpolicyguestadminArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Passwordpolicyguestadmin(resource_name: str,
opts: Optional[ResourceOptions] = None,
apply_to: Optional[str] = None,
change4_characters: Optional[str] = None,
expire_day: Optional[int] = None,
expire_status: Optional[str] = None,
min_change_characters: Optional[int] = None,
min_lower_case_letter: Optional[int] = None,
min_non_alphanumeric: Optional[int] = None,
min_number: Optional[int] = None,
min_upper_case_letter: Optional[int] = None,
minimum_length: Optional[int] = None,
reuse_password: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewPasswordpolicyguestadmin(ctx *Context, name string, args *PasswordpolicyguestadminArgs, opts ...ResourceOption) (*Passwordpolicyguestadmin, error)
public Passwordpolicyguestadmin(string name, PasswordpolicyguestadminArgs? args = null, CustomResourceOptions? opts = null)
public Passwordpolicyguestadmin(String name, PasswordpolicyguestadminArgs args)
public Passwordpolicyguestadmin(String name, PasswordpolicyguestadminArgs args, CustomResourceOptions options)
type: fortios:system:Passwordpolicyguestadmin
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 PasswordpolicyguestadminArgs
- 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 PasswordpolicyguestadminArgs
- 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 PasswordpolicyguestadminArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PasswordpolicyguestadminArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PasswordpolicyguestadminArgs
- 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 passwordpolicyguestadminResource = new Fortios.System.Passwordpolicyguestadmin("passwordpolicyguestadminResource", new()
{
ApplyTo = "string",
Change4Characters = "string",
ExpireDay = 0,
ExpireStatus = "string",
MinChangeCharacters = 0,
MinLowerCaseLetter = 0,
MinNonAlphanumeric = 0,
MinNumber = 0,
MinUpperCaseLetter = 0,
MinimumLength = 0,
ReusePassword = "string",
Status = "string",
Vdomparam = "string",
});
example, err := system.NewPasswordpolicyguestadmin(ctx, "passwordpolicyguestadminResource", &system.PasswordpolicyguestadminArgs{
ApplyTo: pulumi.String("string"),
Change4Characters: pulumi.String("string"),
ExpireDay: pulumi.Int(0),
ExpireStatus: pulumi.String("string"),
MinChangeCharacters: pulumi.Int(0),
MinLowerCaseLetter: pulumi.Int(0),
MinNonAlphanumeric: pulumi.Int(0),
MinNumber: pulumi.Int(0),
MinUpperCaseLetter: pulumi.Int(0),
MinimumLength: pulumi.Int(0),
ReusePassword: pulumi.String("string"),
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var passwordpolicyguestadminResource = new Passwordpolicyguestadmin("passwordpolicyguestadminResource", PasswordpolicyguestadminArgs.builder()
.applyTo("string")
.change4Characters("string")
.expireDay(0)
.expireStatus("string")
.minChangeCharacters(0)
.minLowerCaseLetter(0)
.minNonAlphanumeric(0)
.minNumber(0)
.minUpperCaseLetter(0)
.minimumLength(0)
.reusePassword("string")
.status("string")
.vdomparam("string")
.build());
passwordpolicyguestadmin_resource = fortios.system.Passwordpolicyguestadmin("passwordpolicyguestadminResource",
apply_to="string",
change4_characters="string",
expire_day=0,
expire_status="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,
reuse_password="string",
status="string",
vdomparam="string")
const passwordpolicyguestadminResource = new fortios.system.Passwordpolicyguestadmin("passwordpolicyguestadminResource", {
applyTo: "string",
change4Characters: "string",
expireDay: 0,
expireStatus: "string",
minChangeCharacters: 0,
minLowerCaseLetter: 0,
minNonAlphanumeric: 0,
minNumber: 0,
minUpperCaseLetter: 0,
minimumLength: 0,
reusePassword: "string",
status: "string",
vdomparam: "string",
});
type: fortios:system:Passwordpolicyguestadmin
properties:
applyTo: string
change4Characters: string
expireDay: 0
expireStatus: string
minChangeCharacters: 0
minLowerCaseLetter: 0
minNonAlphanumeric: 0
minNumber: 0
minUpperCaseLetter: 0
minimumLength: 0
reusePassword: string
status: string
vdomparam: string
Passwordpolicyguestadmin 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 Passwordpolicyguestadmin resource accepts the following input properties:
- Apply
To string - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - Change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - Expire
Day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- Expire
Status string - Enable/disable password expiration. Valid values:
enable
,disable
. - Min
Change intCharacters - 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 intCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- Min
Non intAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- Min
Number int - Minimum number of numeric characters in password (0 - 128, default = 0).
- Min
Upper intCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- Minimum
Length int - Minimum password length (8 - 128, default = 8).
- Reuse
Password string - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - Status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Apply
To string - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - Change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - Expire
Day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- Expire
Status string - Enable/disable password expiration. Valid values:
enable
,disable
. - Min
Change intCharacters - 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 intCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- Min
Non intAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- Min
Number int - Minimum number of numeric characters in password (0 - 128, default = 0).
- Min
Upper intCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- Minimum
Length int - Minimum password length (8 - 128, default = 8).
- Reuse
Password string - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - Status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply
To String - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4Characters String
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire
Day Integer - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status String - Enable/disable password expiration. Valid values:
enable
,disable
. - min
Change IntegerCharacters - 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 IntegerCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min
Non IntegerAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min
Number Integer - Minimum number of numeric characters in password (0 - 128, default = 0).
- min
Upper IntegerCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum
Length Integer - Minimum password length (8 - 128, default = 8).
- reuse
Password String - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status String
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply
To string - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire
Day number - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status string - Enable/disable password expiration. Valid values:
enable
,disable
. - min
Change numberCharacters - 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 numberCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min
Non numberAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min
Number number - Minimum number of numeric characters in password (0 - 128, default = 0).
- min
Upper numberCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum
Length number - Minimum password length (8 - 128, default = 8).
- reuse
Password string - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply_
to str - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4_
characters str - Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire_
day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire_
status str - Enable/disable password expiration. Valid values:
enable
,disable
. - min_
change_ intcharacters - 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_ intcase_ letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min_
non_ intalphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min_
number int - Minimum number of numeric characters in password (0 - 128, default = 0).
- min_
upper_ intcase_ letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum_
length int - Minimum password length (8 - 128, default = 8).
- reuse_
password str - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status str
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply
To String - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4Characters String
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire
Day Number - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status String - Enable/disable password expiration. Valid values:
enable
,disable
. - min
Change NumberCharacters - 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 NumberCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min
Non NumberAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min
Number Number - Minimum number of numeric characters in password (0 - 128, default = 0).
- min
Upper NumberCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum
Length Number - Minimum password length (8 - 128, default = 8).
- reuse
Password String - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status String
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Passwordpolicyguestadmin 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 Passwordpolicyguestadmin Resource
Get an existing Passwordpolicyguestadmin 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?: PasswordpolicyguestadminState, opts?: CustomResourceOptions): Passwordpolicyguestadmin
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apply_to: Optional[str] = None,
change4_characters: Optional[str] = None,
expire_day: Optional[int] = None,
expire_status: Optional[str] = None,
min_change_characters: Optional[int] = None,
min_lower_case_letter: Optional[int] = None,
min_non_alphanumeric: Optional[int] = None,
min_number: Optional[int] = None,
min_upper_case_letter: Optional[int] = None,
minimum_length: Optional[int] = None,
reuse_password: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None) -> Passwordpolicyguestadmin
func GetPasswordpolicyguestadmin(ctx *Context, name string, id IDInput, state *PasswordpolicyguestadminState, opts ...ResourceOption) (*Passwordpolicyguestadmin, error)
public static Passwordpolicyguestadmin Get(string name, Input<string> id, PasswordpolicyguestadminState? state, CustomResourceOptions? opts = null)
public static Passwordpolicyguestadmin get(String name, Output<String> id, PasswordpolicyguestadminState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Apply
To string - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - Change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - Expire
Day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- Expire
Status string - Enable/disable password expiration. Valid values:
enable
,disable
. - Min
Change intCharacters - 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 intCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- Min
Non intAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- Min
Number int - Minimum number of numeric characters in password (0 - 128, default = 0).
- Min
Upper intCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- Minimum
Length int - Minimum password length (8 - 128, default = 8).
- Reuse
Password string - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - Status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Apply
To string - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - Change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - Expire
Day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- Expire
Status string - Enable/disable password expiration. Valid values:
enable
,disable
. - Min
Change intCharacters - 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 intCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- Min
Non intAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- Min
Number int - Minimum number of numeric characters in password (0 - 128, default = 0).
- Min
Upper intCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- Minimum
Length int - Minimum password length (8 - 128, default = 8).
- Reuse
Password string - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - Status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply
To String - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4Characters String
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire
Day Integer - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status String - Enable/disable password expiration. Valid values:
enable
,disable
. - min
Change IntegerCharacters - 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 IntegerCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min
Non IntegerAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min
Number Integer - Minimum number of numeric characters in password (0 - 128, default = 0).
- min
Upper IntegerCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum
Length Integer - Minimum password length (8 - 128, default = 8).
- reuse
Password String - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status String
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply
To string - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire
Day number - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status string - Enable/disable password expiration. Valid values:
enable
,disable
. - min
Change numberCharacters - 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 numberCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min
Non numberAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min
Number number - Minimum number of numeric characters in password (0 - 128, default = 0).
- min
Upper numberCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum
Length number - Minimum password length (8 - 128, default = 8).
- reuse
Password string - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply_
to str - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4_
characters str - Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire_
day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire_
status str - Enable/disable password expiration. Valid values:
enable
,disable
. - min_
change_ intcharacters - 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_ intcase_ letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min_
non_ intalphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min_
number int - Minimum number of numeric characters in password (0 - 128, default = 0).
- min_
upper_ intcase_ letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum_
length int - Minimum password length (8 - 128, default = 8).
- reuse_
password str - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status str
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- apply
To String - Guest administrator to which this password policy applies. Valid values:
guest-admin-password
. - change4Characters String
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values:
enable
,disable
. - expire
Day Number - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status String - Enable/disable password expiration. Valid values:
enable
,disable
. - min
Change NumberCharacters - 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 NumberCase Letter - Minimum number of lowercase characters in password (0 - 128, default = 0).
- min
Non NumberAlphanumeric - Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
- min
Number Number - Minimum number of numeric characters in password (0 - 128, default = 0).
- min
Upper NumberCase Letter - Minimum number of uppercase characters in password (0 - 128, default = 0).
- minimum
Length Number - Minimum password length (8 - 128, default = 8).
- reuse
Password String - Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values:
enable
,disable
. - status String
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Import
System PasswordPolicyGuestAdmin can be imported using any of these accepted formats:
$ pulumi import fortios:system/passwordpolicyguestadmin:Passwordpolicyguestadmin labelname SystemPasswordPolicyGuestAdmin
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/passwordpolicyguestadmin:Passwordpolicyguestadmin labelname SystemPasswordPolicyGuestAdmin
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.