Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.system.getPasswordpolicy
Explore with Pulumi AI
Use this data source to get information on fortios system passwordpolicy
Using getPasswordpolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPasswordpolicy(args: GetPasswordpolicyArgs, opts?: InvokeOptions): Promise<GetPasswordpolicyResult>
function getPasswordpolicyOutput(args: GetPasswordpolicyOutputArgs, opts?: InvokeOptions): Output<GetPasswordpolicyResult>
def get_passwordpolicy(vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPasswordpolicyResult
def get_passwordpolicy_output(vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPasswordpolicyResult]
func LookupPasswordpolicy(ctx *Context, args *LookupPasswordpolicyArgs, opts ...InvokeOption) (*LookupPasswordpolicyResult, error)
func LookupPasswordpolicyOutput(ctx *Context, args *LookupPasswordpolicyOutputArgs, opts ...InvokeOption) LookupPasswordpolicyResultOutput
> Note: This function is named LookupPasswordpolicy
in the Go SDK.
public static class GetPasswordpolicy
{
public static Task<GetPasswordpolicyResult> InvokeAsync(GetPasswordpolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPasswordpolicyResult> Invoke(GetPasswordpolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPasswordpolicyResult> getPasswordpolicy(GetPasswordpolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getPasswordpolicy:getPasswordpolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Vdomparam string
- Specifies the vdom to which the data source 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.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- vdomparam String
- Specifies the vdom to which the data source 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.
- vdomparam string
- Specifies the vdom to which the data source 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.
- vdomparam str
- Specifies the vdom to which the data source 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.
- vdomparam String
- Specifies the vdom to which the data source 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.
getPasswordpolicy Result
The following output properties are available:
- Apply
To string - Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space.
- Change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled).
- Expire
Day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- Expire
Status string - Enable/disable password expiration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Min
Change intCharacters - Minimum number of unique characters in new password which do not exist in old password (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 reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides).
- Status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
- Vdomparam string
- Apply
To string - Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space.
- Change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled).
- Expire
Day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- Expire
Status string - Enable/disable password expiration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Min
Change intCharacters - Minimum number of unique characters in new password which do not exist in old password (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 reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides).
- Status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
- Vdomparam string
- apply
To String - Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space.
- change4Characters String
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled).
- expire
Day Integer - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status String - Enable/disable password expiration.
- id String
- The provider-assigned unique ID for this managed resource.
- min
Change IntegerCharacters - Minimum number of unique characters in new password which do not exist in old password (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 reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides).
- status String
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
- vdomparam String
- apply
To string - Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space.
- change4Characters string
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled).
- expire
Day number - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status string - Enable/disable password expiration.
- id string
- The provider-assigned unique ID for this managed resource.
- min
Change numberCharacters - Minimum number of unique characters in new password which do not exist in old password (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 reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides).
- status string
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
- vdomparam string
- apply_
to str - Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space.
- change4_
characters str - Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled).
- expire_
day int - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire_
status str - Enable/disable password expiration.
- id str
- The provider-assigned unique ID for this managed resource.
- min_
change_ intcharacters - Minimum number of unique characters in new password which do not exist in old password (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 reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides).
- status str
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
- vdomparam str
- apply
To String - Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space.
- change4Characters String
- Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled).
- expire
Day Number - Number of days after which passwords expire (1 - 999 days, default = 90).
- expire
Status String - Enable/disable password expiration.
- id String
- The provider-assigned unique ID for this managed resource.
- min
Change NumberCharacters - Minimum number of unique characters in new password which do not exist in old password (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 reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides).
- status String
- Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.
- vdomparam String
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.