Data Source: oci_certificates_management_ca_bundles
This data source provides the list of Ca Bundles in Oracle Cloud Infrastructure Certificates Management service.
Lists all CA bundles that match the query parameters.
Optionally, you can use the parameter FilterByCaBundleIdQueryParam
to limit the result set to a single item that matches the specified CA bundle.
Example Usage
data "oci_certificates_management_ca_bundles" "test_ca_bundles" {
#Optional
ca_bundle_id = oci_certificates_management_ca_bundle.test_ca_bundle.id
compartment_id = var.compartment_id
name = var.ca_bundle_name
state = var.ca_bundle_state
}
Argument Reference
The following arguments are supported:
ca_bundle_id
- (Optional) The OCID of the CA bundle.compartment_id
- (Optional) A filter that returns only resources that match the given compartment OCID.name
- (Optional) A filter that returns only resources that match the specified name.state
- (Optional) A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
Attributes Reference
The following attributes are exported:
ca_bundle_collection
- The list of ca_bundle_collection.
CaBundle Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment for the CA bundle.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- A brief description of the CA bundle.freeform_tags
- 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"}
id
- The OCID of the CA bundle.lifecycle_details
- Additional information about the current lifecycle state of the CA bundle.name
- A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.state
- The current lifecycle state of the CA bundle.time_created
- A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format. Example:2019-04-03T21:10:29.600Z