1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. IpsecProfile
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger

    An IPSec profile (vpn.ipsecprofile): an IKE policy and an IPSec policy applied together to tunnels.

    From the official documentation:

    An IPSec profile defines an IKE policy, IPSec policy, and IPSec mode used for establishing an IPSec tunnel.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = new netbox.IkeProposal("test", {
        name: "test-ike-proposal",
        authenticationMethod: "preshared-keys",
        encryptionAlgorithm: "aes-256-cbc",
        group: 14,
    });
    const testIkePolicy = new netbox.IkePolicy("test", {
        name: "test-ike-policy",
        version: 2,
        ikeProposalIds: [test.ikeProposalId],
    });
    const testIpsecProposal = new netbox.IpsecProposal("test", {
        name: "test-ipsec-proposal",
        encryptionAlgorithm: "aes-256-cbc",
    });
    const testIpsecPolicy = new netbox.IpsecPolicy("test", {
        name: "test-ipsec-policy",
        ipsecProposalIds: [testIpsecProposal.ipsecProposalId],
    });
    const testIpsecProfile = new netbox.IpsecProfile("test", {
        name: "test-ipsec-profile",
        mode: "esp",
        ikePolicyId: testIkePolicy.ikePolicyId,
        ipsecPolicyId: testIpsecPolicy.ipsecPolicyId,
        description: "test-description",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.IkeProposal("test",
        name="test-ike-proposal",
        authentication_method="preshared-keys",
        encryption_algorithm="aes-256-cbc",
        group=14)
    test_ike_policy = netbox.IkePolicy("test",
        name="test-ike-policy",
        version=2,
        ike_proposal_ids=[test.ike_proposal_id])
    test_ipsec_proposal = netbox.IpsecProposal("test",
        name="test-ipsec-proposal",
        encryption_algorithm="aes-256-cbc")
    test_ipsec_policy = netbox.IpsecPolicy("test",
        name="test-ipsec-policy",
        ipsec_proposal_ids=[test_ipsec_proposal.ipsec_proposal_id])
    test_ipsec_profile = netbox.IpsecProfile("test",
        name="test-ipsec-profile",
        mode="esp",
        ike_policy_id=test_ike_policy.ike_policy_id,
        ipsec_policy_id=test_ipsec_policy.ipsec_policy_id,
        description="test-description")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := netbox.NewIkeProposal(ctx, "test", &netbox.IkeProposalArgs{
    			Name:                 pulumi.String("test-ike-proposal"),
    			AuthenticationMethod: pulumi.String("preshared-keys"),
    			EncryptionAlgorithm:  pulumi.String("aes-256-cbc"),
    			Group:                pulumi.Float64(14),
    		})
    		if err != nil {
    			return err
    		}
    		testIkePolicy, err := netbox.NewIkePolicy(ctx, "test", &netbox.IkePolicyArgs{
    			Name:    pulumi.String("test-ike-policy"),
    			Version: pulumi.Float64(2),
    			IkeProposalIds: pulumi.Float64Array{
    				test.IkeProposalId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		testIpsecProposal, err := netbox.NewIpsecProposal(ctx, "test", &netbox.IpsecProposalArgs{
    			Name:                pulumi.String("test-ipsec-proposal"),
    			EncryptionAlgorithm: pulumi.String("aes-256-cbc"),
    		})
    		if err != nil {
    			return err
    		}
    		testIpsecPolicy, err := netbox.NewIpsecPolicy(ctx, "test", &netbox.IpsecPolicyArgs{
    			Name: pulumi.String("test-ipsec-policy"),
    			IpsecProposalIds: pulumi.Float64Array{
    				testIpsecProposal.IpsecProposalId,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = netbox.NewIpsecProfile(ctx, "test", &netbox.IpsecProfileArgs{
    			Name:          pulumi.String("test-ipsec-profile"),
    			Mode:          pulumi.String("esp"),
    			IkePolicyId:   testIkePolicy.IkePolicyId,
    			IpsecPolicyId: testIpsecPolicy.IpsecPolicyId,
    			Description:   pulumi.String("test-description"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Netbox = Pulumi.Netbox;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Netbox.IkeProposal("test", new()
        {
            Name = "test-ike-proposal",
            AuthenticationMethod = "preshared-keys",
            EncryptionAlgorithm = "aes-256-cbc",
            Group = 14,
        });
    
        var testIkePolicy = new Netbox.IkePolicy("test", new()
        {
            Name = "test-ike-policy",
            Version = 2,
            IkeProposalIds = new[]
            {
                test.IkeProposalId,
            },
        });
    
        var testIpsecProposal = new Netbox.IpsecProposal("test", new()
        {
            Name = "test-ipsec-proposal",
            EncryptionAlgorithm = "aes-256-cbc",
        });
    
        var testIpsecPolicy = new Netbox.IpsecPolicy("test", new()
        {
            Name = "test-ipsec-policy",
            IpsecProposalIds = new[]
            {
                testIpsecProposal.IpsecProposalId,
            },
        });
    
        var testIpsecProfile = new Netbox.IpsecProfile("test", new()
        {
            Name = "test-ipsec-profile",
            Mode = "esp",
            IkePolicyId = testIkePolicy.IkePolicyId,
            IpsecPolicyId = testIpsecPolicy.IpsecPolicyId,
            Description = "test-description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netbox.IkeProposal;
    import com.pulumi.netbox.IkeProposalArgs;
    import com.pulumi.netbox.IkePolicy;
    import com.pulumi.netbox.IkePolicyArgs;
    import com.pulumi.netbox.IpsecProposal;
    import com.pulumi.netbox.IpsecProposalArgs;
    import com.pulumi.netbox.IpsecPolicy;
    import com.pulumi.netbox.IpsecPolicyArgs;
    import com.pulumi.netbox.IpsecProfile;
    import com.pulumi.netbox.IpsecProfileArgs;
    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 test = new IkeProposal("test", IkeProposalArgs.builder()
                .name("test-ike-proposal")
                .authenticationMethod("preshared-keys")
                .encryptionAlgorithm("aes-256-cbc")
                .group(14.0)
                .build());
    
            var testIkePolicy = new IkePolicy("testIkePolicy", IkePolicyArgs.builder()
                .name("test-ike-policy")
                .version(2.0)
                .ikeProposalIds(test.ikeProposalId())
                .build());
    
            var testIpsecProposal = new IpsecProposal("testIpsecProposal", IpsecProposalArgs.builder()
                .name("test-ipsec-proposal")
                .encryptionAlgorithm("aes-256-cbc")
                .build());
    
            var testIpsecPolicy = new IpsecPolicy("testIpsecPolicy", IpsecPolicyArgs.builder()
                .name("test-ipsec-policy")
                .ipsecProposalIds(testIpsecProposal.ipsecProposalId())
                .build());
    
            var testIpsecProfile = new IpsecProfile("testIpsecProfile", IpsecProfileArgs.builder()
                .name("test-ipsec-profile")
                .mode("esp")
                .ikePolicyId(testIkePolicy.ikePolicyId())
                .ipsecPolicyId(testIpsecPolicy.ipsecPolicyId())
                .description("test-description")
                .build());
    
        }
    }
    
    resources:
      test:
        type: netbox:IkeProposal
        properties:
          name: test-ike-proposal
          authenticationMethod: preshared-keys
          encryptionAlgorithm: aes-256-cbc
          group: 14
      testIkePolicy:
        type: netbox:IkePolicy
        name: test
        properties:
          name: test-ike-policy
          version: 2
          ikeProposalIds:
            - ${test.ikeProposalId}
      testIpsecProposal:
        type: netbox:IpsecProposal
        name: test
        properties:
          name: test-ipsec-proposal
          encryptionAlgorithm: aes-256-cbc
      testIpsecPolicy:
        type: netbox:IpsecPolicy
        name: test
        properties:
          name: test-ipsec-policy
          ipsecProposalIds:
            - ${testIpsecProposal.ipsecProposalId}
      testIpsecProfile:
        type: netbox:IpsecProfile
        name: test
        properties:
          name: test-ipsec-profile
          mode: esp
          ikePolicyId: ${testIkePolicy.ikePolicyId}
          ipsecPolicyId: ${testIpsecPolicy.ipsecPolicyId}
          description: test-description
    
    Example coming soon!
    

    Create IpsecProfile Resource

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

    Constructor syntax

    new IpsecProfile(name: string, args: IpsecProfileArgs, opts?: CustomResourceOptions);
    @overload
    def IpsecProfile(resource_name: str,
                     args: IpsecProfileArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpsecProfile(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     ike_policy_id: Optional[float] = None,
                     ipsec_policy_id: Optional[float] = None,
                     mode: Optional[str] = None,
                     comments: Optional[str] = None,
                     custom_fields: Optional[Mapping[str, str]] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None,
                     owner_id: Optional[float] = None,
                     tags: Optional[Sequence[str]] = None)
    func NewIpsecProfile(ctx *Context, name string, args IpsecProfileArgs, opts ...ResourceOption) (*IpsecProfile, error)
    public IpsecProfile(string name, IpsecProfileArgs args, CustomResourceOptions? opts = null)
    public IpsecProfile(String name, IpsecProfileArgs args)
    public IpsecProfile(String name, IpsecProfileArgs args, CustomResourceOptions options)
    
    type: netbox:IpsecProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "netbox_ipsec_profile" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args IpsecProfileArgs
    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 IpsecProfileArgs
    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 IpsecProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpsecProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpsecProfileArgs
    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 ipsecProfileResource = new Netbox.IpsecProfile("ipsecProfileResource", new()
    {
        IkePolicyId = 0.0,
        IpsecPolicyId = 0.0,
        Mode = "string",
        Comments = "string",
        CustomFields = 
        {
            { "string", "string" },
        },
        Description = "string",
        Name = "string",
        OwnerId = 0.0,
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := netbox.NewIpsecProfile(ctx, "ipsecProfileResource", &netbox.IpsecProfileArgs{
    	IkePolicyId:   pulumi.Float64(0),
    	IpsecPolicyId: pulumi.Float64(0),
    	Mode:          pulumi.String("string"),
    	Comments:      pulumi.String("string"),
    	CustomFields: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	OwnerId:     pulumi.Float64(0),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "netbox_ipsec_profile" "ipsecProfileResource" {
      lifecycle {
        create_before_destroy = true
      }
      ike_policy_id   = 0
      ipsec_policy_id = 0
      mode            = "string"
      comments        = "string"
      custom_fields = {
        "string" = "string"
      }
      description = "string"
      name        = "string"
      owner_id    = 0
      tags        = ["string"]
    }
    
    var ipsecProfileResource = new IpsecProfile("ipsecProfileResource", IpsecProfileArgs.builder()
        .ikePolicyId(0.0)
        .ipsecPolicyId(0.0)
        .mode("string")
        .comments("string")
        .customFields(Map.of("string", "string"))
        .description("string")
        .name("string")
        .ownerId(0.0)
        .tags("string")
        .build());
    
    ipsec_profile_resource = netbox.IpsecProfile("ipsecProfileResource",
        ike_policy_id=float(0),
        ipsec_policy_id=float(0),
        mode="string",
        comments="string",
        custom_fields={
            "string": "string",
        },
        description="string",
        name="string",
        owner_id=float(0),
        tags=["string"])
    
    const ipsecProfileResource = new netbox.IpsecProfile("ipsecProfileResource", {
        ikePolicyId: 0,
        ipsecPolicyId: 0,
        mode: "string",
        comments: "string",
        customFields: {
            string: "string",
        },
        description: "string",
        name: "string",
        ownerId: 0,
        tags: ["string"],
    });
    
    type: netbox:IpsecProfile
    properties:
        comments: string
        customFields:
            string: string
        description: string
        ikePolicyId: 0
        ipsecPolicyId: 0
        mode: string
        name: string
        ownerId: 0
        tags:
            - string
    

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

    IkePolicyId double
    Id of the IKE policy.
    IpsecPolicyId double
    Id of the IPSec policy.
    Mode string
    IPSec mode. One of: esp, ah.
    Comments string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    Description string
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    IkePolicyId float64
    Id of the IKE policy.
    IpsecPolicyId float64
    Id of the IPSec policy.
    Mode string
    IPSec mode. One of: esp, ah.
    Comments string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    Description string
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    ike_policy_id number
    Id of the IKE policy.
    ipsec_policy_id number
    Id of the IPSec policy.
    mode string
    IPSec mode. One of: esp, ah.
    comments string
    custom_fields map(string)
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description string
    name string
    owner_id number
    Id of the owner the object is assigned to.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    ikePolicyId Double
    Id of the IKE policy.
    ipsecPolicyId Double
    Id of the IPSec policy.
    mode String
    IPSec mode. One of: esp, ah.
    comments String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description String
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    ikePolicyId number
    Id of the IKE policy.
    ipsecPolicyId number
    Id of the IPSec policy.
    mode string
    IPSec mode. One of: esp, ah.
    comments string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description string
    name string
    ownerId number
    Id of the owner the object is assigned to.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    ike_policy_id float
    Id of the IKE policy.
    ipsec_policy_id float
    Id of the IPSec policy.
    mode str
    IPSec mode. One of: esp, ah.
    comments str
    custom_fields Mapping[str, str]
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description str
    name str
    owner_id float
    Id of the owner the object is assigned to.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    ikePolicyId Number
    Id of the IKE policy.
    ipsecPolicyId Number
    Id of the IPSec policy.
    mode String
    IPSec mode. One of: esp, ah.
    comments String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description String
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpsecProfile resource produces the following output properties:

    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    IpsecProfileId double
    NetBox id.
    LastUpdated string
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    IpsecProfileId float64
    NetBox id.
    LastUpdated string
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    ipsec_profile_id number
    NetBox id.
    last_updated string
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    ipsecProfileId Double
    NetBox id.
    lastUpdated String
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    ipsecProfileId number
    NetBox id.
    lastUpdated string
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    created str
    id str
    The provider-assigned unique ID for this managed resource.
    ipsec_profile_id float
    NetBox id.
    last_updated str
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    url str
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    ipsecProfileId Number
    NetBox id.
    lastUpdated String
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String

    Look up Existing IpsecProfile Resource

    Get an existing IpsecProfile 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?: IpsecProfileState, opts?: CustomResourceOptions): IpsecProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comments: Optional[str] = None,
            created: Optional[str] = None,
            custom_fields: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            ike_policy_id: Optional[float] = None,
            ipsec_policy_id: Optional[float] = None,
            ipsec_profile_id: Optional[float] = None,
            last_updated: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            owner_id: Optional[float] = None,
            tags: Optional[Sequence[str]] = None,
            tags_alls: Optional[Sequence[str]] = None,
            url: Optional[str] = None) -> IpsecProfile
    func GetIpsecProfile(ctx *Context, name string, id IDInput, state *IpsecProfileState, opts ...ResourceOption) (*IpsecProfile, error)
    public static IpsecProfile Get(string name, Input<string> id, IpsecProfileState? state, CustomResourceOptions? opts = null)
    public static IpsecProfile get(String name, Output<String> id, IpsecProfileState state, CustomResourceOptions options)
    resources:  _:    type: netbox:IpsecProfile    get:      id: ${id}
    import {
      to = netbox_ipsec_profile.example
      id = "${id}"
    }
    
    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:
    Comments string
    Created string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    Description string
    IkePolicyId double
    Id of the IKE policy.
    IpsecPolicyId double
    Id of the IPSec policy.
    IpsecProfileId double
    NetBox id.
    LastUpdated string
    Mode string
    IPSec mode. One of: esp, ah.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    Comments string
    Created string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    Description string
    IkePolicyId float64
    Id of the IKE policy.
    IpsecPolicyId float64
    Id of the IPSec policy.
    IpsecProfileId float64
    NetBox id.
    LastUpdated string
    Mode string
    IPSec mode. One of: esp, ah.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    comments string
    created string
    custom_fields map(string)
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description string
    ike_policy_id number
    Id of the IKE policy.
    ipsec_policy_id number
    Id of the IPSec policy.
    ipsec_profile_id number
    NetBox id.
    last_updated string
    mode string
    IPSec mode. One of: esp, ah.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    comments String
    created String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description String
    ikePolicyId Double
    Id of the IKE policy.
    ipsecPolicyId Double
    Id of the IPSec policy.
    ipsecProfileId Double
    NetBox id.
    lastUpdated String
    mode String
    IPSec mode. One of: esp, ah.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    comments string
    created string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description string
    ikePolicyId number
    Id of the IKE policy.
    ipsecPolicyId number
    Id of the IPSec policy.
    ipsecProfileId number
    NetBox id.
    lastUpdated string
    mode string
    IPSec mode. One of: esp, ah.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    comments str
    created str
    custom_fields Mapping[str, str]
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description str
    ike_policy_id float
    Id of the IKE policy.
    ipsec_policy_id float
    Id of the IPSec policy.
    ipsec_profile_id float
    NetBox id.
    last_updated str
    mode str
    IPSec mode. One of: esp, ah.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    url str
    comments String
    created String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description String
    ikePolicyId Number
    Id of the IKE policy.
    ipsecPolicyId Number
    Id of the IPSec policy.
    ipsecProfileId Number
    NetBox id.
    lastUpdated String
    mode String
    IPSec mode. One of: esp, ah.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = netbox_ipsec_profile.test

    id = “123”

    }

    The pulumi import command can be used, for example:

    $ pulumi import netbox:index/ipsecProfile:IpsecProfile test 123
    

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

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial