fortios.user.Local
Explore with Pulumi AI
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)
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
. - Auth
Concurrent stringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - Auth
Concurrent intValue - 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 string - Two-factor recipient's email address.
- Fortitoken string
- Two-factor recipient's FortiToken serial number.
- Fosid int
- User ID.
- Ldap
Server string - Name of LDAP server with which the user must authenticate.
- Name string
- User name.
- Passwd string
- User's password.
- Passwd
Policy string - Password policy to apply to this user, as defined in config user password-policy.
- Passwd
Time string - Time of the last password update.
- Ppk
Identity string - IKEv2 Postquantum Preshared Key Identity.
- Ppk
Secret string - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- Qkd
Profile string - Quantum Key Distribution (QKD) profile.
- Radius
Server string - Name of RADIUS server with which the user must authenticate.
- Sms
Custom stringServer - Two-factor recipient's SMS server.
- Sms
Phone string - Two-factor recipient's mobile phone number.
- Sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - Tacacs
Server string - Name of TACACS+ server with which the user must authenticate.
- Two
Factor string - Enable/disable two-factor authentication.
- Two
Factor stringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - Two
Factor stringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - Username
Case stringInsensitivity - 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 stringSensitivity - 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 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
. - Auth
Concurrent stringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - Auth
Concurrent intValue - 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 string - Two-factor recipient's email address.
- Fortitoken string
- Two-factor recipient's FortiToken serial number.
- Fosid int
- User ID.
- Ldap
Server string - Name of LDAP server with which the user must authenticate.
- Name string
- User name.
- Passwd string
- User's password.
- Passwd
Policy string - Password policy to apply to this user, as defined in config user password-policy.
- Passwd
Time string - Time of the last password update.
- Ppk
Identity string - IKEv2 Postquantum Preshared Key Identity.
- Ppk
Secret string - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- Qkd
Profile string - Quantum Key Distribution (QKD) profile.
- Radius
Server string - Name of RADIUS server with which the user must authenticate.
- Sms
Custom stringServer - Two-factor recipient's SMS server.
- Sms
Phone string - Two-factor recipient's mobile phone number.
- Sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - Tacacs
Server string - Name of TACACS+ server with which the user must authenticate.
- Two
Factor string - Enable/disable two-factor authentication.
- Two
Factor stringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - Two
Factor stringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - Username
Case stringInsensitivity - 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 stringSensitivity - 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 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
. - auth
Concurrent StringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth
Concurrent IntegerValue - Maximum number of concurrent logins permitted from the same user.
- authtimeout Integer
- Time in minutes before the authentication timeout for a user is reached.
- email
To String - Two-factor recipient's email address.
- fortitoken String
- Two-factor recipient's FortiToken serial number.
- fosid Integer
- User ID.
- ldap
Server String - Name of LDAP server with which the user must authenticate.
- name String
- User name.
- passwd String
- User's password.
- passwd
Policy String - Password policy to apply to this user, as defined in config user password-policy.
- passwd
Time String - Time of the last password update.
- ppk
Identity String - IKEv2 Postquantum Preshared Key Identity.
- ppk
Secret String - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- qkd
Profile String - Quantum Key Distribution (QKD) profile.
- radius
Server String - Name of RADIUS server with which the user must authenticate.
- sms
Custom StringServer - Two-factor recipient's SMS server.
- sms
Phone String - Two-factor recipient's mobile phone number.
- sms
Server String - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - tacacs
Server String - Name of TACACS+ server with which the user must authenticate.
- two
Factor String - Enable/disable two-factor authentication.
- two
Factor StringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two
Factor StringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - username
Case StringInsensitivity - 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 StringSensitivity - 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 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
. - auth
Concurrent stringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth
Concurrent numberValue - Maximum number of concurrent logins permitted from the same user.
- authtimeout number
- Time in minutes before the authentication timeout for a user is reached.
- email
To string - Two-factor recipient's email address.
- fortitoken string
- Two-factor recipient's FortiToken serial number.
- fosid number
- User ID.
- ldap
Server string - Name of LDAP server with which the user must authenticate.
- name string
- User name.
- passwd string
- User's password.
- passwd
Policy string - Password policy to apply to this user, as defined in config user password-policy.
- passwd
Time string - Time of the last password update.
- ppk
Identity string - IKEv2 Postquantum Preshared Key Identity.
- ppk
Secret string - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- qkd
Profile string - Quantum Key Distribution (QKD) profile.
- radius
Server string - Name of RADIUS server with which the user must authenticate.
- sms
Custom stringServer - Two-factor recipient's SMS server.
- sms
Phone string - Two-factor recipient's mobile phone number.
- sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - tacacs
Server string - Name of TACACS+ server with which the user must authenticate.
- two
Factor string - Enable/disable two-factor authentication.
- two
Factor stringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two
Factor stringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - username
Case stringInsensitivity - 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 stringSensitivity - 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 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_ stroverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth_
concurrent_ intvalue - 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_ strserver - 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_ strauthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two_
factor_ strnotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - username_
case_ strinsensitivity - 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_ strsensitivity - 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
. - auth
Concurrent StringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth
Concurrent NumberValue - Maximum number of concurrent logins permitted from the same user.
- authtimeout Number
- Time in minutes before the authentication timeout for a user is reached.
- email
To String - Two-factor recipient's email address.
- fortitoken String
- Two-factor recipient's FortiToken serial number.
- fosid Number
- User ID.
- ldap
Server String - Name of LDAP server with which the user must authenticate.
- name String
- User name.
- passwd String
- User's password.
- passwd
Policy String - Password policy to apply to this user, as defined in config user password-policy.
- passwd
Time String - Time of the last password update.
- ppk
Identity String - IKEv2 Postquantum Preshared Key Identity.
- ppk
Secret String - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- qkd
Profile String - Quantum Key Distribution (QKD) profile.
- radius
Server String - Name of RADIUS server with which the user must authenticate.
- sms
Custom StringServer - Two-factor recipient's SMS server.
- sms
Phone String - Two-factor recipient's mobile phone number.
- sms
Server String - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - tacacs
Server String - Name of TACACS+ server with which the user must authenticate.
- two
Factor String - Enable/disable two-factor authentication.
- two
Factor StringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two
Factor StringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - username
Case StringInsensitivity - 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 StringSensitivity - 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 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.
- Auth
Concurrent stringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - Auth
Concurrent intValue - 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 string - Two-factor recipient's email address.
- Fortitoken string
- Two-factor recipient's FortiToken serial number.
- Fosid int
- User ID.
- Ldap
Server string - Name of LDAP server with which the user must authenticate.
- Name string
- User name.
- Passwd string
- User's password.
- Passwd
Policy string - Password policy to apply to this user, as defined in config user password-policy.
- Passwd
Time string - Time of the last password update.
- Ppk
Identity string - IKEv2 Postquantum Preshared Key Identity.
- Ppk
Secret string - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- Qkd
Profile string - Quantum Key Distribution (QKD) profile.
- Radius
Server string - Name of RADIUS server with which the user must authenticate.
- Sms
Custom stringServer - Two-factor recipient's SMS server.
- Sms
Phone string - Two-factor recipient's mobile phone number.
- Sms
Server 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
. - Tacacs
Server string - Name of TACACS+ server with which the user must authenticate.
- Two
Factor string - Enable/disable two-factor authentication.
- Two
Factor stringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - Two
Factor stringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - Type string
- Authentication method. Valid values:
password
,radius
,tacacs+
,ldap
. - Username
Case stringInsensitivity - 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 stringSensitivity - 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 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 stringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - Auth
Concurrent intValue - 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 string - Two-factor recipient's email address.
- Fortitoken string
- Two-factor recipient's FortiToken serial number.
- Fosid int
- User ID.
- Ldap
Server string - Name of LDAP server with which the user must authenticate.
- Name string
- User name.
- Passwd string
- User's password.
- Passwd
Policy string - Password policy to apply to this user, as defined in config user password-policy.
- Passwd
Time string - Time of the last password update.
- Ppk
Identity string - IKEv2 Postquantum Preshared Key Identity.
- Ppk
Secret string - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- Qkd
Profile string - Quantum Key Distribution (QKD) profile.
- Radius
Server string - Name of RADIUS server with which the user must authenticate.
- Sms
Custom stringServer - Two-factor recipient's SMS server.
- Sms
Phone string - Two-factor recipient's mobile phone number.
- Sms
Server 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
. - Tacacs
Server string - Name of TACACS+ server with which the user must authenticate.
- Two
Factor string - Enable/disable two-factor authentication.
- Two
Factor stringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - Two
Factor stringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - Type string
- Authentication method. Valid values:
password
,radius
,tacacs+
,ldap
. - Username
Case stringInsensitivity - 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 stringSensitivity - 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 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 StringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth
Concurrent IntegerValue - Maximum number of concurrent logins permitted from the same user.
- authtimeout Integer
- Time in minutes before the authentication timeout for a user is reached.
- email
To String - Two-factor recipient's email address.
- fortitoken String
- Two-factor recipient's FortiToken serial number.
- fosid Integer
- User ID.
- ldap
Server String - Name of LDAP server with which the user must authenticate.
- name String
- User name.
- passwd String
- User's password.
- passwd
Policy String - Password policy to apply to this user, as defined in config user password-policy.
- passwd
Time String - Time of the last password update.
- ppk
Identity String - IKEv2 Postquantum Preshared Key Identity.
- ppk
Secret String - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- qkd
Profile String - Quantum Key Distribution (QKD) profile.
- radius
Server String - Name of RADIUS server with which the user must authenticate.
- sms
Custom StringServer - Two-factor recipient's SMS server.
- sms
Phone String - Two-factor recipient's mobile phone number.
- sms
Server 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
. - tacacs
Server String - Name of TACACS+ server with which the user must authenticate.
- two
Factor String - Enable/disable two-factor authentication.
- two
Factor StringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two
Factor StringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - type String
- Authentication method. Valid values:
password
,radius
,tacacs+
,ldap
. - username
Case StringInsensitivity - 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 StringSensitivity - 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 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 stringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth
Concurrent numberValue - Maximum number of concurrent logins permitted from the same user.
- authtimeout number
- Time in minutes before the authentication timeout for a user is reached.
- email
To string - Two-factor recipient's email address.
- fortitoken string
- Two-factor recipient's FortiToken serial number.
- fosid number
- User ID.
- ldap
Server string - Name of LDAP server with which the user must authenticate.
- name string
- User name.
- passwd string
- User's password.
- passwd
Policy string - Password policy to apply to this user, as defined in config user password-policy.
- passwd
Time string - Time of the last password update.
- ppk
Identity string - IKEv2 Postquantum Preshared Key Identity.
- ppk
Secret string - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- qkd
Profile string - Quantum Key Distribution (QKD) profile.
- radius
Server string - Name of RADIUS server with which the user must authenticate.
- sms
Custom stringServer - Two-factor recipient's SMS server.
- sms
Phone string - Two-factor recipient's mobile phone number.
- sms
Server 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
. - tacacs
Server string - Name of TACACS+ server with which the user must authenticate.
- two
Factor string - Enable/disable two-factor authentication.
- two
Factor stringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two
Factor stringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - type string
- Authentication method. Valid values:
password
,radius
,tacacs+
,ldap
. - username
Case stringInsensitivity - 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 stringSensitivity - 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 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_ stroverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth_
concurrent_ intvalue - 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_ strserver - 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_ strauthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two_
factor_ strnotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - type str
- Authentication method. Valid values:
password
,radius
,tacacs+
,ldap
. - username_
case_ strinsensitivity - 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_ strsensitivity - 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.
- auth
Concurrent StringOverride - Enable/disable overriding the policy-auth-concurrent under config system global. Valid values:
enable
,disable
. - auth
Concurrent NumberValue - Maximum number of concurrent logins permitted from the same user.
- authtimeout Number
- Time in minutes before the authentication timeout for a user is reached.
- email
To String - Two-factor recipient's email address.
- fortitoken String
- Two-factor recipient's FortiToken serial number.
- fosid Number
- User ID.
- ldap
Server String - Name of LDAP server with which the user must authenticate.
- name String
- User name.
- passwd String
- User's password.
- passwd
Policy String - Password policy to apply to this user, as defined in config user password-policy.
- passwd
Time String - Time of the last password update.
- ppk
Identity String - IKEv2 Postquantum Preshared Key Identity.
- ppk
Secret String - IKEv2 Postquantum Preshared Key (ASCII string or hexadecimal encoded with a leading 0x).
- qkd
Profile String - Quantum Key Distribution (QKD) profile.
- radius
Server String - Name of RADIUS server with which the user must authenticate.
- sms
Custom StringServer - Two-factor recipient's SMS server.
- sms
Phone String - Two-factor recipient's mobile phone number.
- sms
Server 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
. - tacacs
Server String - Name of TACACS+ server with which the user must authenticate.
- two
Factor String - Enable/disable two-factor authentication.
- two
Factor StringAuthentication - Authentication method by FortiToken Cloud. Valid values:
fortitoken
,email
,sms
. - two
Factor StringNotification - Notification method for user activation by FortiToken Cloud. Valid values:
email
,sms
. - type String
- Authentication method. Valid values:
password
,radius
,tacacs+
,ldap
. - username
Case StringInsensitivity - 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 StringSensitivity - 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 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.