oci.ApiGateway.Certificate
Explore with Pulumi AI
This resource provides the Certificate resource in Oracle Cloud Infrastructure API Gateway service.
Creates a new Certificate.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCertificate = new oci.apigateway.Certificate("test_certificate", {
certificate: certificateCertificate,
compartmentId: compartmentId,
privateKey: certificatePrivateKey,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: certificateDisplayName,
freeformTags: {
Department: "Finance",
},
intermediateCertificates: certificateIntermediateCertificates,
});
import pulumi
import pulumi_oci as oci
test_certificate = oci.api_gateway.Certificate("test_certificate",
certificate=certificate_certificate,
compartment_id=compartment_id,
private_key=certificate_private_key,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=certificate_display_name,
freeform_tags={
"Department": "Finance",
},
intermediate_certificates=certificate_intermediate_certificates)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ApiGateway.NewCertificate(ctx, "test_certificate", &ApiGateway.CertificateArgs{
Certificate: pulumi.Any(certificateCertificate),
CompartmentId: pulumi.Any(compartmentId),
PrivateKey: pulumi.Any(certificatePrivateKey),
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(certificateDisplayName),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
IntermediateCertificates: pulumi.Any(certificateIntermediateCertificates),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testCertificate = new Oci.ApiGateway.Certificate("test_certificate", new()
{
CertificateDetails = certificateCertificate,
CompartmentId = compartmentId,
PrivateKey = certificatePrivateKey,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = certificateDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
IntermediateCertificates = certificateIntermediateCertificates,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApiGateway.Certificate;
import com.pulumi.oci.ApiGateway.CertificateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testCertificate = new Certificate("testCertificate", CertificateArgs.builder()
.certificate(certificateCertificate)
.compartmentId(compartmentId)
.privateKey(certificatePrivateKey)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(certificateDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.intermediateCertificates(certificateIntermediateCertificates)
.build());
}
}
resources:
testCertificate:
type: oci:ApiGateway:Certificate
name: test_certificate
properties:
certificate: ${certificateCertificate}
compartmentId: ${compartmentId}
privateKey: ${certificatePrivateKey}
definedTags:
Operations.CostCenter: '42'
displayName: ${certificateDisplayName}
freeformTags:
Department: Finance
intermediateCertificates: ${certificateIntermediateCertificates}
Create Certificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Certificate(name: string, args: CertificateArgs, opts?: CustomResourceOptions);
@overload
def Certificate(resource_name: str,
args: CertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Certificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
compartment_id: Optional[str] = None,
private_key: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
intermediate_certificates: Optional[str] = None)
func NewCertificate(ctx *Context, name string, args CertificateArgs, opts ...ResourceOption) (*Certificate, error)
public Certificate(string name, CertificateArgs args, CustomResourceOptions? opts = null)
public Certificate(String name, CertificateArgs args)
public Certificate(String name, CertificateArgs args, CustomResourceOptions options)
type: oci:ApiGateway:Certificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var certificateResource = new Oci.ApiGateway.Certificate("certificateResource", new()
{
CertificateDetails = "string",
CompartmentId = "string",
PrivateKey = "string",
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
IntermediateCertificates = "string",
});
example, err := ApiGateway.NewCertificate(ctx, "certificateResource", &ApiGateway.CertificateArgs{
Certificate: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
IntermediateCertificates: pulumi.String("string"),
})
var certificateResource = new Certificate("certificateResource", CertificateArgs.builder()
.certificate("string")
.compartmentId("string")
.privateKey("string")
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.intermediateCertificates("string")
.build());
certificate_resource = oci.api_gateway.Certificate("certificateResource",
certificate="string",
compartment_id="string",
private_key="string",
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
intermediate_certificates="string")
const certificateResource = new oci.apigateway.Certificate("certificateResource", {
certificate: "string",
compartmentId: "string",
privateKey: "string",
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
intermediateCertificates: "string",
});
type: oci:ApiGateway:Certificate
properties:
certificate: string
compartmentId: string
definedTags:
string: any
displayName: string
freeformTags:
string: any
intermediateCertificates: string
privateKey: string
Certificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Certificate resource accepts the following input properties:
- Certificate
Details string - The data of the leaf certificate in pem format.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Private
Key string The private key associated with the certificate in pem format.
** 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
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- Intermediate
Certificates string - The intermediate certificate data associated with the certificate in pem format.
- Certificate string
- The data of the leaf certificate in pem format.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Private
Key string The private key associated with the certificate in pem format.
** 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
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]interface{}
- (Updatable) 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. Example:
{"Department": "Finance"}
- Intermediate
Certificates string - The intermediate certificate data associated with the certificate in pem format.
- certificate String
- The data of the leaf certificate in pem format.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- private
Key String The private key associated with the certificate in pem format.
** 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
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,Object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate
Certificates String - The intermediate certificate data associated with the certificate in pem format.
- certificate string
- The data of the leaf certificate in pem format.
- compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- private
Key string The private key associated with the certificate in pem format.
** 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
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: any}
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate
Certificates string - The intermediate certificate data associated with the certificate in pem format.
- certificate str
- The data of the leaf certificate in pem format.
- compartment_
id str - (Updatable) The OCID of the compartment in which the resource is created.
- private_
key str The private key associated with the certificate in pem format.
** 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
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, Any]
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate_
certificates str - The intermediate certificate data associated with the certificate in pem format.
- certificate String
- The data of the leaf certificate in pem format.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- private
Key String The private key associated with the certificate in pem format.
** 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
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<Any>
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate
Certificates String - The intermediate certificate data associated with the certificate in pem format.
Outputs
All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the certificate.
- Subject
Names List<string> - The entity to be secured by the certificate and additional host names.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Not stringValid After - The date and time the certificate will expire.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the certificate.
- Subject
Names []string - The entity to be secured by the certificate and additional host names.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Not stringValid After - The date and time the certificate will expire.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the certificate.
- subject
Names List<String> - The entity to be secured by the certificate and additional host names.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Not StringValid After - The date and time the certificate will expire.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state string
- The current state of the certificate.
- subject
Names string[] - The entity to be secured by the certificate and additional host names.
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Not stringValid After - The date and time the certificate will expire.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state str
- The current state of the certificate.
- subject_
names Sequence[str] - The entity to be secured by the certificate and additional host names.
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
not_ strvalid_ after - The date and time the certificate will expire.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the certificate.
- subject
Names List<String> - The entity to be secured by the certificate and additional host names.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Not StringValid After - The date and time the certificate will expire.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing Certificate Resource
Get an existing Certificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CertificateState, opts?: CustomResourceOptions): Certificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
intermediate_certificates: Optional[str] = None,
lifecycle_details: Optional[str] = None,
private_key: Optional[str] = None,
state: Optional[str] = None,
subject_names: Optional[Sequence[str]] = None,
time_created: Optional[str] = None,
time_not_valid_after: Optional[str] = None,
time_updated: Optional[str] = None) -> Certificate
func GetCertificate(ctx *Context, name string, id IDInput, state *CertificateState, opts ...ResourceOption) (*Certificate, error)
public static Certificate Get(string name, Input<string> id, CertificateState? state, CustomResourceOptions? opts = null)
public static Certificate get(String name, Output<String> id, CertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Certificate
Details string - The data of the leaf certificate in pem format.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- Intermediate
Certificates string - The intermediate certificate data associated with the certificate in pem format.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- Private
Key string The private key associated with the certificate in pem format.
** 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
- State string
- The current state of the certificate.
- Subject
Names List<string> - The entity to be secured by the certificate and additional host names.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Not stringValid After - The date and time the certificate will expire.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Certificate string
- The data of the leaf certificate in pem format.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]interface{}
- (Updatable) 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. Example:
{"Department": "Finance"}
- Intermediate
Certificates string - The intermediate certificate data associated with the certificate in pem format.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- Private
Key string The private key associated with the certificate in pem format.
** 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
- State string
- The current state of the certificate.
- Subject
Names []string - The entity to be secured by the certificate and additional host names.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Not stringValid After - The date and time the certificate will expire.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- certificate String
- The data of the leaf certificate in pem format.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,Object>
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate
Certificates String - The intermediate certificate data associated with the certificate in pem format.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- private
Key String The private key associated with the certificate in pem format.
** 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
- state String
- The current state of the certificate.
- subject
Names List<String> - The entity to be secured by the certificate and additional host names.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Not StringValid After - The date and time the certificate will expire.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- certificate string
- The data of the leaf certificate in pem format.
- compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: any}
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate
Certificates string - The intermediate certificate data associated with the certificate in pem format.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- private
Key string The private key associated with the certificate in pem format.
** 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
- state string
- The current state of the certificate.
- subject
Names string[] - The entity to be secured by the certificate and additional host names.
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Not stringValid After - The date and time the certificate will expire.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- certificate str
- The data of the leaf certificate in pem format.
- compartment_
id str - (Updatable) The OCID of the compartment in which the resource is created.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, Any]
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate_
certificates str - The intermediate certificate data associated with the certificate in pem format.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- private_
key str The private key associated with the certificate in pem format.
** 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
- state str
- The current state of the certificate.
- subject_
names Sequence[str] - The entity to be secured by the certificate and additional host names.
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
not_ strvalid_ after - The date and time the certificate will expire.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- certificate String
- The data of the leaf certificate in pem format.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<Any>
- (Updatable) 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. Example:
{"Department": "Finance"}
- intermediate
Certificates String - The intermediate certificate data associated with the certificate in pem format.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- private
Key String The private key associated with the certificate in pem format.
** 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
- state String
- The current state of the certificate.
- subject
Names List<String> - The entity to be secured by the certificate and additional host names.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Not StringValid After - The date and time the certificate will expire.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Import
Certificates can be imported using the id
, e.g.
$ pulumi import oci:ApiGateway/certificate:Certificate test_certificate "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.