- Resource: Certificate
- SelfManagedCertificate
- ManagedCertificate
- State
- ProvisioningIssue
- Reason
- AuthorizationAttemptInfo
- State
- FailureReason
- Scope
- Methods
Resource: Certificate
Defines TLS certificate.
JSON representation |
---|
{ "name": string, "description": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "sanDnsnames": [ string ], "pemCertificate": string, "expireTime": string, "scope": enum ( |
Fields | |
---|---|
name |
Identifier. A user-defined name of the certificate. Certificate names must be unique globally and match pattern |
description |
Optional. One or more paragraphs of text description of a certificate. |
createTime |
Output only. The creation timestamp of a Certificate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The last update timestamp of a Certificate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. Set of labels associated with a Certificate. An object containing a list of |
sanDnsnames[] |
Output only. 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. |
pemCertificate |
Output only. The PEM-encoded certificate chain. |
expireTime |
Output only. The expiry timestamp of a Certificate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
scope |
Optional. Immutable. The scope of the certificate. |
Union field type . Type of the certificate. Required. type can be only one of the following: |
|
selfManaged |
If set, defines data of a self-managed certificate. |
managed |
If set, contains configuration and state of a managed certificate. |
SelfManagedCertificate
Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.
JSON representation |
---|
{ "pemCertificate": string, "pemPrivateKey": string } |
Fields | |
---|---|
pemCertificate |
Optional. Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any. |
pemPrivateKey |
Optional. Input only. The PEM-encoded private key of the leaf certificate. |
ManagedCertificate
Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so.
JSON representation |
---|
{ "domains": [ string ], "dnsAuthorizations": [ string ], "issuanceConfig": string, "state": enum ( |
Fields | |
---|---|
domains[] |
Optional. Immutable. The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution. |
dnsAuthorizations[] |
Optional. Immutable. Authorizations that will be used for performing domain authorization. |
issuanceConfig |
Optional. Immutable. The resource name for a |
state |
Output only. State of the managed certificate resource. |
provisioningIssue |
Output only. Information about issues with provisioning a Managed Certificate. |
authorizationAttemptInfo[] |
Output only. Detailed state of the latest authorization attempt for each domain specified for managed certificate resource. |
State
State of the managed certificate resource.
Enums | |
---|---|
STATE_UNSPECIFIED |
State is unspecified. |
PROVISIONING |
Certificate Manager attempts to provision or renew the certificate. If the process takes longer than expected, consult the provisioningIssue field. |
FAILED |
Multiple certificate provisioning attempts failed and Certificate Manager gave up. To try again, delete and create a new managed Certificate resource. For details see the provisioningIssue field. |
ACTIVE |
The certificate management is working, and a certificate has been provisioned. |
ProvisioningIssue
Information about issues with provisioning a Managed Certificate.
JSON representation |
---|
{
"reason": enum ( |
Fields | |
---|---|
reason |
Output only. Reason for provisioning failures. |
details |
Output only. Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum. |
Reason
Reason for provisioning failures.
Enums | |
---|---|
REASON_UNSPECIFIED |
Reason is unspecified. |
AUTHORIZATION_ISSUE |
Certificate provisioning failed due to an issue with one or more of the domains on the certificate. For details of which domains failed, consult the authorizationAttemptInfo field. |
RATE_LIMITED |
Exceeded Certificate Authority quotas or internal rate limits of the system. Provisioning may take longer to complete. |
AuthorizationAttemptInfo
State of the latest attempt to authorize a domain for certificate issuance.
JSON representation |
---|
{ "domain": string, "state": enum ( |
Fields | |
---|---|
domain |
Output only. Domain name of the authorization attempt. |
state |
Output only. State of the domain for managed certificate issuance. |
failureReason |
Output only. Reason for failure of the authorization attempt for the domain. |
details |
Output only. 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. |
State
State of the domain for managed certificate issuance.
Enums | |
---|---|
STATE_UNSPECIFIED |
State is unspecified. |
AUTHORIZING |
Certificate provisioning for this domain is under way. Google Cloud will attempt to authorize the domain. |
AUTHORIZED |
A managed certificate can be provisioned, no issues for this domain. |
FAILED |
Attempt to authorize the domain failed. This prevents the Managed Certificate from being issued. See failureReason and details fields for more information. |
FailureReason
Reason for failure of the authorization attempt for the domain.
Enums | |
---|---|
FAILURE_REASON_UNSPECIFIED |
FailureReason is unspecified. |
CONFIG |
There was a problem with the user's DNS or load balancer configuration for this domain. |
CAA |
Certificate issuance forbidden by an explicit CAA record for the domain or a failure to check CAA records for the domain. |
RATE_LIMITED |
Reached a CA or internal rate-limit for the domain, e.g. for certificates per top-level private domain. |
Scope
Certificate scope.
Enums | |
---|---|
DEFAULT |
Certificates with default scope are served from core Google data centers. If unsure, choose this option. |
EDGE_CACHE |
Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations. |
ALL_REGIONS |
Certificates with ALL_REGIONS scope are served from all Google Cloud regions. See https://cloud.google.com/compute/docs/regions-zones. |
Methods |
|
---|---|
|
Creates a new Certificate in a given project and location. |
|
Deletes a single Certificate. |
|
Gets details of a single Certificate. |
|
Lists Certificates in a given project and location. |
|
Updates a Certificate. |