Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.GoldenGate.getDeploymentCertificates
This data source provides the list of Deployment Certificates in Oracle Cloud Infrastructure Golden Gate service.
Returns a list of certificates from truststore.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDeploymentCertificates = oci.GoldenGate.getDeploymentCertificates({
    deploymentId: testDeployment.id,
    state: deploymentCertificateState,
});
import pulumi
import pulumi_oci as oci
test_deployment_certificates = oci.GoldenGate.get_deployment_certificates(deployment_id=test_deployment["id"],
    state=deployment_certificate_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/goldengate"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := goldengate.GetDeploymentCertificates(ctx, &goldengate.GetDeploymentCertificatesArgs{
			DeploymentId: testDeployment.Id,
			State:        pulumi.StringRef(deploymentCertificateState),
		}, nil)
		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 testDeploymentCertificates = Oci.GoldenGate.GetDeploymentCertificates.Invoke(new()
    {
        DeploymentId = testDeployment.Id,
        State = deploymentCertificateState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetDeploymentCertificatesArgs;
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) {
        final var testDeploymentCertificates = GoldenGateFunctions.getDeploymentCertificates(GetDeploymentCertificatesArgs.builder()
            .deploymentId(testDeployment.id())
            .state(deploymentCertificateState)
            .build());
    }
}
variables:
  testDeploymentCertificates:
    fn::invoke:
      function: oci:GoldenGate:getDeploymentCertificates
      arguments:
        deploymentId: ${testDeployment.id}
        state: ${deploymentCertificateState}
Using getDeploymentCertificates
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 getDeploymentCertificates(args: GetDeploymentCertificatesArgs, opts?: InvokeOptions): Promise<GetDeploymentCertificatesResult>
function getDeploymentCertificatesOutput(args: GetDeploymentCertificatesOutputArgs, opts?: InvokeOptions): Output<GetDeploymentCertificatesResult>def get_deployment_certificates(deployment_id: Optional[str] = None,
                                filters: Optional[Sequence[GetDeploymentCertificatesFilter]] = None,
                                state: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDeploymentCertificatesResult
def get_deployment_certificates_output(deployment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDeploymentCertificatesFilterArgs]]]] = None,
                                state: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentCertificatesResult]func GetDeploymentCertificates(ctx *Context, args *GetDeploymentCertificatesArgs, opts ...InvokeOption) (*GetDeploymentCertificatesResult, error)
