1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getDbmulticloudOracleDbAwsKey
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi

    This data source provides details about a specific Oracle Db Aws Key resource in Oracle Cloud Infrastructure Dbmulticloud service.

    Retrieves detailed information about a Oracle AWS Key resource by specifying its unique resource OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOracleDbAwsKey = oci.oci.getDbmulticloudOracleDbAwsKey({
        oracleDbAwsKeyId: testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oracle_db_aws_key = oci.oci.get_dbmulticloud_oracle_db_aws_key(oracle_db_aws_key_id=test_oracle_db_aws_key_oci_dbmulticloud_oracle_db_aws_key["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupDbmulticloudOracleDbAwsKey(ctx, &oci.LookupDbmulticloudOracleDbAwsKeyArgs{
    			OracleDbAwsKeyId: testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.Id,
    		}, 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 testOracleDbAwsKey = Oci.Oci.GetDbmulticloudOracleDbAwsKey.Invoke(new()
        {
            OracleDbAwsKeyId = testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetDbmulticloudOracleDbAwsKeyArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testOracleDbAwsKey = OciFunctions.getDbmulticloudOracleDbAwsKey(GetDbmulticloudOracleDbAwsKeyArgs.builder()
                .oracleDbAwsKeyId(testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.id())
                .build());
    
        }
    }
    
    variables:
      testOracleDbAwsKey:
        fn::invoke:
          function: oci:oci:getDbmulticloudOracleDbAwsKey
          arguments:
            oracleDbAwsKeyId: ${testOracleDbAwsKeyOciDbmulticloudOracleDbAwsKey.id}
    
    Example coming soon!
    

    Using getDbmulticloudOracleDbAwsKey

    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 getDbmulticloudOracleDbAwsKey(args: GetDbmulticloudOracleDbAwsKeyArgs, opts?: InvokeOptions): Promise<GetDbmulticloudOracleDbAwsKeyResult>
    function getDbmulticloudOracleDbAwsKeyOutput(args: GetDbmulticloudOracleDbAwsKeyOutputArgs, opts?: InvokeOptions): Output<GetDbmulticloudOracleDbAwsKeyResult>
    def get_dbmulticloud_oracle_db_aws_key(oracle_db_aws_key_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetDbmulticloudOracleDbAwsKeyResult
    def get_dbmulticloud_oracle_db_aws_key_output(oracle_db_aws_key_id: pulumi.Input[Optional[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetDbmulticloudOracleDbAwsKeyResult]
    func LookupDbmulticloudOracleDbAwsKey(ctx *Context, args *LookupDbmulticloudOracleDbAwsKeyArgs, opts ...InvokeOption) (*LookupDbmulticloudOracleDbAwsKeyResult, error)
    func LookupDbmulticloudOracleDbAwsKeyOutput(ctx *Context, args *LookupDbmulticloudOracleDbAwsKeyOutputArgs, opts ...InvokeOption) LookupDbmulticloudOracleDbAwsKeyResultOutput

    > Note: This function is named LookupDbmulticloudOracleDbAwsKey in the Go SDK.

    public static class GetDbmulticloudOracleDbAwsKey 
    {
        public static Task<GetDbmulticloudOracleDbAwsKeyResult> InvokeAsync(GetDbmulticloudOracleDbAwsKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetDbmulticloudOracleDbAwsKeyResult> Invoke(GetDbmulticloudOracleDbAwsKeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbmulticloudOracleDbAwsKeyResult> getDbmulticloudOracleDbAwsKey(GetDbmulticloudOracleDbAwsKeyArgs args, InvokeOptions options)
    public static Output<GetDbmulticloudOracleDbAwsKeyResult> getDbmulticloudOracleDbAwsKey(GetDbmulticloudOracleDbAwsKeyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getDbmulticloudOracleDbAwsKey:getDbmulticloudOracleDbAwsKey
      arguments:
        # arguments dictionary
    data "oci_oci_getdbmulticloudoracledbawskey" "name" {
        # arguments
    }

    The following arguments are supported:

    OracleDbAwsKeyId string
    The OCID of the Oracle DB AWS Key resource.
    OracleDbAwsKeyId string
    The OCID of the Oracle DB AWS Key resource.
    oracle_db_aws_key_id string
    The OCID of the Oracle DB AWS Key resource.
    oracleDbAwsKeyId String
    The OCID of the Oracle DB AWS Key resource.
    oracleDbAwsKeyId string
    The OCID of the Oracle DB AWS Key resource.
    oracle_db_aws_key_id str
    The OCID of the Oracle DB AWS Key resource.
    oracleDbAwsKeyId String
    The OCID of the Oracle DB AWS Key resource.

    getDbmulticloudOracleDbAwsKey Result

    The following output properties are available:

    Action string
    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    CompartmentId string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    Oracle DB AWS Key Ring resource name.
    FreeformTags Dictionary<string, string>
    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 string
    The OCID of the DB AWS Key Ring resource.
    IsAwsKeyEnabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Location string
    AWS Key resource location.
    OracleDbAwsKeyId string
    OracleDbConnectorId string
    The OCID of the Oracle DB Connector resource.
    Properties Dictionary<string, string>
    AWS Key resource's properties.
    ReplicationMetadatas List<GetDbmulticloudOracleDbAwsKeyReplicationMetadata>
    Replication metadata, it has information about replication and target region.
    State string
    The lifecycle state of the Oracle DB AWS Key resource.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetRegion string
    The target region, where resource is replicated.
    TimeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    TimeUpdated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    Type string
    Key resource type.
    Action string
    AwsAccountId string
    AWS Account ID.
    AwsKeyArn string
    Amazon resource name of AWS Key.
    CompartmentId string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    Oracle DB AWS Key Ring resource name.
    FreeformTags map[string]string
    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 string
    The OCID of the DB AWS Key Ring resource.
    IsAwsKeyEnabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    Location string
    AWS Key resource location.
    OracleDbAwsKeyId string
    OracleDbConnectorId string
    The OCID of the Oracle DB Connector resource.
    Properties map[string]string
    AWS Key resource's properties.
    ReplicationMetadatas []GetDbmulticloudOracleDbAwsKeyReplicationMetadata
    Replication metadata, it has information about replication and target region.
    State string
    The lifecycle state of the Oracle DB AWS Key resource.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetRegion string
    The target region, where resource is replicated.
    TimeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    TimeUpdated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    Type string
    Key resource type.
    action string
    aws_account_id string
    AWS Account ID.
    aws_key_arn string
    Amazon resource name of AWS Key.
    compartment_id string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    defined_tags map(string)
    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
    Oracle DB AWS Key Ring resource name.
    freeform_tags map(string)
    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 string
    The OCID of the DB AWS Key Ring resource.
    is_aws_key_enabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycle_state_details string
    Description of the current lifecycle state in more detail.
    location string
    AWS Key resource location.
    oracle_db_aws_key_id string
    oracle_db_connector_id string
    The OCID of the Oracle DB Connector resource.
    properties map(string)
    AWS Key resource's properties.
    replication_metadatas list(object)
    Replication metadata, it has information about replication and target region.
    state string
    The lifecycle state of the Oracle DB AWS Key resource.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_region string
    The target region, where resource is replicated.
    time_created string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    time_updated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    type string
    Key resource type.
    action String
    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    compartmentId String
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    Oracle DB AWS Key Ring resource name.
    freeformTags Map<String,String>
    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 String
    The OCID of the DB AWS Key Ring resource.
    isAwsKeyEnabled Boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    location String
    AWS Key resource location.
    oracleDbAwsKeyId String
    oracleDbConnectorId String
    The OCID of the Oracle DB Connector resource.
    properties Map<String,String>
    AWS Key resource's properties.
    replicationMetadatas List<GetDbmulticloudOracleDbAwsKeyReplicationMetadata>
    Replication metadata, it has information about replication and target region.
    state String
    The lifecycle state of the Oracle DB AWS Key resource.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetRegion String
    The target region, where resource is replicated.
    timeCreated String
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated String
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    type String
    Key resource type.
    action string
    awsAccountId string
    AWS Account ID.
    awsKeyArn string
    Amazon resource name of AWS Key.
    compartmentId string
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    Oracle DB AWS Key Ring resource name.
    freeformTags {[key: string]: string}
    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 string
    The OCID of the DB AWS Key Ring resource.
    isAwsKeyEnabled boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    location string
    AWS Key resource location.
    oracleDbAwsKeyId string
    oracleDbConnectorId string
    The OCID of the Oracle DB Connector resource.
    properties {[key: string]: string}
    AWS Key resource's properties.
    replicationMetadatas GetDbmulticloudOracleDbAwsKeyReplicationMetadata[]
    Replication metadata, it has information about replication and target region.
    state string
    The lifecycle state of the Oracle DB AWS Key resource.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetRegion string
    The target region, where resource is replicated.
    timeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    type string
    Key resource type.
    action str
    aws_account_id str
    AWS Account ID.
    aws_key_arn str
    Amazon resource name of AWS Key.
    compartment_id str
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    defined_tags Mapping[str, str]
    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
    Oracle DB AWS Key Ring resource name.
    freeform_tags Mapping[str, str]
    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 str
    The OCID of the DB AWS Key Ring resource.
    is_aws_key_enabled bool
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    location str
    AWS Key resource location.
    oracle_db_aws_key_id str
    oracle_db_connector_id str
    The OCID of the Oracle DB Connector resource.
    properties Mapping[str, str]
    AWS Key resource's properties.
    replication_metadatas Sequence[GetDbmulticloudOracleDbAwsKeyReplicationMetadata]
    Replication metadata, it has information about replication and target region.
    state str
    The lifecycle state of the Oracle DB AWS Key resource.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_region str
    The target region, where resource is replicated.
    time_created str
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    time_updated str
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    type str
    Key resource type.
    action String
    awsAccountId String
    AWS Account ID.
    awsKeyArn String
    Amazon resource name of AWS Key.
    compartmentId String
    The Compartment OCID that contains this Oracle DB AWS Key resource.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    Oracle DB AWS Key Ring resource name.
    freeformTags Map<String>
    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 String
    The OCID of the DB AWS Key Ring resource.
    isAwsKeyEnabled Boolean
    The Oracle AWS Key resource is enabled or disabled at AWS.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    location String
    AWS Key resource location.
    oracleDbAwsKeyId String
    oracleDbConnectorId String
    The OCID of the Oracle DB Connector resource.
    properties Map<String>
    AWS Key resource's properties.
    replicationMetadatas List<Property Map>
    Replication metadata, it has information about replication and target region.
    state String
    The lifecycle state of the Oracle DB AWS Key resource.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetRegion String
    The target region, where resource is replicated.
    timeCreated String
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated String
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    type String
    Key resource type.

    Supporting Types

    GetDbmulticloudOracleDbAwsKeyReplicationMetadata

    replication_details list(object)
    List of all regions and their respective resource ID.
    replicationDetails List<Property Map>
    List of all regions and their respective resource ID.

    GetDbmulticloudOracleDbAwsKeyReplicationMetadataReplicationDetail

    ReplicationState string
    The lifecycle state of the Oracle DB Azure Vault resource.
    TargetRegion string
    The target region, where resource is replicated.
    TimeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    TimeUpdated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    ReplicationState string
    The lifecycle state of the Oracle DB Azure Vault resource.
    TargetRegion string
    The target region, where resource is replicated.
    TimeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    TimeUpdated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    replication_state string
    The lifecycle state of the Oracle DB Azure Vault resource.
    target_region string
    The target region, where resource is replicated.
    time_created string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    time_updated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    replicationState String
    The lifecycle state of the Oracle DB Azure Vault resource.
    targetRegion String
    The target region, where resource is replicated.
    timeCreated String
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated String
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    replicationState string
    The lifecycle state of the Oracle DB Azure Vault resource.
    targetRegion string
    The target region, where resource is replicated.
    timeCreated string
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated string
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    replication_state str
    The lifecycle state of the Oracle DB Azure Vault resource.
    target_region str
    The target region, where resource is replicated.
    time_created str
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    time_updated str
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    replicationState String
    The lifecycle state of the Oracle DB Azure Vault resource.
    targetRegion String
    The target region, where resource is replicated.
    timeCreated String
    Time when the DB AWS Key resource was created in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.
    timeUpdated String
    Time when the DB AWS Key resource was last modified, expressed in RFC 3339 timestamp format, e.g. '2020-05-23T21:10:29.600Z'.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.11.0
    published on Friday, May 15, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.