TLS

Pulumi Official
Package maintained by Pulumi
v4.6.0 published on Monday, Jun 6, 2022 by Pulumi

getCertificate

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(content: Optional[str] = None,
                    url: Optional[str] = None,
                    verify_chain: Optional[bool] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(content: Optional[pulumi.Input[str]] = None,
                    url: Optional[pulumi.Input[str]] = None,
                    verify_chain: Optional[pulumi.Input[bool]] = 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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: tls:index/getCertificate:getCertificate
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Content string
Url string
VerifyChain bool
Content string
Url string
VerifyChain bool
content String
url String
verifyChain Boolean
content string
url string
verifyChain boolean
content String
url String
verifyChain Boolean

getCertificate Result

The following output properties are available:

Supporting Types

GetCertificateCertificate

certPem String
isCa Boolean
issuer String
notAfter String
notBefore String
publicKeyAlgorithm String
serialNumber String
sha1Fingerprint String
signatureAlgorithm String
subject String
version Integer
certPem string
isCa boolean
issuer string
notAfter string
notBefore string
publicKeyAlgorithm string
serialNumber string
sha1Fingerprint string
signatureAlgorithm string
subject string
version number
certPem String
isCa Boolean
issuer String
notAfter String
notBefore String
publicKeyAlgorithm String
serialNumber String
sha1Fingerprint String
signatureAlgorithm String
subject String
version Number

Package Details

Repository
https://github.com/pulumi/pulumi-tls
License
Apache-2.0
Notes

This Pulumi package is based on the tls Terraform Provider.