- Resource: CertificateAuthority
- Type
- KeyVersionSpec
- SignHashAlgorithm
- SubordinateConfig
- SubordinateConfigChain
- State
- AccessUrls
- Methods
Resource: CertificateAuthority
A CertificateAuthority
represents an individual Certificate Authority. A CertificateAuthority
can be used to create Certificates
.
JSON representation |
---|
{ "name": string, "type": enum ( |
Fields | |
---|---|
name |
Output only. The resource name for this |
type |
Required. Immutable. The |
config |
Required. Immutable. The config used to create a self-signed X.509 certificate or CSR. |
lifetime |
Required. Immutable. The desired lifetime of the CA certificate. Used to create the "notBeforeTime" and "notAfterTime" fields inside an X.509 certificate. A duration in seconds with up to nine fractional digits, ending with ' |
keySpec |
Required. Immutable. Used when issuing certificates for this |
subordinateConfig |
Optional. If this is a subordinate |
tier |
Output only. The |
state |
Output only. The |
pemCaCertificates[] |
Output only. This |
caCertificateDescriptions[] |
Output only. A structured description of this |
gcsBucket |
Immutable. The name of a Cloud Storage bucket where this |
accessUrls |
Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs. |
createTime |
Output only. The time at which this A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time at which this A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
deleteTime |
Output only. The time at which this A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
expireTime |
Output only. The time at which this A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. Labels with user-defined metadata. An object containing a list of |
satisfiesPzs |
Output only. Reserved for future use. |
satisfiesPzi |
Output only. Reserved for future use. |
Type
The type of a CertificateAuthority
, indicating its issuing chain.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Not specified. |
SELF_SIGNED |
Self-signed CA. |
SUBORDINATE |
Subordinate CA. Could be issued by a Private CA CertificateAuthority or an unmanaged CA. |
KeyVersionSpec
A Cloud KMS key configuration that a CertificateAuthority
will use.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
cloudKmsKeyVersion |
The resource name for an existing Cloud KMS CryptoKeyVersion in the format |
algorithm |
The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as |
SignHashAlgorithm
The algorithm of a Cloud KMS CryptoKeyVersion of a [CryptoKey][google.cloud.kms.v1.CryptoKey] with the [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] value ASYMMETRIC_SIGN
. These values correspond to the [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] values. For RSA signing algorithms, the PSS algorithms should be preferred, use PKCS1 algorithms if required for compatibility. For further recommendations, see https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations.
Enums | |
---|---|
SIGN_HASH_ALGORITHM_UNSPECIFIED |
Not specified. |
RSA_PSS_2048_SHA256 |
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256 |
RSA_PSS_3072_SHA256 |
maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256 |
RSA_PSS_4096_SHA256 |
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256 |
RSA_PKCS1_2048_SHA256 |
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256 |
RSA_PKCS1_3072_SHA256 |
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256 |
RSA_PKCS1_4096_SHA256 |
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256 |
EC_P256_SHA256 |
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256 |
EC_P384_SHA384 |
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384 |
SubordinateConfig
Describes a subordinate CA's issuers. This is either a resource name to a known issuing CertificateAuthority
, or a PEM issuer certificate chain.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
certificateAuthority |
Required. This can refer to a |
pemIssuerChain |
Required. Contains the PEM certificate chain for the issuers of this |
SubordinateConfigChain
This message describes a subordinate CA's issuer certificate chain. This wrapper exists for compatibility reasons.
JSON representation |
---|
{ "pemCertificates": [ string ] } |
Fields | |
---|---|
pemCertificates[] |
Required. Expected to be in leaf-to-root order according to RFC 5246. |
State
The state of a CertificateAuthority
, indicating if it can be used.
Enums | |
---|---|
STATE_UNSPECIFIED |
Not specified. |
ENABLED |
Certificates can be issued from this CA. CRLs will be generated for this CA. The CA will be part of the CaPool 's trust anchor, and will be used to issue certificates from the CaPool . |
DISABLED |
Certificates cannot be issued from this CA. CRLs will still be generated. The CA will be part of the CaPool 's trust anchor, but will not be used to issue certificates from the CaPool . |
STAGED |
Certificates can be issued from this CA. CRLs will be generated for this CA. The CA will be part of the CaPool 's trust anchor, but will not be used to issue certificates from the CaPool . |
AWAITING_USER_ACTIVATION |
Certificates cannot be issued from this CA. CRLs will not be generated. The CA will not be part of the CaPool 's trust anchor, and will not be used to issue certificates from the CaPool . |
DELETED |
Certificates cannot be issued from this CA. CRLs will not be generated. The CA may still be recovered by calling CertificateAuthorityService.UndeleteCertificateAuthority before expireTime . The CA will not be part of the CaPool 's trust anchor, and will not be used to issue certificates from the CaPool . |
AccessUrls
URLs where a CertificateAuthority
will publish content.
JSON representation |
---|
{ "caCertificateAccessUrl": string, "crlAccessUrls": [ string ] } |
Fields | |
---|---|
caCertificateAccessUrl |
The URL where this |
crlAccessUrls[] |
The URLs where this |
Methods |
|
---|---|
|
Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE . |
|
Create a new CertificateAuthority in a given Project and Location. |
|
Delete a CertificateAuthority . |
|
Disable a CertificateAuthority . |
|
Enable a CertificateAuthority . |
|
Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE . |
|
Returns a CertificateAuthority . |
|
Lists CertificateAuthorities . |
|
Update a CertificateAuthority . |
|
Undelete a CertificateAuthority that has been deleted. |