panos 2.0.2 published on Friday, Jun 6, 2025 by paloaltonetworks
panos.getCertificate
Explore with Pulumi AI
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
Get
Certificate Location - The location of this object.
- Name string
- Algorithm string
- Ca bool
- Cloud
Resource GetId Certificate Cloud Resource Id - Common
Name string - Csr string
- Expiry
Epoch string - Issuer string
- Issuer
Hash string - Not
Valid stringAfter - Not
Valid stringBefore - Private
Key string - Private
Key boolOn Hsm - Public
Key string - Revoke
Date stringEpoch - Status string
- Subject string
- Subject
Hash string
- Location
Get
Certificate Location - The location of this object.
- Name string
- Algorithm string
- Ca bool
- Cloud
Resource GetId Certificate Cloud Resource Id - Common
Name string - Csr string
- Expiry
Epoch string - Issuer string
- Issuer
Hash string - Not
Valid stringAfter - Not
Valid stringBefore - Private
Key string - Private
Key boolOn Hsm - Public
Key string - Revoke
Date stringEpoch - Status string
- Subject string
- Subject
Hash string
- location
Get
Certificate Location - The location of this object.
- name String
- algorithm String
- ca Boolean
- cloud
Resource GetId Certificate Cloud Resource Id - common
Name String - csr String
- expiry
Epoch String - issuer String
- issuer
Hash String - not
Valid StringAfter - not
Valid StringBefore - private
Key String - private
Key BooleanOn Hsm - public
Key String - revoke
Date StringEpoch - status String
- subject String
- subject
Hash String
- location
Get
Certificate Location - The location of this object.
- name string
- algorithm string
- ca boolean
- cloud
Resource GetId Certificate Cloud Resource Id - common
Name string - csr string
- expiry
Epoch string - issuer string
- issuer
Hash string - not
Valid stringAfter - not
Valid stringBefore - private
Key string - private
Key booleanOn Hsm - public
Key string - revoke
Date stringEpoch - status string
- subject string
- subject
Hash string
- location
Get
Certificate Location - The location of this object.
- name str
- algorithm str
- ca bool
- cloud_
resource_ Getid Certificate Cloud Resource Id - common_
name str - csr str
- expiry_
epoch str - issuer str
- issuer_
hash str - not_
valid_ strafter - not_
valid_ strbefore - private_
key str - private_
key_ boolon_ hsm - public_
key str - revoke_
date_ strepoch - status str
- subject str
- subject_
hash str
- location Property Map
- The location of this object.
- name String
- algorithm String
- ca Boolean
- cloud
Resource Property MapId - common
Name String - csr String
- expiry
Epoch String - issuer String
- issuer
Hash String - not
Valid StringAfter - not
Valid StringBefore - private
Key String - private
Key BooleanOn Hsm - public
Key String - revoke
Date StringEpoch - status String
- subject String
- subject
Hash String
getCertificate Result
The following output properties are available:
- Algorithm string
- Ca bool
- Cloud
Resource GetId Certificate Cloud Resource Id - Common
Name string - Csr string
- Expiry
Epoch string - Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- Issuer
Hash string - Location
Get
Certificate Location - The location of this object.
- Name string
- Not
Valid stringAfter - Not
Valid stringBefore - Private
Key string - Private
Key boolOn Hsm - Public
Key string - Revoke
Date stringEpoch - Status string
- Subject string
- Subject
Hash string
- Algorithm string
- Ca bool
- Cloud
Resource GetId Certificate Cloud Resource Id - Common
Name string - Csr string
- Expiry
Epoch string - Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- Issuer
Hash string - Location
Get
Certificate Location - The location of this object.
- Name string
- Not
Valid stringAfter - Not
Valid stringBefore - Private
Key string - Private
Key boolOn Hsm - Public
Key string - Revoke
Date stringEpoch - Status string
- Subject string
- Subject
Hash string
- algorithm String
- ca Boolean
- cloud
Resource GetId Certificate Cloud Resource Id - common
Name String - csr String
- expiry
Epoch String - id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- issuer
Hash String - location
Get
Certificate Location - The location of this object.
- name String
- not
Valid StringAfter - not
Valid StringBefore - private
Key String - private
Key BooleanOn Hsm - public
Key String - revoke
Date StringEpoch - status String
- subject String
- subject
Hash String
- algorithm string
- ca boolean
- cloud
Resource GetId Certificate Cloud Resource Id - common
Name string - csr string
- expiry
Epoch string - id string
- The provider-assigned unique ID for this managed resource.
- issuer string
- issuer
Hash string - location
Get
Certificate Location - The location of this object.
- name string
- not
Valid stringAfter - not
Valid stringBefore - private
Key string - private
Key booleanOn Hsm - public
Key string - revoke
Date stringEpoch - status string
- subject string
- subject
Hash string
- algorithm str
- ca bool
- cloud_
resource_ Getid Certificate Cloud Resource Id - common_
name str - csr str
- expiry_
epoch str - id str
- The provider-assigned unique ID for this managed resource.
- issuer str
- issuer_
hash str - location
Get
Certificate Location - The location of this object.
- name str
- not_
valid_ strafter - not_
valid_ strbefore - private_
key str - private_
key_ boolon_ hsm - public_
key str - revoke_
date_ strepoch - status str
- subject str
- subject_
hash str
- algorithm String
- ca Boolean
- cloud
Resource Property MapId - common
Name String - csr String
- expiry
Epoch String - id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- issuer
Hash String - location Property Map
- The location of this object.
- name String
- not
Valid StringAfter - not
Valid StringBefore - private
Key String - private
Key BooleanOn Hsm - public
Key String - revoke
Date StringEpoch - status String
- subject String
- subject
Hash 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
- Key
Vault stringUri - Azure Key Vault URI
- Secret string
- Cloud Secret Name
- Key
Vault stringUri - Azure Key Vault URI
- Secret string
- Cloud Secret Name
- key
Vault StringUri - Azure Key Vault URI
- secret String
- Cloud Secret Name
- key
Vault stringUri - Azure Key Vault URI
- secret string
- Cloud Secret Name
- key_
vault_ struri - Azure Key Vault URI
- secret str
- Cloud Secret Name
- key
Vault StringUri - Azure Key Vault URI
- secret String
- Cloud Secret Name
GetCertificateLocation
- Panorama
Get
Certificate Location Panorama - Located in a panorama.
- Template
Get
Certificate Location Template - Located in a specific template
- Template
Stack GetCertificate Location Template Stack - Located in a specific template
- Template
Stack GetVsys Certificate Location Template Stack Vsys - Located in a specific template, device and vsys.
- Template
Vsys GetCertificate Location Template Vsys - Located in a specific template, device and vsys.
- Vsys
Get
Certificate Location Vsys - Located in a specific Virtual System
- Panorama
Get
Certificate Location Panorama - Located in a panorama.
- Template
Get
Certificate Location Template - Located in a specific template
- Template
Stack GetCertificate Location Template Stack - Located in a specific template
- Template
Stack GetVsys Certificate Location Template Stack Vsys - Located in a specific template, device and vsys.
- Template
Vsys GetCertificate Location Template Vsys - Located in a specific template, device and vsys.
- Vsys
Get
Certificate Location Vsys - Located in a specific Virtual System
- panorama
Get
Certificate Location Panorama - Located in a panorama.
- template
Get
Certificate Location Template - Located in a specific template
- template
Stack GetCertificate Location Template Stack - Located in a specific template
- template
Stack GetVsys Certificate Location Template Stack Vsys - Located in a specific template, device and vsys.
- template
Vsys GetCertificate Location Template Vsys - Located in a specific template, device and vsys.
- vsys
Get
Certificate Location Vsys - Located in a specific Virtual System
- panorama
Get
Certificate Location Panorama - Located in a panorama.
- template
Get
Certificate Location Template - Located in a specific template
- template
Stack GetCertificate Location Template Stack - Located in a specific template
- template
Stack GetVsys Certificate Location Template Stack Vsys - Located in a specific template, device and vsys.
- template
Vsys GetCertificate Location Template Vsys - Located in a specific template, device and vsys.
- vsys
Get
Certificate Location Vsys - Located in a specific Virtual System
- panorama
Get
Certificate Location Panorama - Located in a panorama.
- template
Get
Certificate Location Template - Located in a specific template
- template_
stack GetCertificate Location Template Stack - Located in a specific template
- template_
stack_ Getvsys Certificate Location Template Stack Vsys - Located in a specific template, device and vsys.
- template_
vsys GetCertificate Location Template Vsys - Located in a specific template, device and vsys.
- vsys
Get
Certificate Location Vsys - Located in a specific Virtual System
- panorama Property Map
- Located in a panorama.
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template
- template
Stack Property MapVsys - Located in a specific template, device and vsys.
- template
Vsys 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
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template
- panorama
Device String - Specific Panorama device
GetCertificateLocationTemplateStack
- Name string
- The template stack
- Panorama
Device string - Specific Panorama device
- Name string
- The template stack
- Panorama
Device string - Specific Panorama device
- name String
- The template stack
- panorama
Device String - Specific Panorama device
- name string
- The template stack
- panorama
Device string - Specific Panorama device
- name str
- The template stack
- panorama_
device str - Specific Panorama device
- name String
- The template stack
- panorama
Device String - Specific Panorama device
GetCertificateLocationTemplateStackVsys
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Template
Stack string - The template stack
- Vsys string
- The vsys.
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Template
Stack string - The template stack
- Vsys string
- The vsys.
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- template
Stack String - The template stack
- vsys String
- The vsys.
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- template
Stack 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.
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- template
Stack String - The template stack
- vsys String
- The vsys.
GetCertificateLocationTemplateVsys
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Template string
- Specific Panorama template
- Vsys string
- The vsys.
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Template string
- Specific Panorama template
- Vsys string
- The vsys.
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- template String
- Specific Panorama template
- vsys String
- The vsys.
- ngfw
Device string - The NGFW device
- panorama
Device 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.
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- template String
- Specific Panorama template
- vsys String
- The vsys.
GetCertificateLocationVsys
- Name string
- The Virtual System name
- Ngfw
Device string - The NGFW device name
- Name string
- The Virtual System name
- Ngfw
Device string - The NGFW device name
- name String
- The Virtual System name
- ngfw
Device String - The NGFW device name
- name string
- The Virtual System name
- ngfw
Device string - The NGFW device name
- name str
- The Virtual System name
- ngfw_
device str - The NGFW device name
- name String
- The Virtual System name
- ngfw
Device 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 2.0.2 published on Friday, Jun 6, 2025 by paloaltonetworks