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.getCertificate
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 Certificate.
Using getCertificate
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 getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>def get_certificate(certificate_id: Optional[str] = None,
                    location: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None,
                    location: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput> Note: This function is named LookupCertificate in the Go SDK.
public static class GetCertificate 
{
    public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
    public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
public static Output<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:certificatemanager/v1:getCertificate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CertificateId string
- Location string
- Project string
- CertificateId string
- Location string
- Project string
- certificateId String
- location String
- project String
- certificateId string
- location string
- project string
- certificate_id str
- location str
- project str
- certificateId String
- location String
- project String
getCertificate Result
The following output properties are available:
- CreateTime string
- The creation timestamp of a Certificate.
- Description string
- One or more paragraphs of text description of a certificate.
- ExpireTime string
- The expiry timestamp of a Certificate.
- Labels Dictionary<string, string>
- Set of labels associated with a Certificate.
- Managed
Pulumi.Google Native. Certificate Manager. V1. Outputs. Managed Certificate Response 
- If set, contains configuration and state of a managed certificate.
- Name string
- A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
- PemCertificate string
- The PEM-encoded certificate chain.
- SanDnsnames List<string>
- The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
- Scope string
- Immutable. The scope of the certificate.
- SelfManaged Pulumi.Google Native. Certificate Manager. V1. Outputs. Self Managed Certificate Response 
- If set, defines data of a self-managed certificate.
- UpdateTime string
- The last update timestamp of a Certificate.
- CreateTime string
- The creation timestamp of a Certificate.
- Description string
- One or more paragraphs of text description of a certificate.
- ExpireTime string
- The expiry timestamp of a Certificate.
- Labels map[string]string
- Set of labels associated with a Certificate.
- Managed
ManagedCertificate Response 
- If set, contains configuration and state of a managed certificate.
- Name string
- A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
- PemCertificate string
- The PEM-encoded certificate chain.
- SanDnsnames []string
- The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
- Scope string
- Immutable. The scope of the certificate.
- SelfManaged SelfManaged Certificate Response 
- If set, defines data of a self-managed certificate.
- UpdateTime string
- The last update timestamp of a Certificate.
- createTime String
- The creation timestamp of a Certificate.
- description String
- One or more paragraphs of text description of a certificate.
- expireTime String
- The expiry timestamp of a Certificate.
- labels Map<String,String>
- Set of labels associated with a Certificate.
- managed
ManagedCertificate Response 
- If set, contains configuration and state of a managed certificate.
- name String
- A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
- pemCertificate String
- The PEM-encoded certificate chain.
- sanDnsnames List<String>
- The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
- scope String
- Immutable. The scope of the certificate.
- selfManaged SelfManaged Certificate Response 
- If set, defines data of a self-managed certificate.
- updateTime String
- The last update timestamp of a Certificate.
- createTime string
- The creation timestamp of a Certificate.
- description string
- One or more paragraphs of text description of a certificate.
- expireTime string
- The expiry timestamp of a Certificate.
- labels {[key: string]: string}
- Set of labels associated with a Certificate.
- managed
ManagedCertificate Response 
- If set, contains configuration and state of a managed certificate.
- name string
- A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
- pemCertificate string
- The PEM-encoded certificate chain.
- sanDnsnames string[]
- The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
- scope string
- Immutable. The scope of the certificate.
- selfManaged SelfManaged Certificate Response 
- If set, defines data of a self-managed certificate.
- updateTime string
- The last update timestamp of a Certificate.
- create_time str
- The creation timestamp of a Certificate.
- description str
- One or more paragraphs of text description of a certificate.
- expire_time str
- The expiry timestamp of a Certificate.
- labels Mapping[str, str]
- Set of labels associated with a Certificate.
- managed
ManagedCertificate Response 
- If set, contains configuration and state of a managed certificate.
- name str
- A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
- pem_certificate str
- The PEM-encoded certificate chain.
- san_dnsnames Sequence[str]
- The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
- scope str
- Immutable. The scope of the certificate.
- self_managed SelfManaged Certificate Response 
- If set, defines data of a self-managed certificate.
- update_time str
- The last update timestamp of a Certificate.
- createTime String
- The creation timestamp of a Certificate.
- description String
- One or more paragraphs of text description of a certificate.
- expireTime String
- The expiry timestamp of a Certificate.
- labels Map<String>
- Set of labels associated with a Certificate.
- managed Property Map
- If set, contains configuration and state of a managed certificate.
- name String
- A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
- pemCertificate String
- The PEM-encoded certificate chain.
- sanDnsnames List<String>
- The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
- scope String
- Immutable. The scope of the certificate.
- selfManaged Property Map
- If set, defines data of a self-managed certificate.
- updateTime String
- The last update timestamp of a Certificate.
Supporting Types
AuthorizationAttemptInfoResponse   
- Details string
- Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
- Domain string
- Domain name of the authorization attempt.
- FailureReason string
- Reason for failure of the authorization attempt for the domain.
- State string
- State of the domain for managed certificate issuance.
- Details string
- Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
- Domain string
- Domain name of the authorization attempt.
- FailureReason string
- Reason for failure of the authorization attempt for the domain.
- State string
- State of the domain for managed certificate issuance.
- details String
- Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
- domain String
- Domain name of the authorization attempt.
- failureReason String
- Reason for failure of the authorization attempt for the domain.
- state String
- State of the domain for managed certificate issuance.
- details string
- Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
- domain string
- Domain name of the authorization attempt.
- failureReason string
- Reason for failure of the authorization attempt for the domain.
- state string
- State of the domain for managed certificate issuance.
- details str
- Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
- domain str
- Domain name of the authorization attempt.
- failure_reason str
- Reason for failure of the authorization attempt for the domain.
- state str
- State of the domain for managed certificate issuance.
- details String
- Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum.
- domain String
- Domain name of the authorization attempt.
- failureReason String
- Reason for failure of the authorization attempt for the domain.
- state String
- State of the domain for managed certificate issuance.
ManagedCertificateResponse  
- 
List<Pulumi.Google Native. Certificate Manager. V1. Inputs. Authorization Attempt Info Response> 
- Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.
- List<string>
- Immutable. Authorizations that will be used for performing domain authorization.
- Domains List<string>
- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
- IssuanceConfig string
- Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
- ProvisioningIssue Pulumi.Google Native. Certificate Manager. V1. Inputs. Provisioning Issue Response 
- Information about issues with provisioning a Managed Certificate.
- State string
- State of the managed certificate resource.
- 
[]AuthorizationAttempt Info Response 
- Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.
- []string
- Immutable. Authorizations that will be used for performing domain authorization.
- Domains []string
- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
- IssuanceConfig string
- Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
- ProvisioningIssue ProvisioningIssue Response 
- Information about issues with provisioning a Managed Certificate.
- State string
- State of the managed certificate resource.
- 
List<AuthorizationAttempt Info Response> 
- Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.
- List<String>
- Immutable. Authorizations that will be used for performing domain authorization.
- domains List<String>
- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
- issuanceConfig String
- Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
- provisioningIssue ProvisioningIssue Response 
- Information about issues with provisioning a Managed Certificate.
- state String
- State of the managed certificate resource.
- 
AuthorizationAttempt Info Response[] 
- Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.
- string[]
- Immutable. Authorizations that will be used for performing domain authorization.
- domains string[]
- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
- issuanceConfig string
- Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
- provisioningIssue ProvisioningIssue Response 
- Information about issues with provisioning a Managed Certificate.
- state string
- State of the managed certificate resource.
- 
Sequence[AuthorizationAttempt Info Response] 
- Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.
- Sequence[str]
- Immutable. Authorizations that will be used for performing domain authorization.
- domains Sequence[str]
- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
- issuance_config str
- Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
- provisioning_issue ProvisioningIssue Response 
- Information about issues with provisioning a Managed Certificate.
- state str
- State of the managed certificate resource.
- List<Property Map>
- Detailed state of the latest authorization attempt for each domain specified for managed certificate resource.
- List<String>
- Immutable. Authorizations that will be used for performing domain authorization.
- domains List<String>
- Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution.
- issuanceConfig String
- Immutable. The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
- provisioningIssue Property Map
- Information about issues with provisioning a Managed Certificate.
- state String
- State of the managed certificate resource.
ProvisioningIssueResponse  
SelfManagedCertificateResponse   
- PemCertificate string
- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
- PemPrivate stringKey 
- Input only. The PEM-encoded private key of the leaf certificate.
- PemCertificate string
- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
- PemPrivate stringKey 
- Input only. The PEM-encoded private key of the leaf certificate.
- pemCertificate String
- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
- pemPrivate StringKey 
- Input only. The PEM-encoded private key of the leaf certificate.
- pemCertificate string
- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
- pemPrivate stringKey 
- Input only. The PEM-encoded private key of the leaf certificate.
- pem_certificate str
- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
- pem_private_ strkey 
- Input only. The PEM-encoded private key of the leaf certificate.
- pemCertificate String
- Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.
- pemPrivate StringKey 
- Input only. The PEM-encoded private key of the leaf certificate.
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