import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Certificate resource in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets the details of an SSL certificate. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCertificate = oci.waas.getCertificate({ * certificateId: testCertificateOciWaasCertificate.id, * }); * ``` */ export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy. */ certificateId: string; } /** * A collection of values returned by getCertificate. */ export interface GetCertificateResult { /** * The data of the SSL certificate. */ readonly certificateData: string; readonly certificateId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SSL certificate's compartment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The user-friendly name of the SSL certificate. */ readonly displayName: string; /** * Additional attributes associated with users or public keys for managing relationships between Certificate Authorities. */ readonly extensions: outputs.Waas.GetCertificateExtension[]; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SSL certificate. */ readonly id: string; /** * This indicates whether trust verification was disabled during the creation of SSL certificate. If `true` SSL certificate trust verification was disabled and this SSL certificate is most likely self-signed. */ readonly isTrustVerificationDisabled: boolean; readonly issuedBy: string; /** * The issuer of the certificate. */ readonly issuerNames: outputs.Waas.GetCertificateIssuerName[]; readonly privateKeyData: string; /** * Information about the public key and the algorithm used by the public key. */ readonly publicKeyInfos: outputs.Waas.GetCertificatePublicKeyInfo[]; /** * A unique, positive integer assigned by the Certificate Authority (CA). The issuer name and serial number identify a unique certificate. */ readonly serialNumber: string; /** * The identifier for the cryptographic algorithm used by the Certificate Authority (CA) to sign this certificate. */ readonly signatureAlgorithm: string; /** * The current lifecycle state of the SSL certificate. */ readonly state: string; /** * The entity to be secured by the certificate. */ readonly subjectNames: outputs.Waas.GetCertificateSubjectName[]; /** * The date and time the certificate was created, expressed in RFC 3339 timestamp format. */ readonly timeCreated: string; /** * The date and time the certificate will expire, expressed in RFC 3339 timestamp format. */ readonly timeNotValidAfter: string; /** * The date and time the certificate will become valid, expressed in RFC 3339 timestamp format. */ readonly timeNotValidBefore: string; /** * The version of the encoded certificate. */ readonly version: number; } /** * This data source provides details about a specific Certificate resource in Oracle Cloud Infrastructure Web Application Acceleration and Security service. * * Gets the details of an SSL certificate. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCertificate = oci.waas.getCertificate({ * certificateId: testCertificateOciWaasCertificate.id, * }); * ``` */ export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy. */ certificateId: pulumi.Input; } //# sourceMappingURL=getCertificate.d.ts.map