1. Packages
  2. Panos Provider
  3. API Docs
  4. CertificateImport
panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks
panos logo
panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks

    Example Usage

    Create CertificateImport Resource

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

    Constructor syntax

    new CertificateImport(name: string, args: CertificateImportArgs, opts?: CustomResourceOptions);
    @overload
    def CertificateImport(resource_name: str,
                          args: CertificateImportArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CertificateImport(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          location: Optional[CertificateImportLocationArgs] = None,
                          local: Optional[CertificateImportLocalArgs] = None,
                          name: Optional[str] = None)
    func NewCertificateImport(ctx *Context, name string, args CertificateImportArgs, opts ...ResourceOption) (*CertificateImport, error)
    public CertificateImport(string name, CertificateImportArgs args, CustomResourceOptions? opts = null)
    public CertificateImport(String name, CertificateImportArgs args)
    public CertificateImport(String name, CertificateImportArgs args, CustomResourceOptions options)
    
    type: panos:CertificateImport
    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 CertificateImportArgs
    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 CertificateImportArgs
    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 CertificateImportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CertificateImportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CertificateImportArgs
    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 certificateImportResource = new Panos.CertificateImport("certificateImportResource", new()
    {
        Location = new Panos.Inputs.CertificateImportLocationArgs
        {
            Panorama = new Panos.Inputs.CertificateImportLocationPanoramaArgs
            {
                PanoramaDevice = "string",
            },
            Template = new Panos.Inputs.CertificateImportLocationTemplateArgs
            {
                Name = "string",
                PanoramaDevice = "string",
            },
            TemplateStack = new Panos.Inputs.CertificateImportLocationTemplateStackArgs
            {
                Name = "string",
                PanoramaDevice = "string",
            },
            TemplateStackVsys = new Panos.Inputs.CertificateImportLocationTemplateStackVsysArgs
            {
                NgfwDevice = "string",
                PanoramaDevice = "string",
                TemplateStack = "string",
                Vsys = "string",
            },
            TemplateVsys = new Panos.Inputs.CertificateImportLocationTemplateVsysArgs
            {
                NgfwDevice = "string",
                PanoramaDevice = "string",
                Template = "string",
                Vsys = "string",
            },
            Vsys = new Panos.Inputs.CertificateImportLocationVsysArgs
            {
                Name = "string",
                NgfwDevice = "string",
            },
        },
        Local = new Panos.Inputs.CertificateImportLocalArgs
        {
            Pem = new Panos.Inputs.CertificateImportLocalPemArgs
            {
                Certificate = "string",
                Passphrase = "string",
                PrivateKey = "string",
            },
            Pkcs12 = new Panos.Inputs.CertificateImportLocalPkcs12Args
            {
                Certificate = "string",
                Passphrase = "string",
            },
        },
        Name = "string",
    });
    
    example, err := panos.NewCertificateImport(ctx, "certificateImportResource", &panos.CertificateImportArgs{
    	Location: &panos.CertificateImportLocationArgs{
    		Panorama: &panos.CertificateImportLocationPanoramaArgs{
    			PanoramaDevice: pulumi.String("string"),
    		},
    		Template: &panos.CertificateImportLocationTemplateArgs{
    			Name:           pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStack: &panos.CertificateImportLocationTemplateStackArgs{
    			Name:           pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStackVsys: &panos.CertificateImportLocationTemplateStackVsysArgs{
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    			TemplateStack:  pulumi.String("string"),
    			Vsys:           pulumi.String("string"),
    		},
    		TemplateVsys: &panos.CertificateImportLocationTemplateVsysArgs{
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    			Template:       pulumi.String("string"),
    			Vsys:           pulumi.String("string"),
    		},
    		Vsys: &panos.CertificateImportLocationVsysArgs{
    			Name:       pulumi.String("string"),
    			NgfwDevice: pulumi.String("string"),
    		},
    	},
    	Local: &panos.CertificateImportLocalArgs{
    		Pem: &panos.CertificateImportLocalPemArgs{
    			Certificate: pulumi.String("string"),
    			Passphrase:  pulumi.String("string"),
    			PrivateKey:  pulumi.String("string"),
    		},
    		Pkcs12: &panos.CertificateImportLocalPkcs12Args{
    			Certificate: pulumi.String("string"),
    			Passphrase:  pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    })
    
    var certificateImportResource = new CertificateImport("certificateImportResource", CertificateImportArgs.builder()
        .location(CertificateImportLocationArgs.builder()
            .panorama(CertificateImportLocationPanoramaArgs.builder()
                .panoramaDevice("string")
                .build())
            .template(CertificateImportLocationTemplateArgs.builder()
                .name("string")
                .panoramaDevice("string")
                .build())
            .templateStack(CertificateImportLocationTemplateStackArgs.builder()
                .name("string")
                .panoramaDevice("string")
                .build())
            .templateStackVsys(CertificateImportLocationTemplateStackVsysArgs.builder()
                .ngfwDevice("string")
                .panoramaDevice("string")
                .templateStack("string")
                .vsys("string")
                .build())
            .templateVsys(CertificateImportLocationTemplateVsysArgs.builder()
                .ngfwDevice("string")
                .panoramaDevice("string")
                .template("string")
                .vsys("string")
                .build())
            .vsys(CertificateImportLocationVsysArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .build())
            .build())
        .local(CertificateImportLocalArgs.builder()
            .pem(CertificateImportLocalPemArgs.builder()
                .certificate("string")
                .passphrase("string")
                .privateKey("string")
                .build())
            .pkcs12(CertificateImportLocalPkcs12Args.builder()
                .certificate("string")
                .passphrase("string")
                .build())
            .build())
        .name("string")
        .build());
    
    certificate_import_resource = panos.CertificateImport("certificateImportResource",
        location={
            "panorama": {
                "panorama_device": "string",
            },
            "template": {
                "name": "string",
                "panorama_device": "string",
            },
            "template_stack": {
                "name": "string",
                "panorama_device": "string",
            },
            "template_stack_vsys": {
                "ngfw_device": "string",
                "panorama_device": "string",
                "template_stack": "string",
                "vsys": "string",
            },
            "template_vsys": {
                "ngfw_device": "string",
                "panorama_device": "string",
                "template": "string",
                "vsys": "string",
            },
            "vsys": {
                "name": "string",
                "ngfw_device": "string",
            },
        },
        local={
            "pem": {
                "certificate": "string",
                "passphrase": "string",
                "private_key": "string",
            },
            "pkcs12": {
                "certificate": "string",
                "passphrase": "string",
            },
        },
        name="string")
    
    const certificateImportResource = new panos.CertificateImport("certificateImportResource", {
        location: {
            panorama: {
                panoramaDevice: "string",
            },
            template: {
                name: "string",
                panoramaDevice: "string",
            },
            templateStack: {
                name: "string",
                panoramaDevice: "string",
            },
            templateStackVsys: {
                ngfwDevice: "string",
                panoramaDevice: "string",
                templateStack: "string",
                vsys: "string",
            },
            templateVsys: {
                ngfwDevice: "string",
                panoramaDevice: "string",
                template: "string",
                vsys: "string",
            },
            vsys: {
                name: "string",
                ngfwDevice: "string",
            },
        },
        local: {
            pem: {
                certificate: "string",
                passphrase: "string",
                privateKey: "string",
            },
            pkcs12: {
                certificate: "string",
                passphrase: "string",
            },
        },
        name: "string",
    });
    
    type: panos:CertificateImport
    properties:
        local:
            pem:
                certificate: string
                passphrase: string
                privateKey: string
            pkcs12:
                certificate: string
                passphrase: string
        location:
            panorama:
                panoramaDevice: string
            template:
                name: string
                panoramaDevice: string
            templateStack:
                name: string
                panoramaDevice: string
            templateStackVsys:
                ngfwDevice: string
                panoramaDevice: string
                templateStack: string
                vsys: string
            templateVsys:
                ngfwDevice: string
                panoramaDevice: string
                template: string
                vsys: string
            vsys:
                name: string
                ngfwDevice: string
        name: string
    

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

    location Property Map
    The location of this object.
    local Property Map
    name String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CertificateImport 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 CertificateImport Resource

    Get an existing CertificateImport 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?: CertificateImportState, opts?: CustomResourceOptions): CertificateImport
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            local: Optional[CertificateImportLocalArgs] = None,
            location: Optional[CertificateImportLocationArgs] = None,
            name: Optional[str] = None) -> CertificateImport
    func GetCertificateImport(ctx *Context, name string, id IDInput, state *CertificateImportState, opts ...ResourceOption) (*CertificateImport, error)
    public static CertificateImport Get(string name, Input<string> id, CertificateImportState? state, CustomResourceOptions? opts = null)
    public static CertificateImport get(String name, Output<String> id, CertificateImportState state, CustomResourceOptions options)
    resources:  _:    type: panos:CertificateImport    get:      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:
    local Property Map
    location Property Map
    The location of this object.
    name String

    Supporting Types

    CertificateImportLocal, CertificateImportLocalArgs

    CertificateImportLocalPem, CertificateImportLocalPemArgs

    Certificate string
    Passphrase string
    PrivateKey string
    Certificate string
    Passphrase string
    PrivateKey string
    certificate String
    passphrase String
    privateKey String
    certificate string
    passphrase string
    privateKey string
    certificate String
    passphrase String
    privateKey String

    CertificateImportLocalPkcs12, CertificateImportLocalPkcs12Args

    Certificate string
    Passphrase string
    Certificate string
    Passphrase string
    certificate String
    passphrase String
    certificate string
    passphrase string
    certificate String
    passphrase String

    CertificateImportLocation, CertificateImportLocationArgs

    Panorama CertificateImportLocationPanorama
    Located in a specific Panorama.
    Template CertificateImportLocationTemplate
    Located in a specific template
    TemplateStack CertificateImportLocationTemplateStack
    Located in a specific template
    TemplateStackVsys CertificateImportLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    TemplateVsys CertificateImportLocationTemplateVsys
    Located in a specific template, device and vsys.
    Vsys CertificateImportLocationVsys
    Located in a specific Virtual System
    Panorama CertificateImportLocationPanorama
    Located in a specific Panorama.
    Template CertificateImportLocationTemplate
    Located in a specific template
    TemplateStack CertificateImportLocationTemplateStack
    Located in a specific template
    TemplateStackVsys CertificateImportLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    TemplateVsys CertificateImportLocationTemplateVsys
    Located in a specific template, device and vsys.
    Vsys CertificateImportLocationVsys
    Located in a specific Virtual System
    panorama CertificateImportLocationPanorama
    Located in a specific Panorama.
    template CertificateImportLocationTemplate
    Located in a specific template
    templateStack CertificateImportLocationTemplateStack
    Located in a specific template
    templateStackVsys CertificateImportLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    templateVsys CertificateImportLocationTemplateVsys
    Located in a specific template, device and vsys.
    vsys CertificateImportLocationVsys
    Located in a specific Virtual System
    panorama CertificateImportLocationPanorama
    Located in a specific Panorama.
    template CertificateImportLocationTemplate
    Located in a specific template
    templateStack CertificateImportLocationTemplateStack
    Located in a specific template
    templateStackVsys CertificateImportLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    templateVsys CertificateImportLocationTemplateVsys
    Located in a specific template, device and vsys.
    vsys CertificateImportLocationVsys
    Located in a specific Virtual System
    panorama CertificateImportLocationPanorama
    Located in a specific Panorama.
    template CertificateImportLocationTemplate
    Located in a specific template
    template_stack CertificateImportLocationTemplateStack
    Located in a specific template
    template_stack_vsys CertificateImportLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    template_vsys CertificateImportLocationTemplateVsys
    Located in a specific template, device and vsys.
    vsys CertificateImportLocationVsys
    Located in a specific Virtual System
    panorama Property Map
    Located in a specific Panorama.
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template
    templateStackVsys Property Map
    Located in a specific template, device and vsys.
    templateVsys Property Map
    Located in a specific template, device and vsys.
    vsys Property Map
    Located in a specific Virtual System

    CertificateImportLocationPanorama, CertificateImportLocationPanoramaArgs

    PanoramaDevice string
    The Panorama device.
    PanoramaDevice string
    The Panorama device.
    panoramaDevice String
    The Panorama device.
    panoramaDevice string
    The Panorama device.
    panorama_device str
    The Panorama device.
    panoramaDevice String
    The Panorama device.

    CertificateImportLocationTemplate, CertificateImportLocationTemplateArgs

    Name string
    Specific Panorama template
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template
    panoramaDevice String
    Specific Panorama device

    CertificateImportLocationTemplateStack, CertificateImportLocationTemplateStackArgs

    Name string
    The template stack
    PanoramaDevice string
    Specific Panorama device
    Name string
    The template stack
    PanoramaDevice string
    Specific Panorama device
    name String
    The template stack
    panoramaDevice String
    Specific Panorama device
    name string
    The template stack
    panoramaDevice string
    Specific Panorama device
    name str
    The template stack
    panorama_device str
    Specific Panorama device
    name String
    The template stack
    panoramaDevice String
    Specific Panorama device

    CertificateImportLocationTemplateStackVsys, CertificateImportLocationTemplateStackVsysArgs

    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    TemplateStack string
    The template stack
    Vsys string
    The vsys.
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    TemplateStack string
    The template stack
    Vsys string
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    templateStack String
    The template stack
    vsys String
    The vsys.
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    templateStack string
    The template stack
    vsys string
    The vsys.
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    template_stack str
    The template stack
    vsys str
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    templateStack String
    The template stack
    vsys String
    The vsys.

    CertificateImportLocationTemplateVsys, CertificateImportLocationTemplateVsysArgs

    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Template string
    Specific Panorama template
    Vsys string
    The vsys.
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Template string
    Specific Panorama template
    Vsys string
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    template String
    Specific Panorama template
    vsys String
    The vsys.
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    template string
    Specific Panorama template
    vsys string
    The vsys.
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    template str
    Specific Panorama template
    vsys str
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    template String
    Specific Panorama template
    vsys String
    The vsys.

    CertificateImportLocationVsys, CertificateImportLocationVsysArgs

    Name string
    The Virtual System name
    NgfwDevice string
    The NGFW device name
    Name string
    The Virtual System name
    NgfwDevice string
    The NGFW device name
    name String
    The Virtual System name
    ngfwDevice String
    The NGFW device name
    name string
    The Virtual System name
    ngfwDevice string
    The NGFW device name
    name str
    The Virtual System name
    ngfw_device str
    The NGFW device name
    name String
    The Virtual System name
    ngfwDevice String
    The NGFW device name

    Package Details

    Repository
    panos paloaltonetworks/terraform-provider-panos
    License
    Notes
    This Pulumi package is based on the panos Terraform Provider.
    panos logo
    panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks
      Meet Neo: Your AI Platform Teammate