1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Kms
  5. getEkmsPrivateEndpoints
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Kms.getEkmsPrivateEndpoints

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service.

Returns a list of all the EKMS private endpoints in the specified compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testEkmsPrivateEndpoints = oci.Kms.getEkmsPrivateEndpoints({
    compartmentId: compartmentId,
});
Copy
import pulumi
import pulumi_oci as oci

test_ekms_private_endpoints = oci.Kms.get_ekms_private_endpoints(compartment_id=compartment_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/kms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kms.GetEkmsPrivateEndpoints(ctx, &kms.GetEkmsPrivateEndpointsArgs{
			CompartmentId: compartmentId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testEkmsPrivateEndpoints = Oci.Kms.GetEkmsPrivateEndpoints.Invoke(new()
    {
        CompartmentId = compartmentId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Kms.KmsFunctions;
import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs;
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 testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder()
            .compartmentId(compartmentId)
            .build());

    }
}
Copy
variables:
  testEkmsPrivateEndpoints:
    fn::invoke:
      function: oci:Kms:getEkmsPrivateEndpoints
      arguments:
        compartmentId: ${compartmentId}
Copy

Using getEkmsPrivateEndpoints

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 getEkmsPrivateEndpoints(args: GetEkmsPrivateEndpointsArgs, opts?: InvokeOptions): Promise<GetEkmsPrivateEndpointsResult>
function getEkmsPrivateEndpointsOutput(args: GetEkmsPrivateEndpointsOutputArgs, opts?: InvokeOptions): Output<GetEkmsPrivateEndpointsResult>
Copy
def get_ekms_private_endpoints(compartment_id: Optional[str] = None,
                               filters: Optional[Sequence[_kms.GetEkmsPrivateEndpointsFilter]] = None,
                               opts: Optional[InvokeOptions] = None) -> GetEkmsPrivateEndpointsResult
def get_ekms_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_kms.GetEkmsPrivateEndpointsFilterArgs]]]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetEkmsPrivateEndpointsResult]
Copy
func GetEkmsPrivateEndpoints(ctx *Context, args *GetEkmsPrivateEndpointsArgs, opts ...InvokeOption) (*GetEkmsPrivateEndpointsResult, error)
func GetEkmsPrivateEndpointsOutput(ctx *Context, args *GetEkmsPrivateEndpointsOutputArgs, opts ...InvokeOption) GetEkmsPrivateEndpointsResultOutput
Copy

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

