1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. getPasswordpolicy
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.getPasswordpolicy

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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:

    ApplyTo 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).
    ExpireDay int
    Number of days after which passwords expire (1 - 999 days, default = 90).
    ExpireStatus string
    Enable/disable password expiration.
    Id string
    The provider-assigned unique ID for this managed resource.
    MinChangeCharacters int
    Minimum number of unique characters in new password which do not exist in old password (This attribute overrides reuse-password if both are enabled).
    MinLowerCaseLetter int
    Minimum number of lowercase characters in password (0 - 128, default = 0).
    MinNonAlphanumeric int
    Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
    MinNumber int
    Minimum number of numeric characters in password (0 - 128, default = 0).
    MinUpperCaseLetter int
    Minimum number of uppercase characters in password (0 - 128, default = 0).
    MinimumLength int
    Minimum password length (8 - 128, default = 8).
    ReusePassword 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
    ApplyTo 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).
    ExpireDay int
    Number of days after which passwords expire (1 - 999 days, default = 90).
    ExpireStatus string
    Enable/disable password expiration.
    Id string
    The provider-assigned unique ID for this managed resource.
    MinChangeCharacters int
    Minimum number of unique characters in new password which do not exist in old password (This attribute overrides reuse-password if both are enabled).
    MinLowerCaseLetter int
    Minimum number of lowercase characters in password (0 - 128, default = 0).
    MinNonAlphanumeric int
    Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
    MinNumber int
    Minimum number of numeric characters in password (0 - 128, default = 0).
    MinUpperCaseLetter int
    Minimum number of uppercase characters in password (0 - 128, default = 0).
    MinimumLength int
    Minimum password length (8 - 128, default = 8).
    ReusePassword 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
    applyTo 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).
    expireDay Integer
    Number of days after which passwords expire (1 - 999 days, default = 90).
    expireStatus String
    Enable/disable password expiration.
    id String
    The provider-assigned unique ID for this managed resource.
    minChangeCharacters Integer
    Minimum number of unique characters in new password which do not exist in old password (This attribute overrides reuse-password if both are enabled).
    minLowerCaseLetter Integer
    Minimum number of lowercase characters in password (0 - 128, default = 0).
    minNonAlphanumeric Integer
    Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
    minNumber Integer
    Minimum number of numeric characters in password (0 - 128, default = 0).
    minUpperCaseLetter Integer
    Minimum number of uppercase characters in password (0 - 128, default = 0).
    minimumLength Integer
    Minimum password length (8 - 128, default = 8).
    reusePassword 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
    applyTo 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).
    expireDay number
    Number of days after which passwords expire (1 - 999 days, default = 90).
    expireStatus string
    Enable/disable password expiration.
    id string
    The provider-assigned unique ID for this managed resource.
    minChangeCharacters number
    Minimum number of unique characters in new password which do not exist in old password (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).
    reusePassword 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_characters int
    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_case_letter int
    Minimum number of lowercase characters in password (0 - 128, default = 0).
    min_non_alphanumeric int
    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_case_letter int
    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
    applyTo 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).
    expireDay Number
    Number of days after which passwords expire (1 - 999 days, default = 90).
    expireStatus String
    Enable/disable password expiration.
    id String
    The provider-assigned unique ID for this managed resource.
    minChangeCharacters Number
    Minimum number of unique characters in new password which do not exist in old password (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).
    reusePassword 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse