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

fortios.user.Local

Explore with Pulumi AI

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

    Configure local users.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname3 = new fortios.user.Ldap("trname3", {
        accountKeyFilter: "(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))",
        accountKeyProcessing: "same",
        cnid: "cn",
        dn: "EIWNCIEW",
        groupMemberCheck: "user-attr",
        groupObjectFilter: "(&(objectcategory=group)(member=*))",
        memberAttr: "memberOf",
        passwordExpiryWarning: "disable",
        passwordRenewal: "disable",
        port: 389,
        secure: "disable",
        server: "1.1.1.1",
        serverIdentityCheck: "disable",
        sourceIp: "0.0.0.0",
        sslMinProtoVersion: "default",
        type: "simple",
    });
    const trname = new fortios.user.Local("trname", {
        authConcurrentOverride: "disable",
        authConcurrentValue: 0,
        authtimeout: 0,
        ldapServer: trname3.name,
        passwdTime: "0000-00-00 00:00:00",
        smsServer: "fortiguard",
        status: "enable",
        twoFactor: "disable",
        type: "ldap",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname3 = fortios.user.Ldap("trname3",
        account_key_filter="(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))",
        account_key_processing="same",
        cnid="cn",
        dn="EIWNCIEW",
        group_member_check="user-attr",
        group_object_filter="(&(objectcategory=group)(member=*))",
        member_attr="memberOf",
        password_expiry_warning="disable",
        password_renewal="disable",
        port=389,
        secure="disable",
        server="1.1.1.1",
        server_identity_check="disable",
        source_ip="0.0.0.0",
        ssl_min_proto_version="default",
        type="simple")
    trname = fortios.user.Local("trname",
        auth_concurrent_override="disable",
        auth_concurrent_value=0,
        authtimeout=0,
        ldap_server=trname3.name,
        passwd_time="0000-00-00 00:00:00",
        sms_server="fortiguard",
        status="enable",
        two_factor="disable",
        type="ldap")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/user"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		trname3, err := user.NewLdap(ctx, "trname3", &user.LdapArgs{
    			AccountKeyFilter:      pulumi.String("(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))"),
    			AccountKeyProcessing:  pulumi.String("same"),
    			Cnid:                  pulumi.String("cn"),
    			Dn:                    pulumi.String("EIWNCIEW"),
    			GroupMemberCheck:      pulumi.String("user-attr"),
    			GroupObjectFilter:     pulumi.String("(&(objectcategory=group)(member=*))"),
    			MemberAttr:            pulumi.String("memberOf"),
    			PasswordExpiryWarning: pulumi.String("disable"),
    			PasswordRenewal:       pulumi.String("disable"),
    			Port:                  pulumi.Int(389),
    			Secure:                pulumi.String("disable"),
    			Server:                pulumi.String("1.1.1.1"),
    			ServerIdentityCheck:   pulumi.String("disable"),
    			SourceIp:              pulumi.String("0.0.0.0"),
    			SslMinProtoVersion:    pulumi.String("default"),
    			Type:                  pulumi.String("simple"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = user.NewLocal(ctx, "trname", &user.LocalArgs{
    			AuthConcurrentOverride: pulumi.String("disable"),
    			AuthConcurrentValue:    pulumi.Int(0),
    			Authtimeout:            pulumi.Int(0),
    			LdapServer:             trname3.Name,
    			PasswdTime:             pulumi.String("0000-00-00 00:00:00"),
    			SmsServer:              pulumi.String("fortiguard"),
    			Status:                 pulumi.String("enable"),
    			TwoFactor:              pulumi.String("disable"),
    			Type:                   pulumi.String("ldap"),
    		})
    		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 trname3 = new Fortios.User.Ldap("trname3", new()
        {
            AccountKeyFilter = "(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))",
            AccountKeyProcessing = "same",
            Cnid = "cn",
            Dn = "EIWNCIEW",
            GroupMemberCheck = "user-attr",
            GroupObjectFilter = "(&(objectcategory=group)(member=*))",
            MemberAttr = "memberOf",
            PasswordExpiryWarning = "disable",
            PasswordRenewal = "disable",
            Port = 389,
            Secure = "disable",
            Server = "1.1.1.1",
            ServerIdentityCheck = "disable",
            SourceIp = "0.0.0.0",
            SslMinProtoVersion = "default",
            Type = "simple",
        });
    
        var trname = new Fortios.User.Local("trname", new()
        {
            AuthConcurrentOverride = "disable",
            AuthConcurrentValue = 0,
            Authtimeout = 0,
            LdapServer = trname3.Name,
            PasswdTime = "0000-00-00 00:00:00",
            SmsServer = "fortiguard",
            Status = "enable",
            TwoFactor = "disable",
            Type = "ldap",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.user.Ldap;
    import com.pulumi.fortios.user.LdapArgs;
    import com.pulumi.fortios.user.Local;
    import com.pulumi.fortios.user.LocalArgs;
    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 trname3 = new Ldap("trname3", LdapArgs.builder()        
                .accountKeyFilter("(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))")
                .accountKeyProcessing("same")
                .cnid("cn")
                .dn("EIWNCIEW")
                .groupMemberCheck("user-attr")
                .groupObjectFilter("(&(objectcategory=group)(member=*))")
                .memberAttr("memberOf")
                .passwordExpiryWarning("disable")
                .passwordRenewal("disable")
                .port(389)
                .secure("disable")
                .server("1.1.1.1")
                .serverIdentityCheck("disable")
                .sourceIp("0.0.0.0")
                .sslMinProtoVersion("default")
                .type("simple")
                .build());
    
            var trname = new Local("trname", LocalArgs.builder()        
                .authConcurrentOverride("disable")
                .authConcurrentValue(0)
                .authtimeout(0)
                .ldapServer(trname3.name())
                .passwdTime("0000-00-00 00:00:00")
                .smsServer("fortiguard")
                .status("enable")
                .twoFactor("disable")
                .type("ldap")
                .build());
    
        }
    }
    
    resources:
      trname3:
        type: fortios:user:Ldap
        properties:
          accountKeyFilter: (&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
          accountKeyProcessing: same
          cnid: cn
          dn: EIWNCIEW
          groupMemberCheck: user-attr
          groupObjectFilter: (&(objectcategory=group)(member=*))
          memberAttr: memberOf
          passwordExpiryWarning: disable
          passwordRenewal: disable
          port: 389
          secure: disable
          server: 1.1.1.1
          serverIdentityCheck: disable
          sourceIp: 0.0.0.0
          sslMinProtoVersion: default
          type: simple
      trname:
        type: fortios:user:Local
        properties:
          authConcurrentOverride: disable
          authConcurrentValue: 0
          authtimeout: 0
          ldapServer: ${trname3.name}
          passwdTime: 0000-00-00 00:00:00
          smsServer: fortiguard
          status: enable
          twoFactor: disable
          type: ldap
    

    Create Local Resource

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

    Constructor syntax

    new Local(name: string, args: LocalArgs, opts?: CustomResourceOptions);
    @overload
    def Local(resource_name: str,
              args: LocalArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Local(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              status: Optional[str] = None,
              type: Optional[str] = None,
              radius_server: Optional[str] = None,
              workstation: Optional[str] = None,
              auth_concurrent_override: Optional[str] = None,
              fosid: Optional[int] = None,
              ldap_server: Optional[str] = None,
              name: Optional[str] = None,
              passwd: Optional[str] = None,
              passwd_policy: Optional[str] = None,
              passwd_time: Optional[str] = None,
              ppk_identity: Optional[str] = None,
              ppk_secret: Optional[str] = None,
              qkd_profile: Optional[str] = None,
              fortitoken: Optional[str] = None,
              email_to: Optional[str] = None,
              auth_concurrent_value: Optional[int] = None,
              sms_server: Optional[str] = None,
              authtimeout: Optional[int] = None,
              tacacs_server: Optional[str] = None,
              two_factor: Optional[str] = None,
              two_factor_authentication: Optional[str] = None,
              two_factor_notification: Optional[str] = None,
              sms_phone: Optional[str] = None,
              username_case_insensitivity: Optional[str] = None,
              username_case_sensitivity: Optional[str] = None,
              username_sensitivity: Optional[str] = None,
              vdomparam: Optional[str] = None,
              sms_custom_server: Optional[str] = None)
    func NewLocal(ctx *Context, name string, args LocalArgs, opts ...ResourceOption) (*Local, error)
    public Local(string name, LocalArgs args, CustomResourceOptions? opts = null)
    public Local(String name, LocalArgs args)
    public Local(String name, LocalArgs args, CustomResourceOptions options)
    
    type: fortios:user:Local
    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 LocalArgs
    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 LocalArgs
    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 LocalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LocalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LocalArgs
    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 fortiosLocalResource = new Fortios.User.Local("fortiosLocalResource", new()
    {
        Status = "string",
        Type = "string",
        RadiusServer = "string",
        Workstation = "string",
        AuthConcurrentOverride = "string",
        Fosid = 0,
        LdapServer = "string",
        Name = "string",
        Passwd = "string",
        PasswdPolicy = "string",
        PasswdTime = "string",
        PpkIdentity = "string",
        PpkSecret = "string",
        QkdProfile = "string",
        Fortitoken = "string",
        EmailTo = "string",
        AuthConcurrentValue = 0,
        SmsServer = "string",
        Authtimeout = 0,
        TacacsServer = "string",
        TwoFactor = "string",
        TwoFactorAuthentication = "string",
        TwoFactorNotification = "string",
        SmsPhone = "string",
        UsernameCaseInsensitivity = "string",
        UsernameCaseSensitivity = "string",
        UsernameSensitivity = "string",
        Vdomparam = "string",
        SmsCustomServer = "string",
    });
    
    example, err := user.NewLocal(ctx, "fortiosLocalResource", &user.LocalArgs{
    	Status:                    pulumi.String("string"),
    	Type:                      pulumi.String("string"),
    	RadiusServer:              pulumi.String("string"),
    	Workstation:               pulumi.String("string"),
    	AuthConcurrentOverride:    pulumi.String("string"),
    	Fosid:                     pulumi.Int(0),
    	LdapServer:                pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	Passwd:                    pulumi.String("string"),
    	PasswdPolicy:              pulumi.String("string"),
    	PasswdTime:                pulumi.String("string"),
    	PpkIdentity:               pulumi.String("string"),
    	PpkSecret:                 pulumi.String("string"),
    	QkdProfile:                pulumi.String("string"),
    	Fortitoken:                pulumi.String("string"),
    	EmailTo:                   pulumi.String("string"),
    	AuthConcurrentValue:       pulumi.Int(0),
    	SmsServer:                 pulumi.String("string"),
    	Authtimeout:               pulumi.Int(0),
    	TacacsServer:              pulumi.String("string"),
    	TwoFactor:                 pulumi.String("string"),
    	TwoFactorAuthentication:   pulumi.String("string"),
    	TwoFactorNotification:     pulumi.String("string"),
    	SmsPhone:                  pulumi.String("string"),
    	UsernameCaseInsensitivity: pulumi.String("string"),
    	UsernameCaseSensitivity:   pulumi.String("string"),
    	UsernameSensitivity:       pulumi.String("string"),
    	Vdomparam:                 pulumi.String("string"),
    	SmsCustomServer:           pulumi.String("string"),
    })
    
    var fortiosLocalResource = new Local("fortiosLocalResource", LocalArgs.builder()
        .status("string")
        .type("string")
        .radiusServer("string")
        .workstation("string")
        .authConcurrentOverride("string")
        .fosid(0)
        .ldapServer("string")
        .name("string")
        .passwd("string")
        .passwdPolicy("string")
        .passwdTime("string")
        .ppkIdentity("string")
        .ppkSecret("string")
        .qkdProfile("string")
        .fortitoken("string")
        .emailTo("string")
        .authConcurrentValue(0)
        .smsServer("string")
        .authtimeout(0)
        .tacacsServer("string")
        .twoFactor("string")
        .twoFactorAuthentication("string")
        .twoFactorNotification("string")
        .smsPhone("string")
        .usernameCaseInsensitivity("string")
        .usernameCaseSensitivity("string")
        .usernameSensitivity("string")
        .vdomparam("string")
        .smsCustomServer("string")
        .build());
    
    fortios_local_resource = fortios.user.Local("fortiosLocalResource",
        status="string",
        type="string",
        radius_server="string",
        workstation="string",
        auth_concurrent_override="string",
        fosid=0,
        ldap_server="string",
        name="string",
        passwd="string",
        passwd_policy="string",
        passwd_time="string",
        ppk_identity="string",
        ppk_secret="string",
        qkd_profile="string",
        fortitoken="string",
        email_to="string",
        auth_concurrent_value=0,
        sms_server="string",
        authtimeout=0,
        tacacs_server="string",
        two_factor="string",
        two_factor_authentication="string",
        two_factor_notification="string",
        sms_phone="string",
        username_case_insensitivity="string",
        username_case_sensitivity="string",
        username_sensitivity="string",
        vdomparam="string",
        sms_custom_server="string")
    
    const fortiosLocalResource = new fortios.user.Local("fortiosLocalResource", {
        status: "string",
        type: "string",
        radiusServer: "string",
        workstation: "string",
        authConcurrentOverride: "string",
        fosid: 0,
        ldapServer: "string",
        name: "string",
        passwd: "string",
        passwdPolicy: "string",
        passwdTime: "string",
        ppkIdentity: "string",
        ppkSecret: "string",
        qkdProfile: "string",
        fortitoken: "string",
        emailTo: "string",
        authConcurrentValue: 0,
        smsServer: "string",
        authtimeout: 0,
        tacacsServer: "string",
        twoFactor: "string",
        twoFactorAuthentication: "string",
        twoFactorNotification: "string",
        smsPhone: "string",
        usernameCaseInsensitivity: "string",
        usernameCaseSensitivity: "string",
        usernameSensitivity: "string",
        vdomparam: "string",
        smsCustomServer: "string",
    });
    
    type: fortios:user:Local
    properties:
        authConcurrentOverride: string
        authConcurrentValue: 0
        authtimeout: 0
        emailTo: string
        fortitoken: string
        fosid: 0
        ldapServer: string
        name: string
        passwd: string
        passwdPolicy: string
        passwdTime: string
        ppkIdentity: string
        ppkSecret: string
        qkdProfile: string
        radiusServer: string
        smsCustomServer: string
        smsPhone: string
        smsServer: string
        status: string
        tacacsServer: string
        twoFactor: string
        twoFactorAuthentication: string
        twoFactorNotification: string
        type: string
        usernameCaseInsensitivity: string
        usernameCaseSensitivity: string
        usernameSensitivity: string
        vdomparam: string
        workstation: string
    

    Local Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Local resource accepts the following input properties:

    Status string
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    Type string
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    AuthConcurrentOverride string
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    AuthConcurrentValue int
    Maximum number of concurrent logins permitted from the same user.
    Authtimeout int
    Time in minutes before the authentication timeout for a user is reached.
    EmailTo string
    Two-factor recipient's email address.
    Fortitoken string
    Two-factor recipient's FortiToken serial number.
    Fosid int
    User ID.
    LdapServer string
    Name of LDAP server with which the user must authenticate.
    Name string
    User name.
    Passwd string
    User's password.
    PasswdPolicy string
    Password policy to apply to this user, as defined in config user password-policy.
    PasswdTime string
    Time of the last password update.
    PpkIdentity string
    IKEv2 Postquantum Preshared Key Identity.
    PpkSecret string
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    QkdProfile string
    Quantum Key Distribution (QKD) profile.
    RadiusServer string
    Name of RADIUS server with which the user must authenticate.
    SmsCustomServer string
    Two-factor recipient's SMS server.
    SmsPhone string
    Two-factor recipient's mobile phone number.
    SmsServer string
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    TacacsServer string
    Name of TACACS+ server with which the user must authenticate.
    TwoFactor string
    Enable/disable two-factor authentication.
    TwoFactorAuthentication string
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    TwoFactorNotification string
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    UsernameCaseInsensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    UsernameCaseSensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    UsernameSensitivity string
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    Workstation string
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    Status string
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    Type string
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    AuthConcurrentOverride string
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    AuthConcurrentValue int
    Maximum number of concurrent logins permitted from the same user.
    Authtimeout int
    Time in minutes before the authentication timeout for a user is reached.
    EmailTo string
    Two-factor recipient's email address.
    Fortitoken string
    Two-factor recipient's FortiToken serial number.
    Fosid int
    User ID.
    LdapServer string
    Name of LDAP server with which the user must authenticate.
    Name string
    User name.
    Passwd string
    User's password.
    PasswdPolicy string
    Password policy to apply to this user, as defined in config user password-policy.
    PasswdTime string
    Time of the last password update.
    PpkIdentity string
    IKEv2 Postquantum Preshared Key Identity.
    PpkSecret string
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    QkdProfile string
    Quantum Key Distribution (QKD) profile.
    RadiusServer string
    Name of RADIUS server with which the user must authenticate.
    SmsCustomServer string
    Two-factor recipient's SMS server.
    SmsPhone string
    Two-factor recipient's mobile phone number.
    SmsServer string
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    TacacsServer string
    Name of TACACS+ server with which the user must authenticate.
    TwoFactor string
    Enable/disable two-factor authentication.
    TwoFactorAuthentication string
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    TwoFactorNotification string
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    UsernameCaseInsensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    UsernameCaseSensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    UsernameSensitivity string
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    Workstation string
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    status String
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    type String
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    authConcurrentOverride String
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    authConcurrentValue Integer
    Maximum number of concurrent logins permitted from the same user.
    authtimeout Integer
    Time in minutes before the authentication timeout for a user is reached.
    emailTo String
    Two-factor recipient's email address.
    fortitoken String
    Two-factor recipient's FortiToken serial number.
    fosid Integer
    User ID.
    ldapServer String
    Name of LDAP server with which the user must authenticate.
    name String
    User name.
    passwd String
    User's password.
    passwdPolicy String
    Password policy to apply to this user, as defined in config user password-policy.
    passwdTime String
    Time of the last password update.
    ppkIdentity String
    IKEv2 Postquantum Preshared Key Identity.
    ppkSecret String
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkdProfile String
    Quantum Key Distribution (QKD) profile.
    radiusServer String
    Name of RADIUS server with which the user must authenticate.
    smsCustomServer String
    Two-factor recipient's SMS server.
    smsPhone String
    Two-factor recipient's mobile phone number.
    smsServer String
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    tacacsServer String
    Name of TACACS+ server with which the user must authenticate.
    twoFactor String
    Enable/disable two-factor authentication.
    twoFactorAuthentication String
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    twoFactorNotification String
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    usernameCaseInsensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    usernameCaseSensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    usernameSensitivity String
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation String
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    status string
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    type string
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    authConcurrentOverride string
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    authConcurrentValue number
    Maximum number of concurrent logins permitted from the same user.
    authtimeout number
    Time in minutes before the authentication timeout for a user is reached.
    emailTo string
    Two-factor recipient's email address.
    fortitoken string
    Two-factor recipient's FortiToken serial number.
    fosid number
    User ID.
    ldapServer string
    Name of LDAP server with which the user must authenticate.
    name string
    User name.
    passwd string
    User's password.
    passwdPolicy string
    Password policy to apply to this user, as defined in config user password-policy.
    passwdTime string
    Time of the last password update.
    ppkIdentity string
    IKEv2 Postquantum Preshared Key Identity.
    ppkSecret string
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkdProfile string
    Quantum Key Distribution (QKD) profile.
    radiusServer string
    Name of RADIUS server with which the user must authenticate.
    smsCustomServer string
    Two-factor recipient's SMS server.
    smsPhone string
    Two-factor recipient's mobile phone number.
    smsServer string
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    tacacsServer string
    Name of TACACS+ server with which the user must authenticate.
    twoFactor string
    Enable/disable two-factor authentication.
    twoFactorAuthentication string
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    twoFactorNotification string
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    usernameCaseInsensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    usernameCaseSensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    usernameSensitivity string
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation string
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    status str
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    type str
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    auth_concurrent_override str
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    auth_concurrent_value int
    Maximum number of concurrent logins permitted from the same user.
    authtimeout int
    Time in minutes before the authentication timeout for a user is reached.
    email_to str
    Two-factor recipient's email address.
    fortitoken str
    Two-factor recipient's FortiToken serial number.
    fosid int
    User ID.
    ldap_server str
    Name of LDAP server with which the user must authenticate.
    name str
    User name.
    passwd str
    User's password.
    passwd_policy str
    Password policy to apply to this user, as defined in config user password-policy.
    passwd_time str
    Time of the last password update.
    ppk_identity str
    IKEv2 Postquantum Preshared Key Identity.
    ppk_secret str
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkd_profile str
    Quantum Key Distribution (QKD) profile.
    radius_server str
    Name of RADIUS server with which the user must authenticate.
    sms_custom_server str
    Two-factor recipient's SMS server.
    sms_phone str
    Two-factor recipient's mobile phone number.
    sms_server str
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    tacacs_server str
    Name of TACACS+ server with which the user must authenticate.
    two_factor str
    Enable/disable two-factor authentication.
    two_factor_authentication str
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    two_factor_notification str
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    username_case_insensitivity str
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    username_case_sensitivity str
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    username_sensitivity str
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation str
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    status String
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    type String
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    authConcurrentOverride String
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    authConcurrentValue Number
    Maximum number of concurrent logins permitted from the same user.
    authtimeout Number
    Time in minutes before the authentication timeout for a user is reached.
    emailTo String
    Two-factor recipient's email address.
    fortitoken String
    Two-factor recipient's FortiToken serial number.
    fosid Number
    User ID.
    ldapServer String
    Name of LDAP server with which the user must authenticate.
    name String
    User name.
    passwd String
    User's password.
    passwdPolicy String
    Password policy to apply to this user, as defined in config user password-policy.
    passwdTime String
    Time of the last password update.
    ppkIdentity String
    IKEv2 Postquantum Preshared Key Identity.
    ppkSecret String
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkdProfile String
    Quantum Key Distribution (QKD) profile.
    radiusServer String
    Name of RADIUS server with which the user must authenticate.
    smsCustomServer String
    Two-factor recipient's SMS server.
    smsPhone String
    Two-factor recipient's mobile phone number.
    smsServer String
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    tacacsServer String
    Name of TACACS+ server with which the user must authenticate.
    twoFactor String
    Enable/disable two-factor authentication.
    twoFactorAuthentication String
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    twoFactorNotification String
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    usernameCaseInsensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    usernameCaseSensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    usernameSensitivity String
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation String
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.

    Outputs

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

    Get an existing Local 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?: LocalState, opts?: CustomResourceOptions): Local
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_concurrent_override: Optional[str] = None,
            auth_concurrent_value: Optional[int] = None,
            authtimeout: Optional[int] = None,
            email_to: Optional[str] = None,
            fortitoken: Optional[str] = None,
            fosid: Optional[int] = None,
            ldap_server: Optional[str] = None,
            name: Optional[str] = None,
            passwd: Optional[str] = None,
            passwd_policy: Optional[str] = None,
            passwd_time: Optional[str] = None,
            ppk_identity: Optional[str] = None,
            ppk_secret: Optional[str] = None,
            qkd_profile: Optional[str] = None,
            radius_server: Optional[str] = None,
            sms_custom_server: Optional[str] = None,
            sms_phone: Optional[str] = None,
            sms_server: Optional[str] = None,
            status: Optional[str] = None,
            tacacs_server: Optional[str] = None,
            two_factor: Optional[str] = None,
            two_factor_authentication: Optional[str] = None,
            two_factor_notification: Optional[str] = None,
            type: Optional[str] = None,
            username_case_insensitivity: Optional[str] = None,
            username_case_sensitivity: Optional[str] = None,
            username_sensitivity: Optional[str] = None,
            vdomparam: Optional[str] = None,
            workstation: Optional[str] = None) -> Local
    func GetLocal(ctx *Context, name string, id IDInput, state *LocalState, opts ...ResourceOption) (*Local, error)
    public static Local Get(string name, Input<string> id, LocalState? state, CustomResourceOptions? opts = null)
    public static Local get(String name, Output<String> id, LocalState 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.
    The following state arguments are supported:
    AuthConcurrentOverride string
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    AuthConcurrentValue int
    Maximum number of concurrent logins permitted from the same user.
    Authtimeout int
    Time in minutes before the authentication timeout for a user is reached.
    EmailTo string
    Two-factor recipient's email address.
    Fortitoken string
    Two-factor recipient's FortiToken serial number.
    Fosid int
    User ID.
    LdapServer string
    Name of LDAP server with which the user must authenticate.
    Name string
    User name.
    Passwd string
    User's password.
    PasswdPolicy string
    Password policy to apply to this user, as defined in config user password-policy.
    PasswdTime string
    Time of the last password update.
    PpkIdentity string
    IKEv2 Postquantum Preshared Key Identity.
    PpkSecret string
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    QkdProfile string
    Quantum Key Distribution (QKD) profile.
    RadiusServer string
    Name of RADIUS server with which the user must authenticate.
    SmsCustomServer string
    Two-factor recipient's SMS server.
    SmsPhone string
    Two-factor recipient's mobile phone number.
    SmsServer string
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    Status string
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    TacacsServer string
    Name of TACACS+ server with which the user must authenticate.
    TwoFactor string
    Enable/disable two-factor authentication.
    TwoFactorAuthentication string
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    TwoFactorNotification string
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    Type string
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    UsernameCaseInsensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    UsernameCaseSensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    UsernameSensitivity string
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    Workstation string
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    AuthConcurrentOverride string
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    AuthConcurrentValue int
    Maximum number of concurrent logins permitted from the same user.
    Authtimeout int
    Time in minutes before the authentication timeout for a user is reached.
    EmailTo string
    Two-factor recipient's email address.
    Fortitoken string
    Two-factor recipient's FortiToken serial number.
    Fosid int
    User ID.
    LdapServer string
    Name of LDAP server with which the user must authenticate.
    Name string
    User name.
    Passwd string
    User's password.
    PasswdPolicy string
    Password policy to apply to this user, as defined in config user password-policy.
    PasswdTime string
    Time of the last password update.
    PpkIdentity string
    IKEv2 Postquantum Preshared Key Identity.
    PpkSecret string
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    QkdProfile string
    Quantum Key Distribution (QKD) profile.
    RadiusServer string
    Name of RADIUS server with which the user must authenticate.
    SmsCustomServer string
    Two-factor recipient's SMS server.
    SmsPhone string
    Two-factor recipient's mobile phone number.
    SmsServer string
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    Status string
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    TacacsServer string
    Name of TACACS+ server with which the user must authenticate.
    TwoFactor string
    Enable/disable two-factor authentication.
    TwoFactorAuthentication string
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    TwoFactorNotification string
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    Type string
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    UsernameCaseInsensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    UsernameCaseSensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    UsernameSensitivity string
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    Workstation string
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    authConcurrentOverride String
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    authConcurrentValue Integer
    Maximum number of concurrent logins permitted from the same user.
    authtimeout Integer
    Time in minutes before the authentication timeout for a user is reached.
    emailTo String
    Two-factor recipient's email address.
    fortitoken String
    Two-factor recipient's FortiToken serial number.
    fosid Integer
    User ID.
    ldapServer String
    Name of LDAP server with which the user must authenticate.
    name String
    User name.
    passwd String
    User's password.
    passwdPolicy String
    Password policy to apply to this user, as defined in config user password-policy.
    passwdTime String
    Time of the last password update.
    ppkIdentity String
    IKEv2 Postquantum Preshared Key Identity.
    ppkSecret String
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkdProfile String
    Quantum Key Distribution (QKD) profile.
    radiusServer String
    Name of RADIUS server with which the user must authenticate.
    smsCustomServer String
    Two-factor recipient's SMS server.
    smsPhone String
    Two-factor recipient's mobile phone number.
    smsServer String
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    status String
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    tacacsServer String
    Name of TACACS+ server with which the user must authenticate.
    twoFactor String
    Enable/disable two-factor authentication.
    twoFactorAuthentication String
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    twoFactorNotification String
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    type String
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    usernameCaseInsensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    usernameCaseSensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    usernameSensitivity String
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation String
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    authConcurrentOverride string
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    authConcurrentValue number
    Maximum number of concurrent logins permitted from the same user.
    authtimeout number
    Time in minutes before the authentication timeout for a user is reached.
    emailTo string
    Two-factor recipient's email address.
    fortitoken string
    Two-factor recipient's FortiToken serial number.
    fosid number
    User ID.
    ldapServer string
    Name of LDAP server with which the user must authenticate.
    name string
    User name.
    passwd string
    User's password.
    passwdPolicy string
    Password policy to apply to this user, as defined in config user password-policy.
    passwdTime string
    Time of the last password update.
    ppkIdentity string
    IKEv2 Postquantum Preshared Key Identity.
    ppkSecret string
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkdProfile string
    Quantum Key Distribution (QKD) profile.
    radiusServer string
    Name of RADIUS server with which the user must authenticate.
    smsCustomServer string
    Two-factor recipient's SMS server.
    smsPhone string
    Two-factor recipient's mobile phone number.
    smsServer string
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    status string
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    tacacsServer string
    Name of TACACS+ server with which the user must authenticate.
    twoFactor string
    Enable/disable two-factor authentication.
    twoFactorAuthentication string
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    twoFactorNotification string
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    type string
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    usernameCaseInsensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    usernameCaseSensitivity string
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    usernameSensitivity string
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation string
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    auth_concurrent_override str
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    auth_concurrent_value int
    Maximum number of concurrent logins permitted from the same user.
    authtimeout int
    Time in minutes before the authentication timeout for a user is reached.
    email_to str
    Two-factor recipient's email address.
    fortitoken str
    Two-factor recipient's FortiToken serial number.
    fosid int
    User ID.
    ldap_server str
    Name of LDAP server with which the user must authenticate.
    name str
    User name.
    passwd str
    User's password.
    passwd_policy str
    Password policy to apply to this user, as defined in config user password-policy.
    passwd_time str
    Time of the last password update.
    ppk_identity str
    IKEv2 Postquantum Preshared Key Identity.
    ppk_secret str
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkd_profile str
    Quantum Key Distribution (QKD) profile.
    radius_server str
    Name of RADIUS server with which the user must authenticate.
    sms_custom_server str
    Two-factor recipient's SMS server.
    sms_phone str
    Two-factor recipient's mobile phone number.
    sms_server str
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    status str
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    tacacs_server str
    Name of TACACS+ server with which the user must authenticate.
    two_factor str
    Enable/disable two-factor authentication.
    two_factor_authentication str
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    two_factor_notification str
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    type str
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    username_case_insensitivity str
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    username_case_sensitivity str
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    username_sensitivity str
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation str
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.
    authConcurrentOverride String
    Enable/disable overriding the policy-auth-concurrent under config system global. Valid values: enable, disable.
    authConcurrentValue Number
    Maximum number of concurrent logins permitted from the same user.
    authtimeout Number
    Time in minutes before the authentication timeout for a user is reached.
    emailTo String
    Two-factor recipient's email address.
    fortitoken String
    Two-factor recipient's FortiToken serial number.
    fosid Number
    User ID.
    ldapServer String
    Name of LDAP server with which the user must authenticate.
    name String
    User name.
    passwd String
    User's password.
    passwdPolicy String
    Password policy to apply to this user, as defined in config user password-policy.
    passwdTime String
    Time of the last password update.
    ppkIdentity String
    IKEv2 Postquantum Preshared Key Identity.
    ppkSecret String
    IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
    qkdProfile String
    Quantum Key Distribution (QKD) profile.
    radiusServer String
    Name of RADIUS server with which the user must authenticate.
    smsCustomServer String
    Two-factor recipient's SMS server.
    smsPhone String
    Two-factor recipient's mobile phone number.
    smsServer String
    Send SMS through FortiGuard or other external server. Valid values: fortiguard, custom.
    status String
    Enable/disable allowing the local user to authenticate with the FortiGate unit. Valid values: enable, disable.
    tacacsServer String
    Name of TACACS+ server with which the user must authenticate.
    twoFactor String
    Enable/disable two-factor authentication.
    twoFactorAuthentication String
    Authentication method by FortiToken Cloud. Valid values: fortitoken, email, sms.
    twoFactorNotification String
    Notification method for user activation by FortiToken Cloud. Valid values: email, sms.
    type String
    Authentication method. Valid values: password, radius, tacacs+, ldap.
    usernameCaseInsensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: enable, disable.
    usernameCaseSensitivity String
    Enable/disable case sensitivity when performing username matching (uppercase and lowercase letters are treated either as distinct or equivalent). Valid values: disable, enable.
    usernameSensitivity String
    Enable/disable case and accent sensitivity when performing username matching (accents are stripped and case is ignored when disabled). Valid values: disable, enable.
    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.
    workstation String
    Name of the remote user workstation, if you want to limit the user to authenticate only from a particular workstation.

    Import

    User Local can be imported using any of these accepted formats:

    $ pulumi import fortios:user/local:Local labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:user/local:Local labelname {{name}}
    

    $ 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse