1. Packages
  2. Fortios
  3. API Docs
  4. vpn
  5. vpn/ipsec
  6. Manualkeyinterface
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.vpn/ipsec.Manualkeyinterface

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure IPsec manual keys.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.vpn.ipsec.Manualkeyinterface("trname", {
        addrType: "4",
        authAlg: "null",
        authKey: "-",
        encAlg: "des",
        encKey: "CECA2184ACADAEEF",
        "interface": "port3",
        ipVersion: "4",
        localGw: "0.0.0.0",
        localGw6: "::",
        localSpi: "0x100",
        remoteGw: "2.2.2.2",
        remoteGw6: "::",
        remoteSpi: "0x100",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.vpn.ipsec.Manualkeyinterface("trname",
        addr_type="4",
        auth_alg="null",
        auth_key="-",
        enc_alg="des",
        enc_key="CECA2184ACADAEEF",
        interface="port3",
        ip_version="4",
        local_gw="0.0.0.0",
        local_gw6="::",
        local_spi="0x100",
        remote_gw="2.2.2.2",
        remote_gw6="::",
        remote_spi="0x100")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/vpn"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpn.NewManualkeyinterface(ctx, "trname", &vpn.ManualkeyinterfaceArgs{
    			AddrType:  pulumi.String("4"),
    			AuthAlg:   pulumi.String("null"),
    			AuthKey:   pulumi.String("-"),
    			EncAlg:    pulumi.String("des"),
    			EncKey:    pulumi.String("CECA2184ACADAEEF"),
    			Interface: pulumi.String("port3"),
    			IpVersion: pulumi.String("4"),
    			LocalGw:   pulumi.String("0.0.0.0"),
    			LocalGw6:  pulumi.String("::"),
    			LocalSpi:  pulumi.String("0x100"),
    			RemoteGw:  pulumi.String("2.2.2.2"),
    			RemoteGw6: pulumi.String("::"),
    			RemoteSpi: pulumi.String("0x100"),
    		})
    		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 trname = new Fortios.Vpn.Ipsec.Manualkeyinterface("trname", new()
        {
            AddrType = "4",
            AuthAlg = "null",
            AuthKey = "-",
            EncAlg = "des",
            EncKey = "CECA2184ACADAEEF",
            Interface = "port3",
            IpVersion = "4",
            LocalGw = "0.0.0.0",
            LocalGw6 = "::",
            LocalSpi = "0x100",
            RemoteGw = "2.2.2.2",
            RemoteGw6 = "::",
            RemoteSpi = "0x100",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.vpn.Manualkeyinterface;
    import com.pulumi.fortios.vpn.ManualkeyinterfaceArgs;
    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 Manualkeyinterface("trname", ManualkeyinterfaceArgs.builder()
                .addrType("4")
                .authAlg("null")
                .authKey("-")
                .encAlg("des")
                .encKey("CECA2184ACADAEEF")
                .interface_("port3")
                .ipVersion("4")
                .localGw("0.0.0.0")
                .localGw6("::")
                .localSpi("0x100")
                .remoteGw("2.2.2.2")
                .remoteGw6("::")
                .remoteSpi("0x100")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:vpn/ipsec:Manualkeyinterface
        properties:
          addrType: '4'
          authAlg: null
          authKey: '-'
          encAlg: des
          encKey: CECA2184ACADAEEF
          interface: port3
          ipVersion: '4'
          localGw: 0.0.0.0
          localGw6: '::'
          localSpi: 0x100
          remoteGw: 2.2.2.2
          remoteGw6: '::'
          remoteSpi: 0x100
    

    Create Manualkeyinterface Resource

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

    Constructor syntax

    new Manualkeyinterface(name: string, args: ManualkeyinterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def Manualkeyinterface(resource_name: str,
                           args: ManualkeyinterfaceArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def Manualkeyinterface(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           interface: Optional[str] = None,
                           auth_alg: Optional[str] = None,
                           remote_gw6: Optional[str] = None,
                           enc_alg: Optional[str] = None,
                           remote_gw: Optional[str] = None,
                           enc_key: Optional[str] = None,
                           ip_version: Optional[str] = None,
                           local_gw: Optional[str] = None,
                           local_gw6: Optional[str] = None,
                           local_spi: Optional[str] = None,
                           name: Optional[str] = None,
                           npu_offload: Optional[str] = None,
                           addr_type: Optional[str] = None,
                           auth_key: Optional[str] = None,
                           remote_spi: Optional[str] = None,
                           vdomparam: Optional[str] = None)
    func NewManualkeyinterface(ctx *Context, name string, args ManualkeyinterfaceArgs, opts ...ResourceOption) (*Manualkeyinterface, error)
    public Manualkeyinterface(string name, ManualkeyinterfaceArgs args, CustomResourceOptions? opts = null)
    public Manualkeyinterface(String name, ManualkeyinterfaceArgs args)
    public Manualkeyinterface(String name, ManualkeyinterfaceArgs args, CustomResourceOptions options)
    
    type: fortios:vpn/ipsec/manualkeyinterface:Manualkeyinterface
    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 ManualkeyinterfaceArgs
    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 ManualkeyinterfaceArgs
    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 ManualkeyinterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManualkeyinterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManualkeyinterfaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Manualkeyinterface 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 Manualkeyinterface resource accepts the following input properties:

    AuthAlg string
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    EncAlg string
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    Interface string
    Name of the physical, aggregate, or VLAN interface.
    RemoteGw string
    IPv4 address of the remote gateway's external interface.
    RemoteGw6 string
    Remote IPv6 address of VPN gateway.
    AddrType string
    IP version to use for IP packets. Valid values: 4, 6.
    AuthKey string
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    EncKey string
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    LocalGw string
    IPv4 address of the local gateway's external interface.
    LocalGw6 string
    Local IPv6 address of VPN gateway.
    LocalSpi string
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    Name string
    IPsec tunnel name.
    NpuOffload string
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    RemoteSpi string
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    AuthAlg string
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    EncAlg string
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    Interface string
    Name of the physical, aggregate, or VLAN interface.
    RemoteGw string
    IPv4 address of the remote gateway's external interface.
    RemoteGw6 string
    Remote IPv6 address of VPN gateway.
    AddrType string
    IP version to use for IP packets. Valid values: 4, 6.
    AuthKey string
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    EncKey string
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    LocalGw string
    IPv4 address of the local gateway's external interface.
    LocalGw6 string
    Local IPv6 address of VPN gateway.
    LocalSpi string
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    Name string
    IPsec tunnel name.
    NpuOffload string
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    RemoteSpi string
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    authAlg String
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    encAlg String
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    interface_ String
    Name of the physical, aggregate, or VLAN interface.
    remoteGw String
    IPv4 address of the remote gateway's external interface.
    remoteGw6 String
    Remote IPv6 address of VPN gateway.
    addrType String
    IP version to use for IP packets. Valid values: 4, 6.
    authKey String
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    encKey String
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    localGw String
    IPv4 address of the local gateway's external interface.
    localGw6 String
    Local IPv6 address of VPN gateway.
    localSpi String
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name String
    IPsec tunnel name.
    npuOffload String
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remoteSpi String
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    authAlg string
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    encAlg string
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    interface string
    Name of the physical, aggregate, or VLAN interface.
    remoteGw string
    IPv4 address of the remote gateway's external interface.
    remoteGw6 string
    Remote IPv6 address of VPN gateway.
    addrType string
    IP version to use for IP packets. Valid values: 4, 6.
    authKey string
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    encKey string
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    ipVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    localGw string
    IPv4 address of the local gateway's external interface.
    localGw6 string
    Local IPv6 address of VPN gateway.
    localSpi string
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name string
    IPsec tunnel name.
    npuOffload string
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remoteSpi string
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    auth_alg str
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    enc_alg str
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    interface str
    Name of the physical, aggregate, or VLAN interface.
    remote_gw str
    IPv4 address of the remote gateway's external interface.
    remote_gw6 str
    Remote IPv6 address of VPN gateway.
    addr_type str
    IP version to use for IP packets. Valid values: 4, 6.
    auth_key str
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    enc_key str
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    ip_version str
    IP version to use for VPN interface. Valid values: 4, 6.
    local_gw str
    IPv4 address of the local gateway's external interface.
    local_gw6 str
    Local IPv6 address of VPN gateway.
    local_spi str
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name str
    IPsec tunnel name.
    npu_offload str
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remote_spi str
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    authAlg String
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    encAlg String
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    interface String
    Name of the physical, aggregate, or VLAN interface.
    remoteGw String
    IPv4 address of the remote gateway's external interface.
    remoteGw6 String
    Remote IPv6 address of VPN gateway.
    addrType String
    IP version to use for IP packets. Valid values: 4, 6.
    authKey String
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    encKey String
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    localGw String
    IPv4 address of the local gateway's external interface.
    localGw6 String
    Local IPv6 address of VPN gateway.
    localSpi String
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name String
    IPsec tunnel name.
    npuOffload String
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remoteSpi String
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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 Manualkeyinterface 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 Manualkeyinterface Resource

    Get an existing Manualkeyinterface 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?: ManualkeyinterfaceState, opts?: CustomResourceOptions): Manualkeyinterface
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addr_type: Optional[str] = None,
            auth_alg: Optional[str] = None,
            auth_key: Optional[str] = None,
            enc_alg: Optional[str] = None,
            enc_key: Optional[str] = None,
            interface: Optional[str] = None,
            ip_version: Optional[str] = None,
            local_gw: Optional[str] = None,
            local_gw6: Optional[str] = None,
            local_spi: Optional[str] = None,
            name: Optional[str] = None,
            npu_offload: Optional[str] = None,
            remote_gw: Optional[str] = None,
            remote_gw6: Optional[str] = None,
            remote_spi: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Manualkeyinterface
    func GetManualkeyinterface(ctx *Context, name string, id IDInput, state *ManualkeyinterfaceState, opts ...ResourceOption) (*Manualkeyinterface, error)
    public static Manualkeyinterface Get(string name, Input<string> id, ManualkeyinterfaceState? state, CustomResourceOptions? opts = null)
    public static Manualkeyinterface get(String name, Output<String> id, ManualkeyinterfaceState 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:
    AddrType string
    IP version to use for IP packets. Valid values: 4, 6.
    AuthAlg string
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    AuthKey string
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    EncAlg string
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    EncKey string
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    Interface string
    Name of the physical, aggregate, or VLAN interface.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    LocalGw string
    IPv4 address of the local gateway's external interface.
    LocalGw6 string
    Local IPv6 address of VPN gateway.
    LocalSpi string
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    Name string
    IPsec tunnel name.
    NpuOffload string
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    RemoteGw string
    IPv4 address of the remote gateway's external interface.
    RemoteGw6 string
    Remote IPv6 address of VPN gateway.
    RemoteSpi string
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    AddrType string
    IP version to use for IP packets. Valid values: 4, 6.
    AuthAlg string
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    AuthKey string
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    EncAlg string
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    EncKey string
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    Interface string
    Name of the physical, aggregate, or VLAN interface.
    IpVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    LocalGw string
    IPv4 address of the local gateway's external interface.
    LocalGw6 string
    Local IPv6 address of VPN gateway.
    LocalSpi string
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    Name string
    IPsec tunnel name.
    NpuOffload string
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    RemoteGw string
    IPv4 address of the remote gateway's external interface.
    RemoteGw6 string
    Remote IPv6 address of VPN gateway.
    RemoteSpi string
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    addrType String
    IP version to use for IP packets. Valid values: 4, 6.
    authAlg String
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    authKey String
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    encAlg String
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    encKey String
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    interface_ String
    Name of the physical, aggregate, or VLAN interface.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    localGw String
    IPv4 address of the local gateway's external interface.
    localGw6 String
    Local IPv6 address of VPN gateway.
    localSpi String
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name String
    IPsec tunnel name.
    npuOffload String
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remoteGw String
    IPv4 address of the remote gateway's external interface.
    remoteGw6 String
    Remote IPv6 address of VPN gateway.
    remoteSpi String
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    addrType string
    IP version to use for IP packets. Valid values: 4, 6.
    authAlg string
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    authKey string
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    encAlg string
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    encKey string
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    interface string
    Name of the physical, aggregate, or VLAN interface.
    ipVersion string
    IP version to use for VPN interface. Valid values: 4, 6.
    localGw string
    IPv4 address of the local gateway's external interface.
    localGw6 string
    Local IPv6 address of VPN gateway.
    localSpi string
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name string
    IPsec tunnel name.
    npuOffload string
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remoteGw string
    IPv4 address of the remote gateway's external interface.
    remoteGw6 string
    Remote IPv6 address of VPN gateway.
    remoteSpi string
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    addr_type str
    IP version to use for IP packets. Valid values: 4, 6.
    auth_alg str
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    auth_key str
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    enc_alg str
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    enc_key str
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    interface str
    Name of the physical, aggregate, or VLAN interface.
    ip_version str
    IP version to use for VPN interface. Valid values: 4, 6.
    local_gw str
    IPv4 address of the local gateway's external interface.
    local_gw6 str
    Local IPv6 address of VPN gateway.
    local_spi str
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name str
    IPsec tunnel name.
    npu_offload str
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remote_gw str
    IPv4 address of the remote gateway's external interface.
    remote_gw6 str
    Remote IPv6 address of VPN gateway.
    remote_spi str
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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.
    addrType String
    IP version to use for IP packets. Valid values: 4, 6.
    authAlg String
    Authentication algorithm. Must be the same for both ends of the tunnel. Valid values: null, md5, sha1, sha256, sha384, sha512.
    authKey String
    Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
    encAlg String
    Encryption algorithm. Must be the same for both ends of the tunnel. Valid values: null, des, 3des, aes128, aes192, aes256, aria128, aria192, aria256, seed.
    encKey String
    Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
    interface String
    Name of the physical, aggregate, or VLAN interface.
    ipVersion String
    IP version to use for VPN interface. Valid values: 4, 6.
    localGw String
    IPv4 address of the local gateway's external interface.
    localGw6 String
    Local IPv6 address of VPN gateway.
    localSpi String
    Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    name String
    IPsec tunnel name.
    npuOffload String
    Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values: enable, disable.
    remoteGw String
    IPv4 address of the remote gateway's external interface.
    remoteGw6 String
    Remote IPv6 address of VPN gateway.
    remoteSpi String
    Remote SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
    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

    VpnIpsec ManualkeyInterface can be imported using any of these accepted formats:

    $ pulumi import fortios:vpn/ipsec/manualkeyinterface:Manualkeyinterface labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:vpn/ipsec/manualkeyinterface:Manualkeyinterface 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.6 published on Tuesday, Jul 9, 2024 by pulumiverse