Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Kms.getEkmsPrivateEndpoints
Explore with Pulumi AI
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,
});
import pulumi
import pulumi_oci as oci
test_ekms_private_endpoints = oci.Kms.get_ekms_private_endpoints(compartment_id=compartment_id)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testEkmsPrivateEndpoints:
    fn::invoke:
      function: oci:Kms:getEkmsPrivateEndpoints
      arguments:
        compartmentId: ${compartmentId}
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>def get_ekms_private_endpoints(compartment_id: Optional[str] = None,
                               filters: Optional[Sequence[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[GetEkmsPrivateEndpointsFilterArgs]]]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetEkmsPrivateEndpointsResult]func GetEkmsPrivateEndpoints(ctx *Context, args *GetEkmsPrivateEndpointsArgs, opts ...InvokeOption) (*GetEkmsPrivateEndpointsResult, error)
func GetEkmsPrivateEndpointsOutput(ctx *Context, args *GetEkmsPrivateEndpointsOutputArgs, opts ...InvokeOption) GetEkmsPrivateEndpointsResultOutput> 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)
}public static CompletableFuture<GetEkmsPrivateEndpointsResult> getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options)
public static Output<GetEkmsPrivateEndpointsResult> getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- Filters
List<GetEkms Private Endpoints Filter> 
- CompartmentId string
- The OCID of the compartment.
- Filters
[]GetEkms Private Endpoints Filter 
- compartmentId String
- The OCID of the compartment.
- filters
List<GetEkms Private Endpoints Filter> 
- compartmentId string
- The OCID of the compartment.
- filters
GetEkms Private Endpoints Filter[] 
- compartment_id str
- The OCID of the compartment.
- filters
Sequence[GetEkms Private Endpoints Filter] 
- compartmentId String
- The OCID of the compartment.
- filters List<Property Map>
getEkmsPrivateEndpoints Result
The following output properties are available:
- CompartmentId string
- Identifier of the compartment this EKMS private endpoint belongs to
- EkmsPrivate List<GetEndpoints Ekms Private Endpoints Ekms Private Endpoint> 
- The list of ekms_private_endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<GetEkms Private Endpoints Filter> 
- CompartmentId string
- Identifier of the compartment this EKMS private endpoint belongs to
- EkmsPrivate []GetEndpoints Ekms Private Endpoints Ekms Private Endpoint 
- The list of ekms_private_endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetEkms Private Endpoints Filter 
- compartmentId String
- Identifier of the compartment this EKMS private endpoint belongs to
- ekmsPrivate List<GetEndpoints Ekms Private Endpoints Ekms Private Endpoint> 
- The list of ekms_private_endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<GetEkms Private Endpoints Filter> 
- compartmentId string
- Identifier of the compartment this EKMS private endpoint belongs to
- ekmsPrivate GetEndpoints Ekms Private Endpoints Ekms Private Endpoint[] 
- The list of ekms_private_endpoints.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetEkms Private Endpoints Filter[] 
- compartment_id str
- Identifier of the compartment this EKMS private endpoint belongs to
- ekms_private_ Sequence[Getendpoints Ekms Private Endpoints Ekms Private Endpoint] 
- The list of ekms_private_endpoints.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[GetEkms Private Endpoints Filter] 
- compartmentId String
- Identifier of the compartment this EKMS private endpoint belongs to
- ekmsPrivate List<Property Map>Endpoints 
- 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 string
- CABundle to validate TLS certificate of the external key manager system in PEM format
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Mutable name of the EKMS private endpoint
- ExternalKey stringManager Ip 
- Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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 string
- Unique identifier that is immutable
- LifecycleDetails 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 int
- The port of the external key manager system
- PrivateEndpoint stringIp 
- The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- State string
- The current state of the EKMS private endpoint resource.
- SubnetId string
- Subnet Identifier
- TimeCreated string
- The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- CaBundle string
- CABundle to validate TLS certificate of the external key manager system in PEM format
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Mutable name of the EKMS private endpoint
- ExternalKey stringManager Ip 
- Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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 string
- Unique identifier that is immutable
- LifecycleDetails 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 int
- The port of the external key manager system
- PrivateEndpoint stringIp 
- The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- State string
- The current state of the EKMS private endpoint resource.
- SubnetId string
- Subnet Identifier
- TimeCreated string
- The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- caBundle String
- CABundle to validate TLS certificate of the external key manager system in PEM format
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Mutable name of the EKMS private endpoint
- externalKey StringManager Ip 
- Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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 String
- Unique identifier that is immutable
- lifecycleDetails 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 Integer
- The port of the external key manager system
- privateEndpoint StringIp 
- The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state String
- The current state of the EKMS private endpoint resource.
- subnetId String
- Subnet Identifier
- timeCreated String
- The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- caBundle string
- CABundle to validate TLS certificate of the external key manager system in PEM format
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- Mutable name of the EKMS private endpoint
- externalKey stringManager Ip 
- Private IP of the external key manager system to connect to from the EKMS private endpoint
- {[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 string
- Unique identifier that is immutable
- lifecycleDetails 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 number
- The port of the external key manager system
- privateEndpoint stringIp 
- The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state string
- The current state of the EKMS private endpoint resource.
- subnetId string
- Subnet Identifier
- timeCreated string
- The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- ca_bundle str
- CABundle to validate TLS certificate of the external key manager system in PEM format
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- Mutable name of the EKMS private endpoint
- external_key_ strmanager_ ip 
- Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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 str
- Unique identifier that is immutable
- 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 'Failed' state.
- port int
- The port of the external key manager system
- private_endpoint_ strip 
- The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state str
- The current state of the EKMS private endpoint resource.
- subnet_id str
- Subnet Identifier
- time_created str
- The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- time_updated str
- The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
- caBundle String
- CABundle to validate TLS certificate of the external key manager system in PEM format
- compartmentId String
- The OCID of the compartment.
- Map<String>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Mutable name of the EKMS private endpoint
- externalKey StringManager Ip 
- Private IP of the external key manager system to connect to from the EKMS private endpoint
- 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 String
- Unique identifier that is immutable
- lifecycleDetails 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 Number
- The port of the external key manager system
- privateEndpoint StringIp 
- The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet
- state String
- The current state of the EKMS private endpoint resource.
- subnetId String
- Subnet Identifier
- timeCreated String
- The time the EKMS private endpoint was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time the EKMS private endpoint was updated. An RFC3339 formatted datetime string.
GetEkmsPrivateEndpointsFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.