1. Packages
  2. Google Cloud Native
  3. API Docs
  4. certificatemanager
  5. certificatemanager/v1
  6. getTrustConfig

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.certificatemanager/v1.getTrustConfig

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

Gets details of a single TrustConfig.

Using getTrustConfig

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 getTrustConfig(args: GetTrustConfigArgs, opts?: InvokeOptions): Promise<GetTrustConfigResult>
function getTrustConfigOutput(args: GetTrustConfigOutputArgs, opts?: InvokeOptions): Output<GetTrustConfigResult>
Copy
def get_trust_config(location: Optional[str] = None,
                     project: Optional[str] = None,
                     trust_config_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetTrustConfigResult
def get_trust_config_output(location: Optional[pulumi.Input[str]] = None,
                     project: Optional[pulumi.Input[str]] = None,
                     trust_config_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetTrustConfigResult]
Copy
func LookupTrustConfig(ctx *Context, args *LookupTrustConfigArgs, opts ...InvokeOption) (*LookupTrustConfigResult, error)
func LookupTrustConfigOutput(ctx *Context, args *LookupTrustConfigOutputArgs, opts ...InvokeOption) LookupTrustConfigResultOutput
Copy

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

public static class GetTrustConfig 
{
    public static Task<GetTrustConfigResult> InvokeAsync(GetTrustConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetTrustConfigResult> Invoke(GetTrustConfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTrustConfigResult> getTrustConfig(GetTrustConfigArgs args, InvokeOptions options)
public static Output<GetTrustConfigResult> getTrustConfig(GetTrustConfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:certificatemanager/v1:getTrustConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
TrustConfigId This property is required. string
Project string
Location This property is required. string
TrustConfigId This property is required. string
Project string
location This property is required. String
trustConfigId This property is required. String
project String
location This property is required. string
trustConfigId This property is required. string
project string
location This property is required. str
trust_config_id This property is required. str
project str
location This property is required. String
trustConfigId This property is required. String
project String

getTrustConfig Result

The following output properties are available:

CreateTime string
The creation timestamp of a TrustConfig.
Description string
One or more paragraphs of text description of a TrustConfig.
Etag string
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Labels Dictionary<string, string>
Set of labels associated with a TrustConfig.
Name string
A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.
TrustStores List<Pulumi.GoogleNative.CertificateManager.V1.Outputs.TrustStoreResponse>
Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
UpdateTime string
The last update timestamp of a TrustConfig.
CreateTime string
The creation timestamp of a TrustConfig.
Description string
One or more paragraphs of text description of a TrustConfig.
Etag string
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Labels map[string]string
Set of labels associated with a TrustConfig.
Name string
A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.
TrustStores []TrustStoreResponse
Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
UpdateTime string
The last update timestamp of a TrustConfig.
createTime String
The creation timestamp of a TrustConfig.
description String
One or more paragraphs of text description of a TrustConfig.
etag String
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labels Map<String,String>
Set of labels associated with a TrustConfig.
name String
A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.
trustStores List<TrustStoreResponse>
Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
updateTime String
The last update timestamp of a TrustConfig.
createTime string
The creation timestamp of a TrustConfig.
description string
One or more paragraphs of text description of a TrustConfig.
etag string
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labels {[key: string]: string}
Set of labels associated with a TrustConfig.
name string
A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.
trustStores TrustStoreResponse[]
Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
updateTime string
The last update timestamp of a TrustConfig.
create_time str
The creation timestamp of a TrustConfig.
description str
One or more paragraphs of text description of a TrustConfig.
etag str
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labels Mapping[str, str]
Set of labels associated with a TrustConfig.
name str
A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.
trust_stores Sequence[TrustStoreResponse]
Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
update_time str
The last update timestamp of a TrustConfig.
createTime String
The creation timestamp of a TrustConfig.
description String
One or more paragraphs of text description of a TrustConfig.
etag String
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
labels Map<String>
Set of labels associated with a TrustConfig.
name String
A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.
trustStores List<Property Map>
Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
updateTime String
The last update timestamp of a TrustConfig.

Supporting Types

IntermediateCAResponse

PemCertificate This property is required. string
PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
PemCertificate This property is required. string
PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
pemCertificate This property is required. String
PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
pemCertificate This property is required. string
PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
pem_certificate This property is required. str
PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
pemCertificate This property is required. String
PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.

TrustAnchorResponse

PemCertificate This property is required. string
PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
PemCertificate This property is required. string
PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
pemCertificate This property is required. String
PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
pemCertificate This property is required. string
PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
pem_certificate This property is required. str
PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.
pemCertificate This property is required. String
PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB.

TrustStoreResponse

IntermediateCas This property is required. List<Pulumi.GoogleNative.CertificateManager.V1.Inputs.IntermediateCAResponse>
Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
TrustAnchors This property is required. List<Pulumi.GoogleNative.CertificateManager.V1.Inputs.TrustAnchorResponse>
List of Trust Anchors to be used while performing validation against a given TrustStore.
IntermediateCas This property is required. []IntermediateCAResponse
Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
TrustAnchors This property is required. []TrustAnchorResponse
List of Trust Anchors to be used while performing validation against a given TrustStore.
intermediateCas This property is required. List<IntermediateCAResponse>
Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
trustAnchors This property is required. List<TrustAnchorResponse>
List of Trust Anchors to be used while performing validation against a given TrustStore.
intermediateCas This property is required. IntermediateCAResponse[]
Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
trustAnchors This property is required. TrustAnchorResponse[]
List of Trust Anchors to be used while performing validation against a given TrustStore.
intermediate_cas This property is required. Sequence[IntermediateCAResponse]
Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
trust_anchors This property is required. Sequence[TrustAnchorResponse]
List of Trust Anchors to be used while performing validation against a given TrustStore.
intermediateCas This property is required. List<Property Map>
Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.
trustAnchors This property is required. List<Property Map>
List of Trust Anchors to be used while performing validation against a given TrustStore.

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