1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectUserPeer
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectUserPeer

Explore with Pulumi AI

Configure peer users.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectUserPeer("trname", {
    cnType: "FQDN",
    ldapMode: "password",
    ldapPasswords: ["fortinet"],
    ldapUsername: "admin",
    mandatoryCaVerify: "enable",
    twoFactor: "disable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectUserPeer("trname",
    cn_type="FQDN",
    ldap_mode="password",
    ldap_passwords=["fortinet"],
    ldap_username="admin",
    mandatory_ca_verify="enable",
    two_factor="disable")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectUserPeer(ctx, "trname", &fortimanager.ObjectUserPeerArgs{
			CnType:   pulumi.String("FQDN"),
			LdapMode: pulumi.String("password"),
			LdapPasswords: pulumi.StringArray{
				pulumi.String("fortinet"),
			},
			LdapUsername:      pulumi.String("admin"),
			MandatoryCaVerify: pulumi.String("enable"),
			TwoFactor:         pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectUserPeer("trname", new()
    {
        CnType = "FQDN",
        LdapMode = "password",
        LdapPasswords = new[]
        {
            "fortinet",
        },
        LdapUsername = "admin",
        MandatoryCaVerify = "enable",
        TwoFactor = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectUserPeer;
import com.pulumi.fortimanager.ObjectUserPeerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new ObjectUserPeer("trname", ObjectUserPeerArgs.builder()
            .cnType("FQDN")
            .ldapMode("password")
            .ldapPasswords("fortinet")
            .ldapUsername("admin")
            .mandatoryCaVerify("enable")
            .twoFactor("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectUserPeer
    properties:
      cnType: FQDN
      ldapMode: password
      ldapPasswords:
        - fortinet
      ldapUsername: admin
      mandatoryCaVerify: enable
      twoFactor: disable
Copy

Create ObjectUserPeer Resource

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

Constructor syntax

new ObjectUserPeer(name: string, args?: ObjectUserPeerArgs, opts?: CustomResourceOptions);
@overload
def ObjectUserPeer(resource_name: str,
                   args: Optional[ObjectUserPeerArgs] = None,
                   opts: Optional[ResourceOptions] = None)

@overload
def ObjectUserPeer(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   adom: Optional[str] = None,
                   ca: Optional[str] = None,
                   cn: Optional[str] = None,
                   cn_type: Optional[str] = None,
                   ldap_mode: Optional[str] = None,
                   ldap_passwords: Optional[Sequence[str]] = None,
                   ldap_server: Optional[str] = None,
                   ldap_username: Optional[str] = None,
                   mandatory_ca_verify: Optional[str] = None,
                   mfa_mode: Optional[str] = None,
                   mfa_passwords: Optional[Sequence[str]] = None,
                   mfa_server: Optional[str] = None,
                   mfa_username: Optional[str] = None,
                   name: Optional[str] = None,
                   object_user_peer_id: Optional[str] = None,
                   ocsp_override_server: Optional[str] = None,
                   passwds: Optional[Sequence[str]] = None,
                   scopetype: Optional[str] = None,
                   subject: Optional[str] = None,
                   two_factor: Optional[str] = None)
func NewObjectUserPeer(ctx *Context, name string, args *ObjectUserPeerArgs, opts ...ResourceOption) (*ObjectUserPeer, error)
public ObjectUserPeer(string name, ObjectUserPeerArgs? args = null, CustomResourceOptions? opts = null)
public ObjectUserPeer(String name, ObjectUserPeerArgs args)
public ObjectUserPeer(String name, ObjectUserPeerArgs args, CustomResourceOptions options)
type: fortimanager:ObjectUserPeer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ObjectUserPeerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ObjectUserPeerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ObjectUserPeerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ObjectUserPeerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectUserPeerArgs
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 objectUserPeerResource = new Fortimanager.ObjectUserPeer("objectUserPeerResource", new()
{
    Adom = "string",
    Ca = "string",
    Cn = "string",
    CnType = "string",
    LdapMode = "string",
    LdapPasswords = new[]
    {
        "string",
    },
    LdapServer = "string",
    LdapUsername = "string",
    MandatoryCaVerify = "string",
    MfaMode = "string",
    MfaPasswords = new[]
    {
        "string",
    },
    MfaServer = "string",
    MfaUsername = "string",
    Name = "string",
    ObjectUserPeerId = "string",
    OcspOverrideServer = "string",
    Passwds = new[]
    {
        "string",
    },
    Scopetype = "string",
    Subject = "string",
    TwoFactor = "string",
});
Copy
example, err := fortimanager.NewObjectUserPeer(ctx, "objectUserPeerResource", &fortimanager.ObjectUserPeerArgs{
	Adom:     pulumi.String("string"),
	Ca:       pulumi.String("string"),
	Cn:       pulumi.String("string"),
	CnType:   pulumi.String("string"),
	LdapMode: pulumi.String("string"),
	LdapPasswords: pulumi.StringArray{
		pulumi.String("string"),
	},
	LdapServer:        pulumi.String("string"),
	LdapUsername:      pulumi.String("string"),
	MandatoryCaVerify: pulumi.String("string"),
	MfaMode:           pulumi.String("string"),
	MfaPasswords: pulumi.StringArray{
		pulumi.String("string"),
	},
	MfaServer:          pulumi.String("string"),
	MfaUsername:        pulumi.String("string"),
	Name:               pulumi.String("string"),
	ObjectUserPeerId:   pulumi.String("string"),
	OcspOverrideServer: pulumi.String("string"),
	Passwds: pulumi.StringArray{
		pulumi.String("string"),
	},
	Scopetype: pulumi.String("string"),
	Subject:   pulumi.String("string"),
	TwoFactor: pulumi.String("string"),
})
Copy
var objectUserPeerResource = new ObjectUserPeer("objectUserPeerResource", ObjectUserPeerArgs.builder()
    .adom("string")
    .ca("string")
    .cn("string")
    .cnType("string")
    .ldapMode("string")
    .ldapPasswords("string")
    .ldapServer("string")
    .ldapUsername("string")
    .mandatoryCaVerify("string")
    .mfaMode("string")
    .mfaPasswords("string")
    .mfaServer("string")
    .mfaUsername("string")
    .name("string")
    .objectUserPeerId("string")
    .ocspOverrideServer("string")
    .passwds("string")
    .scopetype("string")
    .subject("string")
    .twoFactor("string")
    .build());
Copy
object_user_peer_resource = fortimanager.ObjectUserPeer("objectUserPeerResource",
    adom="string",
    ca="string",
    cn="string",
    cn_type="string",
    ldap_mode="string",
    ldap_passwords=["string"],
    ldap_server="string",
    ldap_username="string",
    mandatory_ca_verify="string",
    mfa_mode="string",
    mfa_passwords=["string"],
    mfa_server="string",
    mfa_username="string",
    name="string",
    object_user_peer_id="string",
    ocsp_override_server="string",
    passwds=["string"],
    scopetype="string",
    subject="string",
    two_factor="string")
Copy
const objectUserPeerResource = new fortimanager.ObjectUserPeer("objectUserPeerResource", {
    adom: "string",
    ca: "string",
    cn: "string",
    cnType: "string",
    ldapMode: "string",
    ldapPasswords: ["string"],
    ldapServer: "string",
    ldapUsername: "string",
    mandatoryCaVerify: "string",
    mfaMode: "string",
    mfaPasswords: ["string"],
    mfaServer: "string",
    mfaUsername: "string",
    name: "string",
    objectUserPeerId: "string",
    ocspOverrideServer: "string",
    passwds: ["string"],
    scopetype: "string",
    subject: "string",
    twoFactor: "string",
});
Copy
type: fortimanager:ObjectUserPeer
properties:
    adom: string
    ca: string
    cn: string
    cnType: string
    ldapMode: string
    ldapPasswords:
        - string
    ldapServer: string
    ldapUsername: string
    mandatoryCaVerify: string
    mfaMode: string
    mfaPasswords:
        - string
    mfaServer: string
    mfaUsername: string
    name: string
    objectUserPeerId: string
    ocspOverrideServer: string
    passwds:
        - string
    scopetype: string
    subject: string
    twoFactor: string
Copy

ObjectUserPeer Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectUserPeer resource accepts the following input properties:

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Ca string
Name of the CA certificate.
Cn string
Peer certificate common name.
CnType string
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
LdapMode string
Mode for LDAP peer authentication. Valid values: password, principal-name.
LdapPasswords List<string>
Password for LDAP server bind.
LdapServer string
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
LdapUsername string
Username for LDAP server bind.
MandatoryCaVerify string
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
MfaMode string
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
MfaPasswords List<string>
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
MfaServer string
Name of a remote authenticator. Performs client access right check.
MfaUsername string
Unified username for remote authentication.
Name string
Peer name.
ObjectUserPeerId string
an identifier for the resource with format {{name}}.
OcspOverrideServer string
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
Passwds List<string>
Peer's password used for two-factor authentication.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Subject string
Peer certificate name constraints.
TwoFactor string
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Ca string
Name of the CA certificate.
Cn string
Peer certificate common name.
CnType string
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
LdapMode string
Mode for LDAP peer authentication. Valid values: password, principal-name.
LdapPasswords []string
Password for LDAP server bind.
LdapServer string
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
LdapUsername string
Username for LDAP server bind.
MandatoryCaVerify string
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
MfaMode string
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
MfaPasswords []string
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
MfaServer string
Name of a remote authenticator. Performs client access right check.
MfaUsername string
Unified username for remote authentication.
Name string
Peer name.
ObjectUserPeerId string
an identifier for the resource with format {{name}}.
OcspOverrideServer string
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
Passwds []string
Peer's password used for two-factor authentication.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Subject string
Peer certificate name constraints.
TwoFactor string
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca String
Name of the CA certificate.
cn String
Peer certificate common name.
cnType String
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldapMode String
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldapPasswords List<String>
Password for LDAP server bind.
ldapServer String
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldapUsername String
Username for LDAP server bind.
mandatoryCaVerify String
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfaMode String
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfaPasswords List<String>
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfaServer String
Name of a remote authenticator. Performs client access right check.
mfaUsername String
Unified username for remote authentication.
name String
Peer name.
objectUserPeerId String
an identifier for the resource with format {{name}}.
ocspOverrideServer String
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds List<String>
Peer's password used for two-factor authentication.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject String
Peer certificate name constraints.
twoFactor String
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca string
Name of the CA certificate.
cn string
Peer certificate common name.
cnType string
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldapMode string
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldapPasswords string[]
Password for LDAP server bind.
ldapServer string
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldapUsername string
Username for LDAP server bind.
mandatoryCaVerify string
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfaMode string
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfaPasswords string[]
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfaServer string
Name of a remote authenticator. Performs client access right check.
mfaUsername string
Unified username for remote authentication.
name string
Peer name.
objectUserPeerId string
an identifier for the resource with format {{name}}.
ocspOverrideServer string
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds string[]
Peer's password used for two-factor authentication.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject string
Peer certificate name constraints.
twoFactor string
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca str
Name of the CA certificate.
cn str
Peer certificate common name.
cn_type str
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldap_mode str
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldap_passwords Sequence[str]
Password for LDAP server bind.
ldap_server str
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldap_username str
Username for LDAP server bind.
mandatory_ca_verify str
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfa_mode str
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfa_passwords Sequence[str]
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfa_server str
Name of a remote authenticator. Performs client access right check.
mfa_username str
Unified username for remote authentication.
name str
Peer name.
object_user_peer_id str
an identifier for the resource with format {{name}}.
ocsp_override_server str
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds Sequence[str]
Peer's password used for two-factor authentication.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject str
Peer certificate name constraints.
two_factor str
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca String
Name of the CA certificate.
cn String
Peer certificate common name.
cnType String
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldapMode String
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldapPasswords List<String>
Password for LDAP server bind.
ldapServer String
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldapUsername String
Username for LDAP server bind.
mandatoryCaVerify String
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfaMode String
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfaPasswords List<String>
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfaServer String
Name of a remote authenticator. Performs client access right check.
mfaUsername String
Unified username for remote authentication.
name String
Peer name.
objectUserPeerId String
an identifier for the resource with format {{name}}.
ocspOverrideServer String
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds List<String>
Peer's password used for two-factor authentication.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject String
Peer certificate name constraints.
twoFactor String
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.

Outputs

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

Get an existing ObjectUserPeer 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?: ObjectUserPeerState, opts?: CustomResourceOptions): ObjectUserPeer
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        ca: Optional[str] = None,
        cn: Optional[str] = None,
        cn_type: Optional[str] = None,
        ldap_mode: Optional[str] = None,
        ldap_passwords: Optional[Sequence[str]] = None,
        ldap_server: Optional[str] = None,
        ldap_username: Optional[str] = None,
        mandatory_ca_verify: Optional[str] = None,
        mfa_mode: Optional[str] = None,
        mfa_passwords: Optional[Sequence[str]] = None,
        mfa_server: Optional[str] = None,
        mfa_username: Optional[str] = None,
        name: Optional[str] = None,
        object_user_peer_id: Optional[str] = None,
        ocsp_override_server: Optional[str] = None,
        passwds: Optional[Sequence[str]] = None,
        scopetype: Optional[str] = None,
        subject: Optional[str] = None,
        two_factor: Optional[str] = None) -> ObjectUserPeer
func GetObjectUserPeer(ctx *Context, name string, id IDInput, state *ObjectUserPeerState, opts ...ResourceOption) (*ObjectUserPeer, error)
public static ObjectUserPeer Get(string name, Input<string> id, ObjectUserPeerState? state, CustomResourceOptions? opts = null)
public static ObjectUserPeer get(String name, Output<String> id, ObjectUserPeerState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectUserPeer    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Ca string
Name of the CA certificate.
Cn string
Peer certificate common name.
CnType string
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
LdapMode string
Mode for LDAP peer authentication. Valid values: password, principal-name.
LdapPasswords List<string>
Password for LDAP server bind.
LdapServer string
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
LdapUsername string
Username for LDAP server bind.
MandatoryCaVerify string
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
MfaMode string
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
MfaPasswords List<string>
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
MfaServer string
Name of a remote authenticator. Performs client access right check.
MfaUsername string
Unified username for remote authentication.
Name string
Peer name.
ObjectUserPeerId string
an identifier for the resource with format {{name}}.
OcspOverrideServer string
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
Passwds List<string>
Peer's password used for two-factor authentication.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Subject string
Peer certificate name constraints.
TwoFactor string
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Ca string
Name of the CA certificate.
Cn string
Peer certificate common name.
CnType string
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
LdapMode string
Mode for LDAP peer authentication. Valid values: password, principal-name.
LdapPasswords []string
Password for LDAP server bind.
LdapServer string
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
LdapUsername string
Username for LDAP server bind.
MandatoryCaVerify string
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
MfaMode string
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
MfaPasswords []string
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
MfaServer string
Name of a remote authenticator. Performs client access right check.
MfaUsername string
Unified username for remote authentication.
Name string
Peer name.
ObjectUserPeerId string
an identifier for the resource with format {{name}}.
OcspOverrideServer string
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
Passwds []string
Peer's password used for two-factor authentication.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Subject string
Peer certificate name constraints.
TwoFactor string
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca String
Name of the CA certificate.
cn String
Peer certificate common name.
cnType String
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldapMode String
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldapPasswords List<String>
Password for LDAP server bind.
ldapServer String
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldapUsername String
Username for LDAP server bind.
mandatoryCaVerify String
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfaMode String
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfaPasswords List<String>
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfaServer String
Name of a remote authenticator. Performs client access right check.
mfaUsername String
Unified username for remote authentication.
name String
Peer name.
objectUserPeerId String
an identifier for the resource with format {{name}}.
ocspOverrideServer String
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds List<String>
Peer's password used for two-factor authentication.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject String
Peer certificate name constraints.
twoFactor String
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca string
Name of the CA certificate.
cn string
Peer certificate common name.
cnType string
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldapMode string
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldapPasswords string[]
Password for LDAP server bind.
ldapServer string
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldapUsername string
Username for LDAP server bind.
mandatoryCaVerify string
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfaMode string
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfaPasswords string[]
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfaServer string
Name of a remote authenticator. Performs client access right check.
mfaUsername string
Unified username for remote authentication.
name string
Peer name.
objectUserPeerId string
an identifier for the resource with format {{name}}.
ocspOverrideServer string
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds string[]
Peer's password used for two-factor authentication.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject string
Peer certificate name constraints.
twoFactor string
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca str
Name of the CA certificate.
cn str
Peer certificate common name.
cn_type str
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldap_mode str
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldap_passwords Sequence[str]
Password for LDAP server bind.
ldap_server str
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldap_username str
Username for LDAP server bind.
mandatory_ca_verify str
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfa_mode str
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfa_passwords Sequence[str]
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfa_server str
Name of a remote authenticator. Performs client access right check.
mfa_username str
Unified username for remote authentication.
name str
Peer name.
object_user_peer_id str
an identifier for the resource with format {{name}}.
ocsp_override_server str
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds Sequence[str]
Peer's password used for two-factor authentication.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject str
Peer certificate name constraints.
two_factor str
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ca String
Name of the CA certificate.
cn String
Peer certificate common name.
cnType String
Peer certificate common name type. Valid values: string, email, FQDN, ipv4, ipv6.
ldapMode String
Mode for LDAP peer authentication. Valid values: password, principal-name.
ldapPasswords List<String>
Password for LDAP server bind.
ldapServer String
Name of an LDAP server defined under the user ldap command. Performs client access rights check.
ldapUsername String
Username for LDAP server bind.
mandatoryCaVerify String
Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values: disable, enable.
mfaMode String
MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
mfaPasswords List<String>
Unified password for remote authentication. This field may be left empty when RADIUS authentication is used, in which case the FortiGate will use the RADIUS username as a password.
mfaServer String
Name of a remote authenticator. Performs client access right check.
mfaUsername String
Unified username for remote authentication.
name String
Peer name.
objectUserPeerId String
an identifier for the resource with format {{name}}.
ocspOverrideServer String
Online Certificate Status Protocol (OCSP) server for certificate retrieval.
passwds List<String>
Peer's password used for two-factor authentication.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
subject String
Peer certificate name constraints.
twoFactor String
Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values: disable, enable.

Import

ObjectUser Peer can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectUserPeer:ObjectUserPeer labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.