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-native logo

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>
    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]
    func LookupTrustConfig(ctx *Context, args *LookupTrustConfigArgs, opts ...InvokeOption) (*LookupTrustConfigResult, error)
    func LookupTrustConfigOutput(ctx *Context, args *LookupTrustConfigOutputArgs, opts ...InvokeOption) LookupTrustConfigResultOutput

    > 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)
    }
    public static CompletableFuture<GetTrustConfigResult> getTrustConfig(GetTrustConfigArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:certificatemanager/v1:getTrustConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    TrustConfigId string
    Project string
    Location string
    TrustConfigId string
    Project string
    location String
    trustConfigId String
    project String
    location string
    trustConfigId string
    project string
    location String
    trustConfigId 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 string
    PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
    PemCertificate string
    PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
    pemCertificate String
    PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
    pemCertificate string
    PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
    pem_certificate str
    PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.
    pemCertificate String
    PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB.

    TrustAnchorResponse

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

    TrustStoreResponse

    IntermediateCas 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 List<Pulumi.GoogleNative.CertificateManager.V1.Inputs.TrustAnchorResponse>
    List of Trust Anchors to be used while performing validation against a given TrustStore.
    IntermediateCas []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 []TrustAnchorResponse
    List of Trust Anchors to be used while performing validation against a given TrustStore.
    intermediateCas 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 List<TrustAnchorResponse>
    List of Trust Anchors to be used while performing validation against a given TrustStore.
    intermediateCas 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 TrustAnchorResponse[]
    List of Trust Anchors to be used while performing validation against a given TrustStore.
    intermediate_cas 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 Sequence[TrustAnchorResponse]
    List of Trust Anchors to be used while performing validation against a given TrustStore.
    intermediateCas 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 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-native logo

    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