Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudkms/v1.getEkmConnection
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns metadata for a given EkmConnection.
Using getEkmConnection
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 getEkmConnection(args: GetEkmConnectionArgs, opts?: InvokeOptions): Promise<GetEkmConnectionResult>
function getEkmConnectionOutput(args: GetEkmConnectionOutputArgs, opts?: InvokeOptions): Output<GetEkmConnectionResult>
def get_ekm_connection(ekm_connection_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEkmConnectionResult
def get_ekm_connection_output(ekm_connection_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEkmConnectionResult]
func LookupEkmConnection(ctx *Context, args *LookupEkmConnectionArgs, opts ...InvokeOption) (*LookupEkmConnectionResult, error)
func LookupEkmConnectionOutput(ctx *Context, args *LookupEkmConnectionOutputArgs, opts ...InvokeOption) LookupEkmConnectionResultOutput
> Note: This function is named LookupEkmConnection
in the Go SDK.
public static class GetEkmConnection
{
public static Task<GetEkmConnectionResult> InvokeAsync(GetEkmConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetEkmConnectionResult> Invoke(GetEkmConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEkmConnectionResult> getEkmConnection(GetEkmConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:cloudkms/v1:getEkmConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Ekm
Connection stringId - Location string
- Project string
- Ekm
Connection stringId - Location string
- Project string
- ekm
Connection StringId - location String
- project String
- ekm
Connection stringId - location string
- project string
- ekm_
connection_ strid - location str
- project str
- ekm
Connection StringId - location String
- project String
getEkmConnection Result
The following output properties are available:
- Create
Time string - The time at which the EkmConnection was created.
- Crypto
Space stringPath - Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- Etag string
- Optional. Etag of the currently stored EkmConnection.
- Key
Management stringMode - Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- Name string
- The resource name for the EkmConnection in the format
projects/*/locations/*/ekmConnections/*
. - Service
Resolvers List<Pulumi.Google Native. Cloudkms. V1. Outputs. Service Resolver Response> - A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
- Create
Time string - The time at which the EkmConnection was created.
- Crypto
Space stringPath - Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- Etag string
- Optional. Etag of the currently stored EkmConnection.
- Key
Management stringMode - Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- Name string
- The resource name for the EkmConnection in the format
projects/*/locations/*/ekmConnections/*
. - Service
Resolvers []ServiceResolver Response - A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
- create
Time String - The time at which the EkmConnection was created.
- crypto
Space StringPath - Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- etag String
- Optional. Etag of the currently stored EkmConnection.
- key
Management StringMode - Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- name String
- The resource name for the EkmConnection in the format
projects/*/locations/*/ekmConnections/*
. - service
Resolvers List<ServiceResolver Response> - A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
- create
Time string - The time at which the EkmConnection was created.
- crypto
Space stringPath - Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- etag string
- Optional. Etag of the currently stored EkmConnection.
- key
Management stringMode - Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- name string
- The resource name for the EkmConnection in the format
projects/*/locations/*/ekmConnections/*
. - service
Resolvers ServiceResolver Response[] - A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
- create_
time str - The time at which the EkmConnection was created.
- crypto_
space_ strpath - Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- etag str
- Optional. Etag of the currently stored EkmConnection.
- key_
management_ strmode - Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- name str
- The resource name for the EkmConnection in the format
projects/*/locations/*/ekmConnections/*
. - service_
resolvers Sequence[ServiceResolver Response] - A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
- create
Time String - The time at which the EkmConnection was created.
- crypto
Space StringPath - Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- etag String
- Optional. Etag of the currently stored EkmConnection.
- key
Management StringMode - Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- name String
- The resource name for the EkmConnection in the format
projects/*/locations/*/ekmConnections/*
. - service
Resolvers List<Property Map> - A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
Supporting Types
CertificateResponse
- Issuer string
- The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
- Not
After stringTime - The certificate is not valid after this time. Only present if parsed is true.
- Not
Before stringTime - The certificate is not valid before this time. Only present if parsed is true.
- Parsed bool
- True if the certificate was parsed successfully.
- Raw
Der string - The raw certificate bytes in DER format.
- Serial
Number string - The certificate serial number as a hex string. Only present if parsed is true.
- Sha256Fingerprint string
- The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
- Subject string
- The subject distinguished name in RFC 2253 format. Only present if parsed is true.
- Subject
Alternative List<string>Dns Names - The subject Alternative DNS names. Only present if parsed is true.
- Issuer string
- The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
- Not
After stringTime - The certificate is not valid after this time. Only present if parsed is true.
- Not
Before stringTime - The certificate is not valid before this time. Only present if parsed is true.
- Parsed bool
- True if the certificate was parsed successfully.
- Raw
Der string - The raw certificate bytes in DER format.
- Serial
Number string - The certificate serial number as a hex string. Only present if parsed is true.
- Sha256Fingerprint string
- The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
- Subject string
- The subject distinguished name in RFC 2253 format. Only present if parsed is true.
- Subject
Alternative []stringDns Names - The subject Alternative DNS names. Only present if parsed is true.
- issuer String
- The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
- not
After StringTime - The certificate is not valid after this time. Only present if parsed is true.
- not
Before StringTime - The certificate is not valid before this time. Only present if parsed is true.
- parsed Boolean
- True if the certificate was parsed successfully.
- raw
Der String - The raw certificate bytes in DER format.
- serial
Number String - The certificate serial number as a hex string. Only present if parsed is true.
- sha256Fingerprint String
- The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
- subject String
- The subject distinguished name in RFC 2253 format. Only present if parsed is true.
- subject
Alternative List<String>Dns Names - The subject Alternative DNS names. Only present if parsed is true.
- issuer string
- The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
- not
After stringTime - The certificate is not valid after this time. Only present if parsed is true.
- not
Before stringTime - The certificate is not valid before this time. Only present if parsed is true.
- parsed boolean
- True if the certificate was parsed successfully.
- raw
Der string - The raw certificate bytes in DER format.
- serial
Number string - The certificate serial number as a hex string. Only present if parsed is true.
- sha256Fingerprint string
- The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
- subject string
- The subject distinguished name in RFC 2253 format. Only present if parsed is true.
- subject
Alternative string[]Dns Names - The subject Alternative DNS names. Only present if parsed is true.
- issuer str
- The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
- not_
after_ strtime - The certificate is not valid after this time. Only present if parsed is true.
- not_
before_ strtime - The certificate is not valid before this time. Only present if parsed is true.
- parsed bool
- True if the certificate was parsed successfully.
- raw_
der str - The raw certificate bytes in DER format.
- serial_
number str - The certificate serial number as a hex string. Only present if parsed is true.
- sha256_
fingerprint str - The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
- subject str
- The subject distinguished name in RFC 2253 format. Only present if parsed is true.
- subject_
alternative_ Sequence[str]dns_ names - The subject Alternative DNS names. Only present if parsed is true.
- issuer String
- The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
- not
After StringTime - The certificate is not valid after this time. Only present if parsed is true.
- not
Before StringTime - The certificate is not valid before this time. Only present if parsed is true.
- parsed Boolean
- True if the certificate was parsed successfully.
- raw
Der String - The raw certificate bytes in DER format.
- serial
Number String - The certificate serial number as a hex string. Only present if parsed is true.
- sha256Fingerprint String
- The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
- subject String
- The subject distinguished name in RFC 2253 format. Only present if parsed is true.
- subject
Alternative List<String>Dns Names - The subject Alternative DNS names. Only present if parsed is true.
ServiceResolverResponse
- Endpoint
Filter string - Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
- Hostname string
- The hostname of the EKM replica used at TLS and HTTP layers.
- Server
Certificates List<Pulumi.Google Native. Cloudkms. V1. Inputs. Certificate Response> - A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
- Service
Directory stringService - The resource name of the Service Directory service pointing to an EKM replica, in the format
projects/*/locations/*/namespaces/*/services/*
.
- Endpoint
Filter string - Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
- Hostname string
- The hostname of the EKM replica used at TLS and HTTP layers.
- Server
Certificates []CertificateResponse - A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
- Service
Directory stringService - The resource name of the Service Directory service pointing to an EKM replica, in the format
projects/*/locations/*/namespaces/*/services/*
.
- endpoint
Filter String - Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
- hostname String
- The hostname of the EKM replica used at TLS and HTTP layers.
- server
Certificates List<CertificateResponse> - A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
- service
Directory StringService - The resource name of the Service Directory service pointing to an EKM replica, in the format
projects/*/locations/*/namespaces/*/services/*
.
- endpoint
Filter string - Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
- hostname string
- The hostname of the EKM replica used at TLS and HTTP layers.
- server
Certificates CertificateResponse[] - A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
- service
Directory stringService - The resource name of the Service Directory service pointing to an EKM replica, in the format
projects/*/locations/*/namespaces/*/services/*
.
- endpoint_
filter str - Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
- hostname str
- The hostname of the EKM replica used at TLS and HTTP layers.
- server_
certificates Sequence[CertificateResponse] - A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
- service_
directory_ strservice - The resource name of the Service Directory service pointing to an EKM replica, in the format
projects/*/locations/*/namespaces/*/services/*
.
- endpoint
Filter String - Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest.
- hostname String
- The hostname of the EKM replica used at TLS and HTTP layers.
- server
Certificates List<Property Map> - A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 Certificate is supported.
- service
Directory StringService - The resource name of the Service Directory service pointing to an EKM replica, in the format
projects/*/locations/*/namespaces/*/services/*
.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi