fortios.user.Peer
Explore with Pulumi AI
Configure peer users.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname1 = new fortios.user.Peer("trname1", {
ca: "EC-ACC",
cnType: "string",
ldapMode: "password",
mandatoryCaVerify: "enable",
twoFactor: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname1 = fortios.user.Peer("trname1",
ca="EC-ACC",
cn_type="string",
ldap_mode="password",
mandatory_ca_verify="enable",
two_factor="disable")
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 {
_, err := user.NewPeer(ctx, "trname1", &user.PeerArgs{
Ca: pulumi.String("EC-ACC"),
CnType: pulumi.String("string"),
LdapMode: pulumi.String("password"),
MandatoryCaVerify: pulumi.String("enable"),
TwoFactor: pulumi.String("disable"),
})
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 trname1 = new Fortios.User.Peer("trname1", new()
{
Ca = "EC-ACC",
CnType = "string",
LdapMode = "password",
MandatoryCaVerify = "enable",
TwoFactor = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.user.Peer;
import com.pulumi.fortios.user.PeerArgs;
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 trname1 = new Peer("trname1", PeerArgs.builder()
.ca("EC-ACC")
.cnType("string")
.ldapMode("password")
.mandatoryCaVerify("enable")
.twoFactor("disable")
.build());
}
}
resources:
trname1:
type: fortios:user:Peer
properties:
ca: EC-ACC
cnType: string
ldapMode: password
mandatoryCaVerify: enable
twoFactor: disable
Create Peer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Peer(name: string, args?: PeerArgs, opts?: CustomResourceOptions);
@overload
def Peer(resource_name: str,
args: Optional[PeerArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Peer(resource_name: str,
opts: Optional[ResourceOptions] = None,
ca: Optional[str] = None,
cn: Optional[str] = None,
cn_type: Optional[str] = None,
ldap_mode: Optional[str] = None,
ldap_password: Optional[str] = None,
ldap_server: Optional[str] = None,
ldap_username: Optional[str] = None,
mandatory_ca_verify: Optional[str] = None,
mfa_mode: Optional[str] = None,
mfa_password: Optional[str] = None,
mfa_server: Optional[str] = None,
mfa_username: Optional[str] = None,
name: Optional[str] = None,
ocsp_override_server: Optional[str] = None,
passwd: Optional[str] = None,
subject: Optional[str] = None,
two_factor: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewPeer(ctx *Context, name string, args *PeerArgs, opts ...ResourceOption) (*Peer, error)
public Peer(string name, PeerArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:user:Peer
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 PeerArgs
- 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 PeerArgs
- 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 PeerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeerArgs
- 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 peerResource = new Fortios.User.Peer("peerResource", new()
{
Ca = "string",
Cn = "string",
CnType = "string",
LdapMode = "string",
LdapPassword = "string",
LdapServer = "string",
LdapUsername = "string",
MandatoryCaVerify = "string",
MfaMode = "string",
MfaPassword = "string",
MfaServer = "string",
MfaUsername = "string",
Name = "string",
OcspOverrideServer = "string",
Passwd = "string",
Subject = "string",
TwoFactor = "string",
Vdomparam = "string",
});
example, err := user.NewPeer(ctx, "peerResource", &user.PeerArgs{
Ca: pulumi.String("string"),
Cn: pulumi.String("string"),
CnType: pulumi.String("string"),
LdapMode: pulumi.String("string"),
LdapPassword: pulumi.String("string"),
LdapServer: pulumi.String("string"),
LdapUsername: pulumi.String("string"),
MandatoryCaVerify: pulumi.String("string"),
MfaMode: pulumi.String("string"),
MfaPassword: pulumi.String("string"),
MfaServer: pulumi.String("string"),
MfaUsername: pulumi.String("string"),
Name: pulumi.String("string"),
OcspOverrideServer: pulumi.String("string"),
Passwd: pulumi.String("string"),
Subject: pulumi.String("string"),
TwoFactor: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var peerResource = new Peer("peerResource", PeerArgs.builder()
.ca("string")
.cn("string")
.cnType("string")
.ldapMode("string")
.ldapPassword("string")
.ldapServer("string")
.ldapUsername("string")
.mandatoryCaVerify("string")
.mfaMode("string")
.mfaPassword("string")
.mfaServer("string")
.mfaUsername("string")
.name("string")
.ocspOverrideServer("string")
.passwd("string")
.subject("string")
.twoFactor("string")
.vdomparam("string")
.build());
peer_resource = fortios.user.Peer("peerResource",
ca="string",
cn="string",
cn_type="string",
ldap_mode="string",
ldap_password="string",
ldap_server="string",
ldap_username="string",
mandatory_ca_verify="string",
mfa_mode="string",
mfa_password="string",
mfa_server="string",
mfa_username="string",
name="string",
ocsp_override_server="string",
passwd="string",
subject="string",
two_factor="string",
vdomparam="string")
const peerResource = new fortios.user.Peer("peerResource", {
ca: "string",
cn: "string",
cnType: "string",
ldapMode: "string",
ldapPassword: "string",
ldapServer: "string",
ldapUsername: "string",
mandatoryCaVerify: "string",
mfaMode: "string",
mfaPassword: "string",
mfaServer: "string",
mfaUsername: "string",
name: "string",
ocspOverrideServer: "string",
passwd: "string",
subject: "string",
twoFactor: "string",
vdomparam: "string",
});
type: fortios:user:Peer
properties:
ca: string
cn: string
cnType: string
ldapMode: string
ldapPassword: string
ldapServer: string
ldapUsername: string
mandatoryCaVerify: string
mfaMode: string
mfaPassword: string
mfaServer: string
mfaUsername: string
name: string
ocspOverrideServer: string
passwd: string
subject: string
twoFactor: string
vdomparam: string
Peer 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 Peer resource accepts the following input properties:
- Ca string
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- Cn string
- Peer certificate common name.
- Cn
Type string - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - Ldap
Mode string - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - Ldap
Password string - Password for LDAP server bind.
- Ldap
Server string - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- Ldap
Username string - Username for LDAP server bind.
- Mandatory
Ca stringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - Mfa
Mode string - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - Mfa
Password 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.
- Mfa
Server string - Name of a remote authenticator. Performs client access right check.
- Mfa
Username string - Unified username for remote authentication.
- Name string
- Peer name.
- Ocsp
Override stringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- Passwd string
- Peer's password used for two-factor authentication.
- Subject string
- Peer certificate name constraints.
- Two
Factor string - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- Ca string
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- Cn string
- Peer certificate common name.
- Cn
Type string - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - Ldap
Mode string - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - Ldap
Password string - Password for LDAP server bind.
- Ldap
Server string - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- Ldap
Username string - Username for LDAP server bind.
- Mandatory
Ca stringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - Mfa
Mode string - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - Mfa
Password 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.
- Mfa
Server string - Name of a remote authenticator. Performs client access right check.
- Mfa
Username string - Unified username for remote authentication.
- Name string
- Peer name.
- Ocsp
Override stringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- Passwd string
- Peer's password used for two-factor authentication.
- Subject string
- Peer certificate name constraints.
- Two
Factor string - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca String
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- cn String
- Peer certificate common name.
- cn
Type String - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - ldap
Mode String - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - ldap
Password String - Password for LDAP server bind.
- ldap
Server String - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- ldap
Username String - Username for LDAP server bind.
- mandatory
Ca StringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa
Mode String - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa
Password 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.
- mfa
Server String - Name of a remote authenticator. Performs client access right check.
- mfa
Username String - Unified username for remote authentication.
- name String
- Peer name.
- ocsp
Override StringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd String
- Peer's password used for two-factor authentication.
- subject String
- Peer certificate name constraints.
- two
Factor String - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca string
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- cn string
- Peer certificate common name.
- cn
Type string - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - ldap
Mode string - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - ldap
Password string - Password for LDAP server bind.
- ldap
Server string - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- ldap
Username string - Username for LDAP server bind.
- mandatory
Ca stringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa
Mode string - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa
Password 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.
- mfa
Server string - Name of a remote authenticator. Performs client access right check.
- mfa
Username string - Unified username for remote authentication.
- name string
- Peer name.
- ocsp
Override stringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd string
- Peer's password used for two-factor authentication.
- subject string
- Peer certificate name constraints.
- two
Factor string - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca str
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- 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_
password 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_ strverify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa_
mode str - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa_
password 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.
- ocsp_
override_ strserver - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd str
- Peer's password used for two-factor authentication.
- subject str
- Peer certificate name constraints.
- two_
factor str - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca String
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- cn String
- Peer certificate common name.
- cn
Type String - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - ldap
Mode String - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - ldap
Password String - Password for LDAP server bind.
- ldap
Server String - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- ldap
Username String - Username for LDAP server bind.
- mandatory
Ca StringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa
Mode String - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa
Password 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.
- mfa
Server String - Name of a remote authenticator. Performs client access right check.
- mfa
Username String - Unified username for remote authentication.
- name String
- Peer name.
- ocsp
Override StringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd String
- Peer's password used for two-factor authentication.
- subject String
- Peer certificate name constraints.
- two
Factor String - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Peer 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 Peer Resource
Get an existing Peer 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?: PeerState, opts?: CustomResourceOptions): Peer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ca: Optional[str] = None,
cn: Optional[str] = None,
cn_type: Optional[str] = None,
ldap_mode: Optional[str] = None,
ldap_password: Optional[str] = None,
ldap_server: Optional[str] = None,
ldap_username: Optional[str] = None,
mandatory_ca_verify: Optional[str] = None,
mfa_mode: Optional[str] = None,
mfa_password: Optional[str] = None,
mfa_server: Optional[str] = None,
mfa_username: Optional[str] = None,
name: Optional[str] = None,
ocsp_override_server: Optional[str] = None,
passwd: Optional[str] = None,
subject: Optional[str] = None,
two_factor: Optional[str] = None,
vdomparam: Optional[str] = None) -> Peer
func GetPeer(ctx *Context, name string, id IDInput, state *PeerState, opts ...ResourceOption) (*Peer, error)
public static Peer Get(string name, Input<string> id, PeerState? state, CustomResourceOptions? opts = null)
public static Peer get(String name, Output<String> id, PeerState 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.
- Ca string
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- Cn string
- Peer certificate common name.
- Cn
Type string - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - Ldap
Mode string - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - Ldap
Password string - Password for LDAP server bind.
- Ldap
Server string - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- Ldap
Username string - Username for LDAP server bind.
- Mandatory
Ca stringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - Mfa
Mode string - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - Mfa
Password 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.
- Mfa
Server string - Name of a remote authenticator. Performs client access right check.
- Mfa
Username string - Unified username for remote authentication.
- Name string
- Peer name.
- Ocsp
Override stringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- Passwd string
- Peer's password used for two-factor authentication.
- Subject string
- Peer certificate name constraints.
- Two
Factor string - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- Ca string
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- Cn string
- Peer certificate common name.
- Cn
Type string - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - Ldap
Mode string - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - Ldap
Password string - Password for LDAP server bind.
- Ldap
Server string - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- Ldap
Username string - Username for LDAP server bind.
- Mandatory
Ca stringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - Mfa
Mode string - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - Mfa
Password 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.
- Mfa
Server string - Name of a remote authenticator. Performs client access right check.
- Mfa
Username string - Unified username for remote authentication.
- Name string
- Peer name.
- Ocsp
Override stringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- Passwd string
- Peer's password used for two-factor authentication.
- Subject string
- Peer certificate name constraints.
- Two
Factor string - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca String
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- cn String
- Peer certificate common name.
- cn
Type String - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - ldap
Mode String - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - ldap
Password String - Password for LDAP server bind.
- ldap
Server String - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- ldap
Username String - Username for LDAP server bind.
- mandatory
Ca StringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa
Mode String - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa
Password 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.
- mfa
Server String - Name of a remote authenticator. Performs client access right check.
- mfa
Username String - Unified username for remote authentication.
- name String
- Peer name.
- ocsp
Override StringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd String
- Peer's password used for two-factor authentication.
- subject String
- Peer certificate name constraints.
- two
Factor String - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca string
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- cn string
- Peer certificate common name.
- cn
Type string - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - ldap
Mode string - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - ldap
Password string - Password for LDAP server bind.
- ldap
Server string - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- ldap
Username string - Username for LDAP server bind.
- mandatory
Ca stringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa
Mode string - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa
Password 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.
- mfa
Server string - Name of a remote authenticator. Performs client access right check.
- mfa
Username string - Unified username for remote authentication.
- name string
- Peer name.
- ocsp
Override stringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd string
- Peer's password used for two-factor authentication.
- subject string
- Peer certificate name constraints.
- two
Factor string - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca str
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- 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_
password 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_ strverify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa_
mode str - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa_
password 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.
- ocsp_
override_ strserver - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd str
- Peer's password used for two-factor authentication.
- subject str
- Peer certificate name constraints.
- two_
factor str - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
- ca String
- Name of the CA certificate as returned by the execute vpn certificate ca list command.
- cn String
- Peer certificate common name.
- cn
Type String - Peer certificate common name type. Valid values:
string
,email
,FQDN
,ipv4
,ipv6
. - ldap
Mode String - Mode for LDAP peer authentication. Valid values:
password
,principal-name
. - ldap
Password String - Password for LDAP server bind.
- ldap
Server String - Name of an LDAP server defined under the user ldap command. Performs client access rights check.
- ldap
Username String - Username for LDAP server bind.
- mandatory
Ca StringVerify - Determine what happens to the peer if the CA certificate is not installed. Disable to automatically consider the peer certificate as valid. Valid values:
enable
,disable
. - mfa
Mode String - MFA mode for remote peer authentication/authorization. Valid values:
none
,password
,subject-identity
. - mfa
Password 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.
- mfa
Server String - Name of a remote authenticator. Performs client access right check.
- mfa
Username String - Unified username for remote authentication.
- name String
- Peer name.
- ocsp
Override StringServer - Online Certificate Status Protocol (OCSP) server for certificate retrieval.
- passwd String
- Peer's password used for two-factor authentication.
- subject String
- Peer certificate name constraints.
- two
Factor String - Enable/disable two-factor authentication, applying certificate and password-based authentication. Valid values:
enable
,disable
. - 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.
Import
User Peer can be imported using any of these accepted formats:
$ pulumi import fortios:user/peer:Peer labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:user/peer:Peer 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.