fortios.vpn/ipsec.Manualkeyinterface
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Manualkeyinterface resource accepts the following input properties:
- Auth
Alg string - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - Enc
Alg 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.
- Remote
Gw string - IPv4 address of the remote gateway's external interface.
- Remote
Gw6 string - Remote IPv6 address of VPN gateway.
- Addr
Type string - IP version to use for IP packets. Valid values:
4
,6
. - Auth
Key string - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- Enc
Key string - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Local
Gw string - IPv4 address of the local gateway's external interface.
- Local
Gw6 string - Local IPv6 address of VPN gateway.
- Local
Spi string - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- Name string
- IPsec tunnel name.
- Npu
Offload string - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - Remote
Spi 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 string - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - Enc
Alg 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.
- Remote
Gw string - IPv4 address of the remote gateway's external interface.
- Remote
Gw6 string - Remote IPv6 address of VPN gateway.
- Addr
Type string - IP version to use for IP packets. Valid values:
4
,6
. - Auth
Key string - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- Enc
Key string - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Local
Gw string - IPv4 address of the local gateway's external interface.
- Local
Gw6 string - Local IPv6 address of VPN gateway.
- Local
Spi string - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- Name string
- IPsec tunnel name.
- Npu
Offload string - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - Remote
Spi 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 String - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - enc
Alg 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.
- remote
Gw String - IPv4 address of the remote gateway's external interface.
- remote
Gw6 String - Remote IPv6 address of VPN gateway.
- addr
Type String - IP version to use for IP packets. Valid values:
4
,6
. - auth
Key String - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- enc
Key String - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - local
Gw String - IPv4 address of the local gateway's external interface.
- local
Gw6 String - Local IPv6 address of VPN gateway.
- local
Spi String - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- name String
- IPsec tunnel name.
- npu
Offload String - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - remote
Spi 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 string - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - enc
Alg 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.
- remote
Gw string - IPv4 address of the remote gateway's external interface.
- remote
Gw6 string - Remote IPv6 address of VPN gateway.
- addr
Type string - IP version to use for IP packets. Valid values:
4
,6
. - auth
Key string - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- enc
Key string - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - local
Gw string - IPv4 address of the local gateway's external interface.
- local
Gw6 string - Local IPv6 address of VPN gateway.
- local
Spi string - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- name string
- IPsec tunnel name.
- npu
Offload string - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - remote
Spi 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.
- auth
Alg String - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - enc
Alg 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.
- remote
Gw String - IPv4 address of the remote gateway's external interface.
- remote
Gw6 String - Remote IPv6 address of VPN gateway.
- addr
Type String - IP version to use for IP packets. Valid values:
4
,6
. - auth
Key String - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- enc
Key String - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - local
Gw String - IPv4 address of the local gateway's external interface.
- local
Gw6 String - Local IPv6 address of VPN gateway.
- local
Spi String - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- name String
- IPsec tunnel name.
- npu
Offload String - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - remote
Spi 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.
- Addr
Type string - IP version to use for IP packets. Valid values:
4
,6
. - Auth
Alg string - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - Auth
Key string - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- Enc
Alg 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
. - Enc
Key string - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- Interface string
- Name of the physical, aggregate, or VLAN interface.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Local
Gw string - IPv4 address of the local gateway's external interface.
- Local
Gw6 string - Local IPv6 address of VPN gateway.
- Local
Spi string - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- Name string
- IPsec tunnel name.
- Npu
Offload string - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - Remote
Gw string - IPv4 address of the remote gateway's external interface.
- Remote
Gw6 string - Remote IPv6 address of VPN gateway.
- Remote
Spi 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 string - IP version to use for IP packets. Valid values:
4
,6
. - Auth
Alg string - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - Auth
Key string - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- Enc
Alg 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
. - Enc
Key string - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- Interface string
- Name of the physical, aggregate, or VLAN interface.
- Ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - Local
Gw string - IPv4 address of the local gateway's external interface.
- Local
Gw6 string - Local IPv6 address of VPN gateway.
- Local
Spi string - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- Name string
- IPsec tunnel name.
- Npu
Offload string - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - Remote
Gw string - IPv4 address of the remote gateway's external interface.
- Remote
Gw6 string - Remote IPv6 address of VPN gateway.
- Remote
Spi 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 String - IP version to use for IP packets. Valid values:
4
,6
. - auth
Alg String - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - auth
Key String - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- enc
Alg 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
. - enc
Key String - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- interface_ String
- Name of the physical, aggregate, or VLAN interface.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - local
Gw String - IPv4 address of the local gateway's external interface.
- local
Gw6 String - Local IPv6 address of VPN gateway.
- local
Spi String - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- name String
- IPsec tunnel name.
- npu
Offload String - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - remote
Gw String - IPv4 address of the remote gateway's external interface.
- remote
Gw6 String - Remote IPv6 address of VPN gateway.
- remote
Spi 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 string - IP version to use for IP packets. Valid values:
4
,6
. - auth
Alg string - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - auth
Key string - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- enc
Alg 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
. - enc
Key string - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- interface string
- Name of the physical, aggregate, or VLAN interface.
- ip
Version string - IP version to use for VPN interface. Valid values:
4
,6
. - local
Gw string - IPv4 address of the local gateway's external interface.
- local
Gw6 string - Local IPv6 address of VPN gateway.
- local
Spi string - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- name string
- IPsec tunnel name.
- npu
Offload string - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - remote
Gw string - IPv4 address of the remote gateway's external interface.
- remote
Gw6 string - Remote IPv6 address of VPN gateway.
- remote
Spi 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.
- addr
Type String - IP version to use for IP packets. Valid values:
4
,6
. - auth
Alg String - Authentication algorithm. Must be the same for both ends of the tunnel. Valid values:
null
,md5
,sha1
,sha256
,sha384
,sha512
. - auth
Key String - Hexadecimal authentication key in 16-digit (8-byte) segments separated by hyphens.
- enc
Alg 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
. - enc
Key String - Hexadecimal encryption key in 16-digit (8-byte) segments separated by hyphens.
- interface String
- Name of the physical, aggregate, or VLAN interface.
- ip
Version String - IP version to use for VPN interface. Valid values:
4
,6
. - local
Gw String - IPv4 address of the local gateway's external interface.
- local
Gw6 String - Local IPv6 address of VPN gateway.
- local
Spi String - Local SPI, a hexadecimal 8-digit (4-byte) tag. Discerns between two traffic streams with different encryption rules.
- name String
- IPsec tunnel name.
- npu
Offload String - Enable/disable offloading IPsec VPN manual key sessions to NPUs. Valid values:
enable
,disable
. - remote
Gw String - IPv4 address of the remote gateway's external interface.
- remote
Gw6 String - Remote IPv6 address of VPN gateway.
- remote
Spi 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.