1. Packages
  2. Panos Provider
  3. API Docs
  4. getCertificate
panos 2.0.2 published on Friday, Jun 6, 2025 by paloaltonetworks

panos.getCertificate

Explore with Pulumi AI

panos logo
panos 2.0.2 published on Friday, Jun 6, 2025 by paloaltonetworks

    Using getCertificate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
    function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
    def get_certificate(algorithm: Optional[str] = None,
                        ca: Optional[bool] = None,
                        cloud_resource_id: Optional[GetCertificateCloudResourceId] = None,
                        common_name: Optional[str] = None,
                        csr: Optional[str] = None,
                        expiry_epoch: Optional[str] = None,
                        issuer: Optional[str] = None,
                        issuer_hash: Optional[str] = None,
                        location: Optional[GetCertificateLocation] = None,
                        name: Optional[str] = None,
                        not_valid_after: Optional[str] = None,
                        not_valid_before: Optional[str] = None,
                        private_key: Optional[str] = None,
                        private_key_on_hsm: Optional[bool] = None,
                        public_key: Optional[str] = None,
                        revoke_date_epoch: Optional[str] = None,
                        status: Optional[str] = None,
                        subject: Optional[str] = None,
                        subject_hash: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCertificateResult
    def get_certificate_output(algorithm: Optional[pulumi.Input[str]] = None,
                        ca: Optional[pulumi.Input[bool]] = None,
                        cloud_resource_id: Optional[pulumi.Input[GetCertificateCloudResourceIdArgs]] = None,
                        common_name: Optional[pulumi.Input[str]] = None,
                        csr: Optional[pulumi.Input[str]] = None,
                        expiry_epoch: Optional[pulumi.Input[str]] = None,
                        issuer: Optional[pulumi.Input[str]] = None,
                        issuer_hash: Optional[pulumi.Input[str]] = None,
                        location: Optional[pulumi.Input[GetCertificateLocationArgs]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        not_valid_after: Optional[pulumi.Input[str]] = None,
                        not_valid_before: Optional[pulumi.Input[str]] = None,
                        private_key: Optional[pulumi.Input[str]] = None,
                        private_key_on_hsm: Optional[pulumi.Input[bool]] = None,
                        public_key: Optional[pulumi.Input[str]] = None,
                        revoke_date_epoch: Optional[pulumi.Input[str]] = None,
                        status: Optional[pulumi.Input[str]] = None,
                        subject: Optional[pulumi.Input[str]] = None,
                        subject_hash: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]
    func GetCertificate(ctx *Context, args *GetCertificateArgs, opts ...InvokeOption) (*GetCertificateResult, error)
    func GetCertificateOutput(ctx *Context, args *GetCertificateOutputArgs, opts ...InvokeOption) GetCertificateResultOutput

    > Note: This function is named GetCertificate in the Go SDK.

    public static class GetCertificate 
    {
        public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
    public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: panos:index/getCertificate:getCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    location Property Map
    The location of this object.
    name String
    algorithm String
    ca Boolean
    cloudResourceId Property Map
    commonName String
    csr String
    expiryEpoch String
    issuer String
    issuerHash String
    notValidAfter String
    notValidBefore String
    privateKey String
    privateKeyOnHsm Boolean
    publicKey String
    revokeDateEpoch String
    status String
    subject String
    subjectHash String

    getCertificate Result

    The following output properties are available:

    Algorithm string
    Ca bool
    CloudResourceId GetCertificateCloudResourceId
    CommonName string
    Csr string
    ExpiryEpoch string
    Id string
    The provider-assigned unique ID for this managed resource.
    Issuer string
    IssuerHash string
    Location GetCertificateLocation
    The location of this object.
    Name string
    NotValidAfter string
    NotValidBefore string
    PrivateKey string
    PrivateKeyOnHsm bool
    PublicKey string
    RevokeDateEpoch string
    Status string
    Subject string
    SubjectHash string
    Algorithm string
    Ca bool
    CloudResourceId GetCertificateCloudResourceId
    CommonName string
    Csr string
    ExpiryEpoch string
    Id string
    The provider-assigned unique ID for this managed resource.
    Issuer string
    IssuerHash string
    Location GetCertificateLocation
    The location of this object.
    Name string
    NotValidAfter string
    NotValidBefore string
    PrivateKey string
    PrivateKeyOnHsm bool
    PublicKey string
    RevokeDateEpoch string
    Status string
    Subject string
    SubjectHash string
    algorithm String
    ca Boolean
    cloudResourceId GetCertificateCloudResourceId
    commonName String
    csr String
    expiryEpoch String
    id String
    The provider-assigned unique ID for this managed resource.
    issuer String
    issuerHash String
    location GetCertificateLocation
    The location of this object.
    name String
    notValidAfter String
    notValidBefore String
    privateKey String
    privateKeyOnHsm Boolean
    publicKey String
    revokeDateEpoch String
    status String
    subject String
    subjectHash String
    algorithm string
    ca boolean
    cloudResourceId GetCertificateCloudResourceId
    commonName string
    csr string
    expiryEpoch string
    id string
    The provider-assigned unique ID for this managed resource.
    issuer string
    issuerHash string
    location GetCertificateLocation
    The location of this object.
    name string
    notValidAfter string
    notValidBefore string
    privateKey string
    privateKeyOnHsm boolean
    publicKey string
    revokeDateEpoch string
    status string
    subject string
    subjectHash string
    algorithm String
    ca Boolean
    cloudResourceId Property Map
    commonName String
    csr String
    expiryEpoch String
    id String
    The provider-assigned unique ID for this managed resource.
    issuer String
    issuerHash String
    location Property Map
    The location of this object.
    name String
    notValidAfter String
    notValidBefore String
    privateKey String
    privateKeyOnHsm Boolean
    publicKey String
    revokeDateEpoch String
    status String
    subject String
    subjectHash String

    Supporting Types

    GetCertificateCloudResourceId

    GetCertificateCloudResourceIdAws

    Secret string
    Cloud Secret Name
    Secret string
    Cloud Secret Name
    secret String
    Cloud Secret Name
    secret string
    Cloud Secret Name
    secret str
    Cloud Secret Name
    secret String
    Cloud Secret Name

    GetCertificateCloudResourceIdAzure

    KeyVaultUri string
    Azure Key Vault URI
    Secret string
    Cloud Secret Name
    KeyVaultUri string
    Azure Key Vault URI
    Secret string
    Cloud Secret Name
    keyVaultUri String
    Azure Key Vault URI
    secret String
    Cloud Secret Name
    keyVaultUri string
    Azure Key Vault URI
    secret string
    Cloud Secret Name
    key_vault_uri str
    Azure Key Vault URI
    secret str
    Cloud Secret Name
    keyVaultUri String
    Azure Key Vault URI
    secret String
    Cloud Secret Name

    GetCertificateLocation

    Panorama GetCertificateLocationPanorama
    Located in a panorama.
    Template GetCertificateLocationTemplate
    Located in a specific template
    TemplateStack GetCertificateLocationTemplateStack
    Located in a specific template
    TemplateStackVsys GetCertificateLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    TemplateVsys GetCertificateLocationTemplateVsys
    Located in a specific template, device and vsys.
    Vsys GetCertificateLocationVsys
    Located in a specific Virtual System
    Panorama GetCertificateLocationPanorama
    Located in a panorama.
    Template GetCertificateLocationTemplate
    Located in a specific template
    TemplateStack GetCertificateLocationTemplateStack
    Located in a specific template
    TemplateStackVsys GetCertificateLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    TemplateVsys GetCertificateLocationTemplateVsys
    Located in a specific template, device and vsys.
    Vsys GetCertificateLocationVsys
    Located in a specific Virtual System
    panorama GetCertificateLocationPanorama
    Located in a panorama.
    template GetCertificateLocationTemplate
    Located in a specific template
    templateStack GetCertificateLocationTemplateStack
    Located in a specific template
    templateStackVsys GetCertificateLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    templateVsys GetCertificateLocationTemplateVsys
    Located in a specific template, device and vsys.
    vsys GetCertificateLocationVsys
    Located in a specific Virtual System
    panorama GetCertificateLocationPanorama
    Located in a panorama.
    template GetCertificateLocationTemplate
    Located in a specific template
    templateStack GetCertificateLocationTemplateStack
    Located in a specific template
    templateStackVsys GetCertificateLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    templateVsys GetCertificateLocationTemplateVsys
    Located in a specific template, device and vsys.
    vsys GetCertificateLocationVsys
    Located in a specific Virtual System
    panorama GetCertificateLocationPanorama
    Located in a panorama.
    template GetCertificateLocationTemplate
    Located in a specific template
    template_stack GetCertificateLocationTemplateStack
    Located in a specific template
    template_stack_vsys GetCertificateLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    template_vsys GetCertificateLocationTemplateVsys
    Located in a specific template, device and vsys.
    vsys GetCertificateLocationVsys
    Located in a specific Virtual System
    panorama Property Map
    Located in a 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

    GetCertificateLocationTemplate

    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

    GetCertificateLocationTemplateStack

    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

    GetCertificateLocationTemplateStackVsys

    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.

    GetCertificateLocationTemplateVsys

    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.

    GetCertificateLocationVsys

    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.2 published on Friday, Jun 6, 2025 by paloaltonetworks