func GetDeploymentCertificatesOutput(ctx *Context, args *GetDeploymentCertificatesOutputArgs, opts ...InvokeOption) GetDeploymentCertificatesResultOutput> Note: This function is named GetDeploymentCertificates in the Go SDK.
public static class GetDeploymentCertificates 
{
    public static Task<GetDeploymentCertificatesResult> InvokeAsync(GetDeploymentCertificatesArgs args, InvokeOptions? opts = null)
    public static Output<GetDeploymentCertificatesResult> Invoke(GetDeploymentCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDeploymentCertificatesResult> getDeploymentCertificates(GetDeploymentCertificatesArgs args, InvokeOptions options)
public static Output<GetDeploymentCertificatesResult> getDeploymentCertificates(GetDeploymentCertificatesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:GoldenGate/getDeploymentCertificates:getDeploymentCertificates
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DeploymentId string
- A unique Deployment identifier.
- Filters
List<GetDeployment Certificates Filter> 
- State string
- A filter to return only connections having the 'lifecycleState' given.
- DeploymentId string
- A unique Deployment identifier.
- Filters
[]GetDeployment Certificates Filter 
- State string
- A filter to return only connections having the 'lifecycleState' given.
- deploymentId String
- A unique Deployment identifier.
- filters
List<GetDeployment Certificates Filter> 
- state String
- A filter to return only connections having the 'lifecycleState' given.
- deploymentId string
- A unique Deployment identifier.
- filters
GetDeployment Certificates Filter[] 
- state string
- A filter to return only connections having the 'lifecycleState' given.
- deployment_id str
- A unique Deployment identifier.
- filters
Sequence[GetDeployment Certificates Filter] 
- state str
- A filter to return only connections having the 'lifecycleState' given.
- deploymentId String
- A unique Deployment identifier.
- filters List<Property Map>
- state String
- A filter to return only connections having the 'lifecycleState' given.
getDeploymentCertificates Result
The following output properties are available:
- CertificateCollections List<GetDeployment Certificates Certificate Collection> 
- The list of certificate_collection.
- DeploymentId string
- The OCID of the deployment being referenced.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<GetDeployment Certificates Filter> 
- State string
- Possible certificate lifecycle states.
- CertificateCollections []GetDeployment Certificates Certificate Collection 
- The list of certificate_collection.
- DeploymentId string
- The OCID of the deployment being referenced.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetDeployment Certificates Filter 
- State string
- Possible certificate lifecycle states.
- certificateCollections List<GetDeployment Certificates Certificate Collection> 
- The list of certificate_collection.
- deploymentId String
- The OCID of the deployment being referenced.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<GetDeployment Certificates Filter> 
- state String
- Possible certificate lifecycle states.
- certificateCollections GetDeployment Certificates Certificate Collection[] 
- The list of certificate_collection.
- deploymentId string
- The OCID of the deployment being referenced.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetDeployment Certificates Filter[] 
- state string
- Possible certificate lifecycle states.
- certificate_collections Sequence[GetDeployment Certificates Certificate Collection] 
- The list of certificate_collection.
- deployment_id str
- The OCID of the deployment being referenced.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[GetDeployment Certificates Filter] 
- state str
- Possible certificate lifecycle states.
- certificateCollections List<Property Map>
- The list of certificate_collection.
- deploymentId String
- The OCID of the deployment being referenced.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- state String
- Possible certificate lifecycle states.
Supporting Types
GetDeploymentCertificatesCertificateCollection    
GetDeploymentCertificatesCertificateCollectionItem     
- string
- The Certificate authority key id.
- CertificateContent string
- The base64 encoded content of the PEM file containing the SSL certificate.
- DeploymentId string
- A unique Deployment identifier.
- IsCa bool
- Indicates if the certificate is ca.
- IsLock boolOverride 
- IsSelf boolSigned 
- Indicates if the certificate is self signed.
- Issuer string
- The Certificate issuer.
- Key string
- The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- Md5hash string
- The Certificate md5Hash.
- PublicKey string
- The Certificate public key.
- PublicKey stringAlgorithm 
- The Certificate public key algorithm.
- PublicKey stringSize 
- The Certificate public key size.
- Serial string
- The Certificate serial.
- Sha1hash string
- The Certificate sha1 hash.
- State string
- A filter to return only connections having the 'lifecycleState' given.
- Subject string
- The Certificate subject.
- SubjectKey stringId 
- The Certificate subject key id.
- TimeCreated string
- The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- TimeValid stringFrom 
- The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- TimeValid stringTo 
- The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Version string
- The Certificate version.
- string
- The Certificate authority key id.
- CertificateContent string
- The base64 encoded content of the PEM file containing the SSL certificate.
- DeploymentId string
- A unique Deployment identifier.
- IsCa bool
- Indicates if the certificate is ca.
- IsLock boolOverride 
- IsSelf boolSigned 
- Indicates if the certificate is self signed.
- Issuer string
- The Certificate issuer.
- Key string
- The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- Md5hash string
- The Certificate md5Hash.
- PublicKey string
- The Certificate public key.
- PublicKey stringAlgorithm 
- The Certificate public key algorithm.
- PublicKey stringSize 
- The Certificate public key size.
- Serial string
- The Certificate serial.
- Sha1hash string
- The Certificate sha1 hash.
- State string
- A filter to return only connections having the 'lifecycleState' given.
- Subject string
- The Certificate subject.
- SubjectKey stringId 
- The Certificate subject key id.
- TimeCreated string
- The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- TimeValid stringFrom 
- The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- TimeValid stringTo 
- The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Version string
- The Certificate version.
- String
- The Certificate authority key id.
- certificateContent String
- The base64 encoded content of the PEM file containing the SSL certificate.
- deploymentId String
- A unique Deployment identifier.
- isCa Boolean
- Indicates if the certificate is ca.
- isLock BooleanOverride 
- isSelf BooleanSigned 
- Indicates if the certificate is self signed.
- issuer String
- The Certificate issuer.
- key String
- The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- md5hash String
- The Certificate md5Hash.
- publicKey String
- The Certificate public key.
- publicKey StringAlgorithm 
- The Certificate public key algorithm.
- publicKey StringSize 
- The Certificate public key size.
- serial String
- The Certificate serial.
- sha1hash String
- The Certificate sha1 hash.
- state String
- A filter to return only connections having the 'lifecycleState' given.
- subject String
- The Certificate subject.
- subjectKey StringId 
- The Certificate subject key id.
- timeCreated String
- The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeValid StringFrom 
- The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeValid StringTo 
- The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- version String
- The Certificate version.
- string
- The Certificate authority key id.
- certificateContent string
- The base64 encoded content of the PEM file containing the SSL certificate.
- deploymentId string
- A unique Deployment identifier.
- isCa boolean
- Indicates if the certificate is ca.
- isLock booleanOverride 
- isSelf booleanSigned 
- Indicates if the certificate is self signed.
- issuer string
- The Certificate issuer.
- key string
- The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- md5hash string
- The Certificate md5Hash.
- publicKey string
- The Certificate public key.
- publicKey stringAlgorithm 
- The Certificate public key algorithm.
- publicKey stringSize 
- The Certificate public key size.
- serial string
- The Certificate serial.
- sha1hash string
- The Certificate sha1 hash.
- state string
- A filter to return only connections having the 'lifecycleState' given.
- subject string
- The Certificate subject.
- subjectKey stringId 
- The Certificate subject key id.
- timeCreated string
- The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeValid stringFrom 
- The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeValid stringTo 
- The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- version string
- The Certificate version.
- str
- The Certificate authority key id.
- certificate_content str
- The base64 encoded content of the PEM file containing the SSL certificate.
- deployment_id str
- A unique Deployment identifier.
- is_ca bool
- Indicates if the certificate is ca.
- is_lock_ booloverride 
- is_self_ boolsigned 
- Indicates if the certificate is self signed.
- issuer str
- The Certificate issuer.
- key str
- The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- md5hash str
- The Certificate md5Hash.
- public_key str
- The Certificate public key.
- public_key_ stralgorithm 
- The Certificate public key algorithm.
- public_key_ strsize 
- The Certificate public key size.
- serial str
- The Certificate serial.
- sha1hash str
- The Certificate sha1 hash.
- state str
- A filter to return only connections having the 'lifecycleState' given.
- subject str
- The Certificate subject.
- subject_key_ strid 
- The Certificate subject key id.
- time_created str
- The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- time_valid_ strfrom 
- The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- time_valid_ strto 
- The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- version str
- The Certificate version.
- String
- The Certificate authority key id.
- certificateContent String
- The base64 encoded content of the PEM file containing the SSL certificate.
- deploymentId String
- A unique Deployment identifier.
- isCa Boolean
- Indicates if the certificate is ca.
- isLock BooleanOverride 
- isSelf BooleanSigned 
- Indicates if the certificate is self signed.
- issuer String
- The Certificate issuer.
- key String
- The identifier key (unique name in the scope of the deployment) of the certificate being referenced. It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- md5hash String
- The Certificate md5Hash.
- publicKey String
- The Certificate public key.
- publicKey StringAlgorithm 
- The Certificate public key algorithm.
- publicKey StringSize 
- The Certificate public key size.
- serial String
- The Certificate serial.
- sha1hash String
- The Certificate sha1 hash.
- state String
- A filter to return only connections having the 'lifecycleState' given.
- subject String
- The Certificate subject.
- subjectKey StringId 
- The Certificate subject key id.
- timeCreated String
- The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeValid StringFrom 
- The time the certificate is valid from. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- timeValid StringTo 
- The time the certificate is valid to. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- version String
- The Certificate version.
GetDeploymentCertificatesFilter   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
