1. Packages
  2. Akeyless Provider
  3. API Docs
  4. getPkiCertificate
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.getPkiCertificate

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    Generates PKI certificate data source

    Using getPkiCertificate

    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 getPkiCertificate(args: GetPkiCertificateArgs, opts?: InvokeOptions): Promise<GetPkiCertificateResult>
    function getPkiCertificateOutput(args: GetPkiCertificateOutputArgs, opts?: InvokeOptions): Output<GetPkiCertificateResult>
    def get_pki_certificate(alt_names: Optional[str] = None,
                            cert_issuer_name: Optional[str] = None,
                            common_name: Optional[str] = None,
                            csr_data_base64: Optional[str] = None,
                            extended_key_usage: Optional[str] = None,
                            id: Optional[str] = None,
                            key_data_base64: Optional[str] = None,
                            ttl: Optional[float] = None,
                            uri_sans: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPkiCertificateResult
    def get_pki_certificate_output(alt_names: Optional[pulumi.Input[str]] = None,
                            cert_issuer_name: Optional[pulumi.Input[str]] = None,
                            common_name: Optional[pulumi.Input[str]] = None,
                            csr_data_base64: Optional[pulumi.Input[str]] = None,
                            extended_key_usage: Optional[pulumi.Input[str]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            key_data_base64: Optional[pulumi.Input[str]] = None,
                            ttl: Optional[pulumi.Input[float]] = None,
                            uri_sans: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPkiCertificateResult]
    func GetPkiCertificate(ctx *Context, args *GetPkiCertificateArgs, opts ...InvokeOption) (*GetPkiCertificateResult, error)
    func GetPkiCertificateOutput(ctx *Context, args *GetPkiCertificateOutputArgs, opts ...InvokeOption) GetPkiCertificateResultOutput

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

    public static class GetPkiCertificate 
    {
        public static Task<GetPkiCertificateResult> InvokeAsync(GetPkiCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetPkiCertificateResult> Invoke(GetPkiCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPkiCertificateResult> getPkiCertificate(GetPkiCertificateArgs args, InvokeOptions options)
    public static Output<GetPkiCertificateResult> getPkiCertificate(GetPkiCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akeyless:index/getPkiCertificate:getPkiCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertIssuerName string
    The name of the PKI certificate issuer
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    CsrDataBase64 string
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    ExtendedKeyUsage string
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    Id string
    The ID of this resource.
    KeyDataBase64 string
    pki key file contents encoded using Base64
    Ttl double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CertIssuerName string
    The name of the PKI certificate issuer
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    CsrDataBase64 string
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    ExtendedKeyUsage string
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    Id string
    The ID of this resource.
    KeyDataBase64 string
    pki key file contents encoded using Base64
    Ttl float64
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certIssuerName String
    The name of the PKI certificate issuer
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    csrDataBase64 String
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extendedKeyUsage String
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    id String
    The ID of this resource.
    keyDataBase64 String
    pki key file contents encoded using Base64
    ttl Double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uriSans String
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certIssuerName string
    The name of the PKI certificate issuer
    altNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName string
    The common name to be included in the PKI certificate
    csrDataBase64 string
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extendedKeyUsage string
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    id string
    The ID of this resource.
    keyDataBase64 string
    pki key file contents encoded using Base64
    ttl number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    cert_issuer_name str
    The name of the PKI certificate issuer
    alt_names str
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    common_name str
    The common name to be included in the PKI certificate
    csr_data_base64 str
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extended_key_usage str
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    id str
    The ID of this resource.
    key_data_base64 str
    pki key file contents encoded using Base64
    ttl float
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uri_sans str
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certIssuerName String
    The name of the PKI certificate issuer
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    csrDataBase64 String
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extendedKeyUsage String
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    id String
    The ID of this resource.
    keyDataBase64 String
    pki key file contents encoded using Base64
    ttl Number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uriSans String
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)

    getPkiCertificate Result

    The following output properties are available:

    CertDisplayId string
    CertIssuerName string
    The name of the PKI certificate issuer
    Data string
    Id string
    The ID of this resource.
    ParentCert string
    ReadingToken string
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    CsrDataBase64 string
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    ExtendedKeyUsage string
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    KeyDataBase64 string
    pki key file contents encoded using Base64
    Ttl double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CertDisplayId string
    CertIssuerName string
    The name of the PKI certificate issuer
    Data string
    Id string
    The ID of this resource.
    ParentCert string
    ReadingToken string
    AltNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    CommonName string
    The common name to be included in the PKI certificate
    CsrDataBase64 string
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    ExtendedKeyUsage string
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    KeyDataBase64 string
    pki key file contents encoded using Base64
    Ttl float64
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    UriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certDisplayId String
    certIssuerName String
    The name of the PKI certificate issuer
    data String
    id String
    The ID of this resource.
    parentCert String
    readingToken String
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    csrDataBase64 String
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extendedKeyUsage String
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    keyDataBase64 String
    pki key file contents encoded using Base64
    ttl Double
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uriSans String
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certDisplayId string
    certIssuerName string
    The name of the PKI certificate issuer
    data string
    id string
    The ID of this resource.
    parentCert string
    readingToken string
    altNames string
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName string
    The common name to be included in the PKI certificate
    csrDataBase64 string
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extendedKeyUsage string
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    keyDataBase64 string
    pki key file contents encoded using Base64
    ttl number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uriSans string
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    cert_display_id str
    cert_issuer_name str
    The name of the PKI certificate issuer
    data str
    id str
    The ID of this resource.
    parent_cert str
    reading_token str
    alt_names str
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    common_name str
    The common name to be included in the PKI certificate
    csr_data_base64 str
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extended_key_usage str
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    key_data_base64 str
    pki key file contents encoded using Base64
    ttl float
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uri_sans str
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    certDisplayId String
    certIssuerName String
    The name of the PKI certificate issuer
    data String
    id String
    The ID of this resource.
    parentCert String
    readingToken String
    altNames String
    The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
    commonName String
    The common name to be included in the PKI certificate
    csrDataBase64 String
    Certificate Signing Request contents encoded in base64 to generate the certificate with
    extendedKeyUsage String
    A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
    keyDataBase64 String
    pki key file contents encoded using Base64
    ttl Number
    Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
    uriSans String
    The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community