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

fortios.user.Peer

Explore with Pulumi AI

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

    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)
    public Peer(String name, PeerArgs args)
    public Peer(String name, PeerArgs args, CustomResourceOptions options)
    
    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

    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.
    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.
    LdapPassword 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: enable, disable.
    MfaMode string
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    MfaPassword 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.
    OcspOverrideServer string
    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.
    TwoFactor 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.
    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.
    LdapPassword 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: enable, disable.
    MfaMode string
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    MfaPassword 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.
    OcspOverrideServer string
    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.
    TwoFactor 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.
    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.
    ldapPassword 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: enable, disable.
    mfaMode String
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    mfaPassword 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.
    ocspOverrideServer String
    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.
    twoFactor 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.
    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.
    ldapPassword 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: enable, disable.
    mfaMode string
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    mfaPassword 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.
    ocspOverrideServer string
    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.
    twoFactor 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_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: 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_server str
    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.
    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.
    ldapPassword 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: enable, disable.
    mfaMode String
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    mfaPassword 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.
    ocspOverrideServer String
    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.
    twoFactor 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.
    The following state arguments are supported:
    Ca string
    Name of the CA certificate as returned by the execute vpn certificate ca list command.
    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.
    LdapPassword 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: enable, disable.
    MfaMode string
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    MfaPassword 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.
    OcspOverrideServer string
    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.
    TwoFactor 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.
    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.
    LdapPassword 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: enable, disable.
    MfaMode string
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    MfaPassword 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.
    OcspOverrideServer string
    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.
    TwoFactor 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.
    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.
    ldapPassword 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: enable, disable.
    mfaMode String
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    mfaPassword 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.
    ocspOverrideServer String
    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.
    twoFactor 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.
    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.
    ldapPassword 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: enable, disable.
    mfaMode string
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    mfaPassword 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.
    ocspOverrideServer string
    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.
    twoFactor 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_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: 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_server str
    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.
    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.
    ldapPassword 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: enable, disable.
    mfaMode String
    MFA mode for remote peer authentication/authorization. Valid values: none, password, subject-identity.
    mfaPassword 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.
    ocspOverrideServer String
    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.
    twoFactor 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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse