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

akeyless.getCertificate

Explore with Pulumi AI

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

    Certificate data source

    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(id: Optional[str] = None,
                        ignore_cache: Optional[str] = None,
                        name: Optional[str] = None,
                        version: Optional[float] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCertificateResult
    def get_certificate_output(id: Optional[pulumi.Input[str]] = None,
                        ignore_cache: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        version: Optional[pulumi.Input[float]] = 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: akeyless:index/getCertificate:getCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of this resource.
    IgnoreCache string
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    Name string
    Certificate name
    Version double
    Certificate version
    Id string
    The ID of this resource.
    IgnoreCache string
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    Name string
    Certificate name
    Version float64
    Certificate version
    id String
    The ID of this resource.
    ignoreCache String
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name String
    Certificate name
    version Double
    Certificate version
    id string
    The ID of this resource.
    ignoreCache string
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name string
    Certificate name
    version number
    Certificate version
    id str
    The ID of this resource.
    ignore_cache str
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name str
    Certificate name
    version float
    Certificate version
    id String
    The ID of this resource.
    ignoreCache String
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name String
    Certificate name
    version Number
    Certificate version

    getCertificate Result

    The following output properties are available:

    CertificatePem string
    The certificate value in pem format
    Id string
    The ID of this resource.
    PrivateKeyPem string
    The private key value in pem format
    IgnoreCache string
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    Name string
    Certificate name
    Version double
    Certificate version
    CertificatePem string
    The certificate value in pem format
    Id string
    The ID of this resource.
    PrivateKeyPem string
    The private key value in pem format
    IgnoreCache string
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    Name string
    Certificate name
    Version float64
    Certificate version
    certificatePem String
    The certificate value in pem format
    id String
    The ID of this resource.
    privateKeyPem String
    The private key value in pem format
    ignoreCache String
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name String
    Certificate name
    version Double
    Certificate version
    certificatePem string
    The certificate value in pem format
    id string
    The ID of this resource.
    privateKeyPem string
    The private key value in pem format
    ignoreCache string
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name string
    Certificate name
    version number
    Certificate version
    certificate_pem str
    The certificate value in pem format
    id str
    The ID of this resource.
    private_key_pem str
    The private key value in pem format
    ignore_cache str
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name str
    Certificate name
    version float
    Certificate version
    certificatePem String
    The certificate value in pem format
    id String
    The ID of this resource.
    privateKeyPem String
    The private key value in pem format
    ignoreCache String
    Retrieve the Secret value without checking the Gateway's cache [true/false]
    name String
    Certificate name
    version Number
    Certificate version

    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