import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Certificate Authority resource in Oracle Cloud Infrastructure Certificates Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/certificatesmgmt/latest/CertificateAuthority * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/certificatesManagement * * Creates a new certificate authority (CA) according to the details of the request. * * ## Import * * CertificateAuthorities can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CertificatesManagement/certificateAuthority:CertificateAuthority test_certificate_authority "id" * ``` */ export declare class CertificateAuthority extends pulumi.CustomResource { /** * Get an existing CertificateAuthority resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CertificateAuthorityState, opts?: pulumi.CustomResourceOptions): CertificateAuthority; /** * Returns true if the given object is an instance of CertificateAuthority. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CertificateAuthority; /** * (Updatable) The configuration details for creating a certificate authority (CA). */ readonly certificateAuthorityConfig: pulumi.Output; /** * (Updatable) A list of rules that control how the CA is used and managed. */ readonly certificateAuthorityRules: pulumi.Output; /** * (Updatable) The details of the certificate revocation list (CRL). */ readonly certificateRevocationListDetails: pulumi.Output; /** * (Updatable) The compartment in which you want to create the CA. */ readonly compartmentId: pulumi.Output; /** * The origin of the CA. */ readonly configType: pulumi.Output; /** * The metadata details of the certificate authority (CA) version. This summary object does not contain the CA contents. */ readonly currentVersions: pulumi.Output; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A brief description of the CA. */ readonly description: pulumi.Output; /** * (Updatable) For externally managed CAs, a description of the externally managed private key. Avoid entering confidential information. */ readonly externalKeyDescription: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null. */ readonly issuerCertificateAuthorityId: pulumi.Output; /** * The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA. */ readonly kmsKeyId: pulumi.Output; /** * Additional information about the current CA lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly name: pulumi.Output; /** * The algorithm used to sign public key certificates that the CA issues. */ readonly signingAlgorithm: pulumi.Output; /** * The current lifecycle state of the certificate authority. */ readonly state: pulumi.Output; /** * The subject of the certificate, which is a distinguished name that identifies the entity that owns the public key in the certificate. */ readonly subjects: pulumi.Output; /** * A property indicating when the CA was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * An optional property indicating when to delete the CA version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` */ readonly timeOfDeletion: pulumi.Output; /** * Create a CertificateAuthority resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CertificateAuthorityArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CertificateAuthority resources. */ export interface CertificateAuthorityState { /** * (Updatable) The configuration details for creating a certificate authority (CA). */ certificateAuthorityConfig?: pulumi.Input; /** * (Updatable) A list of rules that control how the CA is used and managed. */ certificateAuthorityRules?: pulumi.Input[] | undefined>; /** * (Updatable) The details of the certificate revocation list (CRL). */ certificateRevocationListDetails?: pulumi.Input; /** * (Updatable) The compartment in which you want to create the CA. */ compartmentId?: pulumi.Input; /** * The origin of the CA. */ configType?: pulumi.Input; /** * The metadata details of the certificate authority (CA) version. This summary object does not contain the CA contents. */ currentVersions?: pulumi.Input[] | undefined>; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A brief description of the CA. */ description?: pulumi.Input; /** * (Updatable) For externally managed CAs, a description of the externally managed private key. Avoid entering confidential information. */ externalKeyDescription?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null. */ issuerCertificateAuthorityId?: pulumi.Input; /** * The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA. */ kmsKeyId?: pulumi.Input; /** * Additional information about the current CA lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ name?: pulumi.Input; /** * The algorithm used to sign public key certificates that the CA issues. */ signingAlgorithm?: pulumi.Input; /** * The current lifecycle state of the certificate authority. */ state?: pulumi.Input; /** * The subject of the certificate, which is a distinguished name that identifies the entity that owns the public key in the certificate. */ subjects?: pulumi.Input[] | undefined>; /** * A property indicating when the CA was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * An optional property indicating when to delete the CA version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` */ timeOfDeletion?: pulumi.Input; } /** * The set of arguments for constructing a CertificateAuthority resource. */ export interface CertificateAuthorityArgs { /** * (Updatable) The configuration details for creating a certificate authority (CA). */ certificateAuthorityConfig: pulumi.Input; /** * (Updatable) A list of rules that control how the CA is used and managed. */ certificateAuthorityRules?: pulumi.Input[] | undefined>; /** * (Updatable) The details of the certificate revocation list (CRL). */ certificateRevocationListDetails?: pulumi.Input; /** * (Updatable) The compartment in which you want to create the CA. */ compartmentId: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A brief description of the CA. */ description?: pulumi.Input; /** * (Updatable) For externally managed CAs, a description of the externally managed private key. Avoid entering confidential information. */ externalKeyDescription?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA. */ kmsKeyId?: pulumi.Input; /** * A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ name?: pulumi.Input; } //# sourceMappingURL=certificateAuthority.d.ts.map