public static class GetEkmsPrivateEndpoints 
{
    public static Task<GetEkmsPrivateEndpointsResult> InvokeAsync(GetEkmsPrivateEndpointsArgs args, InvokeOptions? opts = null)
    public static Output<GetEkmsPrivateEndpointsResult> Invoke(GetEkmsPrivateEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetEkmsPrivateEndpointsResult> getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options)
public static Output<GetEkmsPrivateEndpointsResult> getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment.
Filters Changes to this property will trigger replacement. List<GetEkmsPrivateEndpointsFilter>
CompartmentId This property is required. string
The OCID of the compartment.
Filters Changes to this property will trigger replacement. []GetEkmsPrivateEndpointsFilter
compartmentId This property is required. String
The OCID of the compartment.
filters Changes to this property will trigger replacement. List<GetEkmsPrivateEndpointsFilter>
compartmentId This property is required. string
The OCID of the compartment.
filters Changes to this property will trigger replacement. GetEkmsPrivateEndpointsFilter[]
compartment_id This property is required. str
The OCID of the compartment.
filters Changes to this property will trigger replacement. Sequence[kms.GetEkmsPrivateEndpointsFilter]
compartmentId This property is required. String
The OCID of the compartment.
filters Changes to this property will trigger replacement. List<Property Map>

getEkmsPrivateEndpoints Result

The following output properties are available:

CompartmentId string
Identifier of the compartment this EKMS private endpoint belongs to
EkmsPrivateEndpoints List<GetEkmsPrivateEndpointsEkmsPrivateEndpoint>
The list of ekms_private_endpoints.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetEkmsPrivateEndpointsFilter>
CompartmentId string
Identifier of the compartment this EKMS private endpoint belongs to
EkmsPrivateEndpoints []GetEkmsPrivateEndpointsEkmsPrivateEndpoint
The list of ekms_private_endpoints.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetEkmsPrivateEndpointsFilter
compartmentId String
Identifier of the compartment this EKMS private endpoint belongs to
ekmsPrivateEndpoints List<GetEkmsPrivateEndpointsEkmsPrivateEndpoint>
The list of ekms_private_endpoints.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetEkmsPrivateEndpointsFilter>
compartmentId string
Identifier of the compartment this EKMS private endpoint belongs to
ekmsPrivateEndpoints GetEkmsPrivateEndpointsEkmsPrivateEndpoint[]
The list of ekms_private_endpoints.
id string
The provider-assigned unique ID for this managed resource.
filters GetEkmsPrivateEndpointsFilter[]
compartment_id str
Identifier of the compartment this EKMS private endpoint belongs to
ekms_private_endpoints Sequence[kms.GetEkmsPrivateEndpointsEkmsPrivateEndpoint]
The list of ekms_private_endpoints.
id str
The provider-assigned unique ID for this managed resource.
filters Sequence[kms.GetEkmsPrivateEndpointsFilter]
compartmentId String
Identifier of the compartment this EKMS private endpoint belongs to
ekmsPrivateEndpoints List<Property Map>
The list of ekms_private_endpoints.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>

Supporting Types

GetEkmsPrivateEndpointsEkmsPrivateEndpoint

CaBundle This property is required. string
CABundle to validate TLS certificate of the external key manager system in PEM format
CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. Dictionary<string, string>
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
DisplayName This property is required. string
Mutable name of the EKMS private endpoint
ExternalKeyManagerIp This property is required. string
Private IP of the external key manager system to connect to from the EKMS private endpoint
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
Unique identifier that is immutable
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
Port This property is required. int
The port of the external key manager system
PrivateEndpointIp This property is required. string
The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
State This property is required. string
The current state of the EKMS private endpoint resource.
SubnetId This property is required. string
Subnet Identifier
TimeCreated This property is required. string
The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
CaBundle This property is required. string
CABundle to validate TLS certificate of the external key manager system in PEM format
CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. map[string]string
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
DisplayName This property is required. string
Mutable name of the EKMS private endpoint
ExternalKeyManagerIp This property is required. string
Private IP of the external key manager system to connect to from the EKMS private endpoint
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
Unique identifier that is immutable
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
Port This property is required. int
The port of the external key manager system
PrivateEndpointIp This property is required. string
The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
State This property is required. string
The current state of the EKMS private endpoint resource.
SubnetId This property is required. string
Subnet Identifier
TimeCreated This property is required. string
The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
TimeUpdated This property is required. string
The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
caBundle This property is required. String
CABundle to validate TLS certificate of the external key manager system in PEM format
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String,String>
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
displayName This property is required. String
Mutable name of the EKMS private endpoint
externalKeyManagerIp This property is required. String
Private IP of the external key manager system to connect to from the EKMS private endpoint
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
Unique identifier that is immutable
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
port This property is required. Integer
The port of the external key manager system
privateEndpointIp This property is required. String
The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
state This property is required. String
The current state of the EKMS private endpoint resource.
subnetId This property is required. String
Subnet Identifier
timeCreated This property is required. String
The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
caBundle This property is required. string
CABundle to validate TLS certificate of the external key manager system in PEM format
compartmentId This property is required. string
The OCID of the compartment.
definedTags This property is required. {[key: string]: string}
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
displayName This property is required. string
Mutable name of the EKMS private endpoint
externalKeyManagerIp This property is required. string
Private IP of the external key manager system to connect to from the EKMS private endpoint
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. string
Unique identifier that is immutable
lifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
port This property is required. number
The port of the external key manager system
privateEndpointIp This property is required. string
The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
state This property is required. string
The current state of the EKMS private endpoint resource.
subnetId This property is required. string
Subnet Identifier
timeCreated This property is required. string
The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
timeUpdated This property is required. string
The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
ca_bundle This property is required. str
CABundle to validate TLS certificate of the external key manager system in PEM format
compartment_id This property is required. str
The OCID of the compartment.
defined_tags This property is required. Mapping[str, str]
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
display_name This property is required. str
Mutable name of the EKMS private endpoint
external_key_manager_ip This property is required. str
Private IP of the external key manager system to connect to from the EKMS private endpoint
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. str
Unique identifier that is immutable
lifecycle_details This property is required. str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
port This property is required. int
The port of the external key manager system
private_endpoint_ip This property is required. str
The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
state This property is required. str
The current state of the EKMS private endpoint resource.
subnet_id This property is required. str
Subnet Identifier
time_created This property is required. str
The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
time_updated This property is required. str
The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
caBundle This property is required. String
CABundle to validate TLS certificate of the external key manager system in PEM format
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String>
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
displayName This property is required. String
Mutable name of the EKMS private endpoint
externalKeyManagerIp This property is required. String
Private IP of the external key manager system to connect to from the EKMS private endpoint
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
Unique identifier that is immutable
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.
port This property is required. Number
The port of the external key manager system
privateEndpointIp This property is required. String
The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
state This property is required. String
The current state of the EKMS private endpoint resource.
subnetId This property is required. String
Subnet Identifier
timeCreated This property is required. String
The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
timeUpdated This property is required. String
The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.

GetEkmsPrivateEndpointsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi