akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
akeyless.getPkiCertificate
Explore with Pulumi AI
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:
- Cert
Issuer stringName - The name of the PKI certificate issuer
- Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - 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.
- Key
Data stringBase64 - pki key file contents encoded using Base64
- Ttl double
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Cert
Issuer stringName - The name of the PKI certificate issuer
- Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - 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.
- Key
Data stringBase64 - pki key file contents encoded using Base64
- Ttl float64
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Issuer StringName - The name of the PKI certificate issuer
- alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - 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.
- key
Data StringBase64 - pki key file contents encoded using Base64
- ttl Double
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Issuer stringName - The name of the PKI certificate issuer
- alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name string - The common name to be included in the PKI certificate
- csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key stringUsage - 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.
- key
Data stringBase64 - pki key file contents encoded using Base64
- ttl number
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert_
issuer_ strname - 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_ strbase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended_
key_ strusage - 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_ strbase64 - 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)
- cert
Issuer StringName - The name of the PKI certificate issuer
- alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - 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.
- key
Data StringBase64 - pki key file contents encoded using Base64
- ttl Number
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans 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:
- Cert
Display stringId - Cert
Issuer stringName - The name of the PKI certificate issuer
- Data string
- Id string
- The ID of this resource.
- Parent
Cert string - Reading
Token string - Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
- Key
Data stringBase64 - pki key file contents encoded using Base64
- Ttl double
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Cert
Display stringId - Cert
Issuer stringName - The name of the PKI certificate issuer
- Data string
- Id string
- The ID of this resource.
- Parent
Cert string - Reading
Token string - Alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- Common
Name string - The common name to be included in the PKI certificate
- Csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- Extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
- Key
Data stringBase64 - pki key file contents encoded using Base64
- Ttl float64
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- Uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Display StringId - cert
Issuer StringName - The name of the PKI certificate issuer
- data String
- id String
- The ID of this resource.
- parent
Cert String - reading
Token String - alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
- key
Data StringBase64 - pki key file contents encoded using Base64
- ttl Double
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans String - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert
Display stringId - cert
Issuer stringName - The name of the PKI certificate issuer
- data string
- id string
- The ID of this resource.
- parent
Cert string - reading
Token string - alt
Names string - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name string - The common name to be included in the PKI certificate
- csr
Data stringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key stringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
- key
Data stringBase64 - pki key file contents encoded using Base64
- ttl number
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans string - The URI Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- cert_
display_ strid - cert_
issuer_ strname - 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_ strbase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended_
key_ strusage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
- key_
data_ strbase64 - 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)
- cert
Display StringId - cert
Issuer StringName - The name of the PKI certificate issuer
- data String
- id String
- The ID of this resource.
- parent
Cert String - reading
Token String - alt
Names String - The Subject Alternative Names to be included in the PKI certificate (in a comma-delimited list)
- common
Name String - The common name to be included in the PKI certificate
- csr
Data StringBase64 - Certificate Signing Request contents encoded in base64 to generate the certificate with
- extended
Key StringUsage - A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
- key
Data StringBase64 - pki key file contents encoded using Base64
- ttl Number
- Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
- uri
Sans 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 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community