Index
CertificateAuthorityService
(interface)ActivateCertificateAuthorityRequest
(message)Certificate
(message)Certificate.RevocationDetails
(message)CertificateAuthority
(message)CertificateAuthority.AccessUrls
(message)CertificateAuthority.CertificateAuthorityPolicy
(message)CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
(message)CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
(message)CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
(message)CertificateAuthority.IssuingOptions
(message)CertificateAuthority.KeyVersionSpec
(message)CertificateAuthority.SignHashAlgorithm
(enum)CertificateAuthority.State
(enum)CertificateAuthority.Tier
(enum)CertificateAuthority.Type
(enum)CertificateConfig
(message)CertificateConfig.SubjectConfig
(message)CertificateDescription
(message)CertificateDescription.CertificateFingerprint
(message)CertificateDescription.KeyId
(message)CertificateDescription.SubjectDescription
(message)CertificateRevocationList
(message)CertificateRevocationList.RevokedCertificate
(message)CertificateRevocationList.State
(enum)CreateCertificateAuthorityRequest
(message)CreateCertificateRequest
(message)DisableCertificateAuthorityRequest
(message)EnableCertificateAuthorityRequest
(message)FetchCertificateAuthorityCsrRequest
(message)FetchCertificateAuthorityCsrResponse
(message)GetCertificateAuthorityRequest
(message)GetCertificateRequest
(message)GetCertificateRevocationListRequest
(message)GetReusableConfigRequest
(message)KeyUsage
(message)KeyUsage.ExtendedKeyUsageOptions
(message)KeyUsage.KeyUsageOptions
(message)ListCertificateAuthoritiesRequest
(message)ListCertificateAuthoritiesResponse
(message)ListCertificateRevocationListsRequest
(message)ListCertificateRevocationListsResponse
(message)ListCertificatesRequest
(message)ListCertificatesResponse
(message)ListReusableConfigsRequest
(message)ListReusableConfigsResponse
(message)ObjectId
(message)OperationMetadata
(message)PublicKey
(message)PublicKey.KeyType
(enum)RestoreCertificateAuthorityRequest
(message)ReusableConfig
(message)ReusableConfigValues
(message)ReusableConfigValues.CaOptions
(message)ReusableConfigWrapper
(message)RevocationReason
(enum)RevokeCertificateRequest
(message)ScheduleDeleteCertificateAuthorityRequest
(message)Subject
(message)SubjectAltNames
(message)SubordinateConfig
(message)SubordinateConfig.SubordinateConfigChain
(message)UpdateCertificateAuthorityRequest
(message)UpdateCertificateRequest
(message)UpdateCertificateRevocationListRequest
(message)X509Extension
(message)
CertificateAuthorityService
Certificate Authority Service
manages private certificate authorities and issued certificates.
ActivateCertificateAuthority | |
---|---|
Activate a
|
CreateCertificate | |
---|---|
Create a new
|
CreateCertificateAuthority | |
---|---|
Create a new
|
DisableCertificateAuthority | |
---|---|
Disable a
|
EnableCertificateAuthority | |
---|---|
Enable a
|
FetchCertificateAuthorityCsr | |
---|---|
Fetch a certificate signing request (CSR) from a
|
GetCertificate | |
---|---|
Returns a
|
GetCertificateAuthority | |
---|---|
Returns a
|
GetCertificateRevocationList | |
---|---|
Returns a
|
GetReusableConfig | |
---|---|
Returns a
|
ListCertificateAuthorities | |
---|---|
Lists
|
ListCertificateRevocationLists | |
---|---|
Lists
|
ListCertificates | |
---|---|
Lists
|
ListReusableConfigs | |
---|---|
Lists
|
RestoreCertificateAuthority | |
---|---|
Restore a
|
RevokeCertificate | |
---|---|
Revoke a
|
ScheduleDeleteCertificateAuthority | |
---|---|
Schedule a
|
UpdateCertificate | |
---|---|
Update a
|
UpdateCertificateAuthority | |
---|---|
Update a
|
UpdateCertificateRevocationList | |
---|---|
Update a
|
ActivateCertificateAuthorityRequest
Request message for CertificateAuthorityService.ActivateCertificateAuthority
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
pem_ca_certificate |
Required. The signed CA certificate issued from |
subordinate_config |
Required. Must include information about the issuer of 'pem_ca_certificate', and any further issuers until the self-signed CA. |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
Certificate
A Certificate
corresponds to a signed X.509 certificate issued by a CertificateAuthority
.
Fields | ||
---|---|---|
name |
Output only. The resource path for this |
|
lifetime |
Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain. |
|
revocation_details |
Output only. Details regarding the revocation of this |
|
pem_certificate |
Output only. The pem-encoded, signed X.509 certificate. |
|
certificate_description |
Output only. A structured description of the issued X.509 certificate. |
|
pem_certificate_chain[] |
Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246. |
|
create_time |
Output only. The time at which this |
|
update_time |
Output only. The time at which this |
|
labels |
Optional. Labels with user-defined metadata. |
|
Union field certificate_config . The config used to create a signed X.509 certificate. certificate_config can be only one of the following: |
||
pem_csr |
Immutable. A pem-encoded X.509 certificate signing request (CSR). |
|
config |
Immutable. A description of the certificate and key that does not require X.509 or ASN.1. |
RevocationDetails
Describes fields that are relavent to the revocation of a Certificate
.
Fields | |
---|---|
revocation_state |
Indicates why a |
revocation_time |
The time at which this |
CertificateAuthority
A CertificateAuthority
represents an individual Certificate Authority. A CertificateAuthority
can be used to create Certificates
.
Fields | |
---|---|
name |
Output only. The resource name for this |
type |
Required. Immutable. The |
tier |
Required. Immutable. The |
config |
Required. Immutable. The config used to create a self-signed X.509 certificate or CSR. |
lifetime |
Required. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. |
key_spec |
Required. Immutable. Used when issuing certificates for this |
certificate_policy |
Optional. The |
issuing_options |
Optional. The |
subordinate_config |
Optional. If this is a subordinate |
state |
Output only. The |
pem_ca_certificates[] |
Output only. This |
ca_certificate_descriptions[] |
Output only. A structured description of this |
gcs_bucket |
Immutable. The name of a Cloud Storage bucket where this |
access_urls |
Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs. |
create_time |
Output only. The time at which this |
update_time |
Output only. The time at which this |
delete_time |
Output only. The time at which this |
labels |
Optional. Labels with user-defined metadata. |
AccessUrls
URLs where a CertificateAuthority
will publish content.
Fields | |
---|---|
ca_certificate_access_url |
The URL where this |
crl_access_url |
The URL where this |
CertificateAuthorityPolicy
The issuing policy for a CertificateAuthority
. Certificates
will not be successfully issued from this CertificateAuthority
if they violate the policy.
Fields | ||
---|---|---|
allowed_locations_and_organizations[] |
Optional. If any |
|
allowed_common_names[] |
Optional. If any value is specified here, then all |
|
allowed_sans |
Optional. If a |
|
maximum_lifetime |
Optional. The maximum lifetime allowed by the |
|
allowed_issuance_modes |
Optional. If specified, then only methods allowed in the |
|
Union field config_policy . Allowed configurations or a single configuration for all issued certificates. config_policy can be only one of the following: |
||
allowed_config_list |
Optional. All |
|
overwrite_config_values |
Optional. All |
AllowedConfigList
Fields | |
---|---|
allowed_config_values[] |
Required. All |
AllowedSubjectAltNames
AllowedSubjectAltNames
specifies the allowed values for SubjectAltNames
by the CertificateAuthority
when issuing Certificates
.
Fields | |
---|---|
allowed_dns_names[] |
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. "*"). E.g. for globbed entries: '*bar.com' will allow 'foo.bar.com', but not '*.bar.com', unless the |
allowed_uris[] |
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**'). |
allowed_email_addresses[] |
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported. |
allowed_ips[] |
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges). |
allow_globbing_dns_wildcards |
Optional. Specifies if glob patterns used for |
allow_custom_sans |
Optional. Specifies if to allow custom X509Extension values. |
IssuanceModes
IssuanceModes
specifies the allowed ways in which Certificates
may be requested from this CertificateAuthority
.
Fields | |
---|---|
allow_csr_based_issuance |
Required. When true, allows callers to create |
allow_config_based_issuance |
Required. When true, allows callers to create |
IssuingOptions
Options that affect all certificates issued by a CertificateAuthority
.
Fields | |
---|---|
include_ca_cert_url |
Required. When true, includes a URL to the issuing CA certificate in the "authority information access" X.509 extension. |
include_crl_access_url |
Required. When true, includes a URL to the CRL corresponding to certificates issued from a |
KeyVersionSpec
A Cloud KMS key configuration that a CertificateAuthority
will use.
Fields | ||
---|---|---|
Union field
|
||
cloud_kms_key_version |
Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the format |
|
algorithm |
Required. 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 recommandations, 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 |
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. |
DISABLED |
Certificates cannot be issued from this CA. CRLs will still be generated. |
PENDING_ACTIVATION |
Certificates cannot be issued from this CA. CRLs will not be generated. |
PENDING_DELETION |
Certificates cannot be issued from this CA. CRLs will not be generated. |
Tier
The tier of a CertificateAuthority
, indicating its supported functionality and/or billing SKU.
Enums | |
---|---|
TIER_UNSPECIFIED |
Not specified. |
ENTERPRISE |
Enterprise tier. |
DEVOPS |
DevOps tier. |
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. |
CertificateConfig
A CertificateConfig
describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
Fields | |
---|---|
subject_config |
Required. Specifies some of the values in a certificate that are related to the subject. |
reusable_config |
Required. Describes how some of the technical fields in a certificate should be populated. |
public_key |
Optional. The public key that corresponds to this config. This is, for example, used when issuing |
SubjectConfig
These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
Fields | |
---|---|
subject |
Required. Contains distinguished name fields such as the location and organization. |
common_name |
Optional. The "common name" of the distinguished name. |
subject_alt_name |
Optional. The subject alternative name fields. |
CertificateDescription
A CertificateDescription
describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
Fields | |
---|---|
subject_description |
Describes some of the values in a certificate that are related to the subject and lifetime. |
config_values |
Describes some of the technical fields in a certificate. |
public_key |
The public key that corresponds to an issued certificate. |
subject_key_id |
Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2. |
authority_key_id |
Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1 |
crl_distribution_points[] |
Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13 |
aia_issuing_certificate_urls[] |
Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate. |
cert_fingerprint |
The hash of the x.509 certificate. |
CertificateFingerprint
A group of fingerprints for the x509 certificate.
Fields | |
---|---|
sha256_hash |
The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. |
KeyId
A KeyId identifies a specific public key, usually by hashing the public key.
Fields | |
---|---|
key_id |
Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key. |
SubjectDescription
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
Fields | |
---|---|
subject |
Contains distinguished name fields such as the location and organization. |
common_name |
The "common name" of the distinguished name. |
subject_alt_name |
The subject alternative name fields. |
hex_serial_number |
The serial number encoded in lowercase hexadecimal. |
lifetime |
For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'. |
not_before_time |
The time at which the certificate becomes valid. |
not_after_time |
The time at which the certificate expires. |
CertificateRevocationList
A CertificateRevocationList
corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.
Fields | |
---|---|
name |
Output only. The resource path for this |
sequence_number |
Output only. The CRL sequence number that appears in pem_crl. |
revoked_certificates[] |
Output only. The revoked serial numbers that appear in pem_crl. |
pem_crl |
Output only. The PEM-encoded X.509 CRL. |
access_url |
Output only. The location where 'pem_crl' can be accessed. |
state |
Output only. The |
create_time |
Output only. The time at which this |
update_time |
Output only. The time at which this |
labels |
Optional. Labels with user-defined metadata. |
RevokedCertificate
Describes a revoked Certificate
.
Fields | |
---|---|
certificate |
The resource path for the |
hex_serial_number |
The serial number of the |
revocation_reason |
The reason the |
State
The state of a CertificateRevocationList
, indicating if it is current.
Enums | |
---|---|
STATE_UNSPECIFIED |
Not specified. |
ACTIVE |
The CertificateRevocationList is up to date. |
SUPERSEDED |
The CertificateRevocationList is no longer current. |
CreateCertificateAuthorityRequest
Request message for CertificateAuthorityService.CreateCertificateAuthority
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
certificate_authority_id |
Required. It must be unique within a location and match the regular expression |
certificate_authority |
Required. A |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateCertificateRequest
Request message for CertificateAuthorityService.CreateCertificate
.
Fields | |
---|---|
parent |
Required. The resource name of the location and Authorization requires the following IAM permission on the specified resource
|
certificate_id |
Optional. It must be unique within a location and match the regular expression |
certificate |
Required. A |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
DisableCertificateAuthorityRequest
Request message for CertificateAuthorityService.DisableCertificateAuthority
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
EnableCertificateAuthorityRequest
Request message for CertificateAuthorityService.EnableCertificateAuthority
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
FetchCertificateAuthorityCsrRequest
Request message for CertificateAuthorityService.FetchCertificateAuthorityCsr
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
FetchCertificateAuthorityCsrResponse
Response message for CertificateAuthorityService.FetchCertificateAuthorityCsr
.
Fields | |
---|---|
pem_csr |
Output only. The PEM-encoded signed certificate signing request (CSR). |
GetCertificateAuthorityRequest
Request message for CertificateAuthorityService.GetCertificateAuthority
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetCertificateRequest
Request message for CertificateAuthorityService.GetCertificate
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetCertificateRevocationListRequest
Request message for CertificateAuthorityService.GetCertificateRevocationList
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetReusableConfigRequest
Request message for CertificateAuthorityService.GetReusableConfig
.
Fields | |
---|---|
name |
Required. The [name][ReusableConfigs.name] of the [ReusableConfigs][] to get. Authorization requires the following IAM permission on the specified resource
|
KeyUsage
A KeyUsage
describes key usage values that may appear in an X.509 certificate.
Fields | |
---|---|
base_key_usage |
Describes high-level ways in which a key may be used. |
extended_key_usage |
Detailed scenarios in which a key may be used. |
unknown_extended_key_usages[] |
Used to describe extended key usages that are not listed in the |
ExtendedKeyUsageOptions
KeyUsage.ExtendedKeyUsageOptions
has fields that correspond to certain common OIDs that could be specified as an extended key usage value.
Fields | |
---|---|
server_auth |
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS. |
client_auth |
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS. |
code_signing |
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication". |
email_protection |
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection". |
time_stamping |
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time". |
ocsp_signing |
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses". |
KeyUsageOptions
KeyUsage.KeyUsageOptions
corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3.
Fields | |
---|---|
digital_signature |
The key may be used for digital signatures. |
content_commitment |
The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation". |
key_encipherment |
The key may be used to encipher other keys. |
data_encipherment |
The key may be used to encipher data. |
key_agreement |
The key may be used in a key agreement protocol. |
cert_sign |
The key may be used to sign certificates. |
crl_sign |
The key may be used sign certificate revocation lists. |
encipher_only |
The key may be used to encipher only. |
decipher_only |
The key may be used to decipher only. |
ListCertificateAuthoritiesRequest
Request message for CertificateAuthorityService.ListCertificateAuthorities
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
page_size |
Optional. Limit on the number of |
page_token |
Optional. Pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. |
order_by |
Optional. Specify how the results should be sorted. |
ListCertificateAuthoritiesResponse
Response message for CertificateAuthorityService.ListCertificateAuthorities
.
Fields | |
---|---|
certificate_authorities[] |
The list of |
next_page_token |
A token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next page of results. |
unreachable[] |
A list of locations (e.g. "us-west1") that could not be reached. |
ListCertificateRevocationListsRequest
Request message for CertificateAuthorityService.ListCertificateRevocationLists
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
page_size |
Optional. Limit on the number of |
page_token |
Optional. Pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. |
order_by |
Optional. Specify how the results should be sorted. |
ListCertificateRevocationListsResponse
Response message for CertificateAuthorityService.ListCertificateRevocationLists
.
Fields | |
---|---|
certificate_revocation_lists[] |
The list of |
next_page_token |
A token to retrieve next page of results. Pass this value in [ListCertificateRevocationListsRequest.next_page_token][] to retrieve the next page of results. |
unreachable[] |
A list of locations (e.g. "us-west1") that could not be reached. |
ListCertificatesRequest
Request message for CertificateAuthorityService.ListCertificates
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
page_size |
Optional. Limit on the number of |
page_token |
Optional. Pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. For details on supported filters and syntax, see Certificates Filtering documentation. |
order_by |
Optional. Specify how the results should be sorted. For details on supported fields and syntax, see Certificates Sorting documentation. |
ListCertificatesResponse
Response message for CertificateAuthorityService.ListCertificates
.
Fields | |
---|---|
certificates[] |
The list of |
next_page_token |
A token to retrieve next page of results. Pass this value in [ListCertificatesRequest.next_page_token][] to retrieve the next page of results. |
unreachable[] |
A list of locations (e.g. "us-west1") that could not be reached. |
ListReusableConfigsRequest
Request message for CertificateAuthorityService.ListReusableConfigs
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
page_size |
Optional. Limit on the number of |
page_token |
Optional. Pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. |
order_by |
Optional. Specify how the results should be sorted. |
ListReusableConfigsResponse
Response message for CertificateAuthorityService.ListReusableConfigs
.
Fields | |
---|---|
reusable_configs[] |
The list of |
next_page_token |
A token to retrieve next page of results. Pass this value in [ListReusableConfigsRequest.next_page_token][] to retrieve the next page of results. |
unreachable[] |
A list of locations (e.g. "us-west1") that could not be reached. |
ObjectId
An ObjectId
specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
Fields | |
---|---|
object_id_path[] |
Required. The parts of an OID path. The most significant parts of the path come first. |
OperationMetadata
Represents the metadata of the long-running operation.
Fields | |
---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
target |
Output only. Server-defined resource path for the target of the operation. |
verb |
Output only. Name of the verb executed by the operation. |
status_message |
Output only. Human-readable status of the operation, if any. |
requested_cancellation |
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a |
api_version |
Output only. API version used to start the operation. |
PublicKey
A PublicKey
describes a public key.
Fields | |
---|---|
type |
Optional. The type of public key. If specified, it must match the public key used for the |
key |
Required. A public key. When this is specified in a request, the padding and encoding can be any of the options described by the respective 'KeyType' value. When this is generated by the service, it will always be an RFC 5280 SubjectPublicKeyInfo structure containing an algorithm identifier and a key. |
KeyType
Types of public keys that are supported. At a minimum, we support RSA and ECDSA, for the key sizes or curves listed: https://cloud.google.com/kms/docs/algorithms#asymmetric_signing_algorithms
Enums | |
---|---|
KEY_TYPE_UNSPECIFIED |
Default unspecified value. |
PEM_RSA_KEY |
A PEM-encoded PKCS#1/RFC 3447 RSAPublicKey structure, or an RFC 5280 SubjectPublicKeyInfo structure containing the former. |
PEM_EC_KEY |
An RFC 5280 SubjectPublicKeyInfo structure containing a PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key. |
RestoreCertificateAuthorityRequest
Request message for CertificateAuthorityService.RestoreCertificateAuthority
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
ReusableConfig
A ReusableConfig
refers to a managed ReusableConfigValues
. Those, in turn, are used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Fields | |
---|---|
name |
Output only. The resource path for this |
values |
Required. The config values. |
description |
Optional. A human-readable description of scenarios these ReusableConfigValues may be compatible with. |
create_time |
Output only. The time at which this |
update_time |
Output only. The time at which this |
labels |
Optional. Labels with user-defined metadata. |
ReusableConfigValues
A ReusableConfigValues
is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Fields | |
---|---|
key_usage |
Optional. Indicates the intended use for keys that correspond to a certificate. |
ca_options |
Optional. Describes options in this |
policy_ids[] |
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4. |
aia_ocsp_servers[] |
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate. |
additional_extensions[] |
Optional. Describes custom X.509 extensions. |
CaOptions
Describes values that are relevant in a CA certificate.
Fields | |
---|---|
is_ca |
Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate. |
max_issuer_path_length |
Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate. |
ReusableConfigWrapper
A ReusableConfigWrapper
describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values.
Fields | ||
---|---|---|
Union field config_values . Reusable or inline config values. config_values can be only one of the following: |
||
reusable_config |
Required. A resource path to a |
|
reusable_config_values |
Required. A user-specified inline |
RevocationReason
A RevocationReason
indicates whether a Certificate
has been revoked, and the reason for revocation. These correspond to standard revocation reasons from RFC 5280. Note that the enum labels and values in this definition are not the same ASN.1 values defined in RFC 5280. These values will be translated to the correct ASN.1 values when a CRL is created.
Enums | |
---|---|
REVOCATION_REASON_UNSPECIFIED |
Default unspecified value. This value does indicate that a Certificate has been revoked, but that a reason has not been recorded. |
KEY_COMPROMISE |
Key material for this Certificate may have leaked. |
CERTIFICATE_AUTHORITY_COMPROMISE |
The key material for a certificate authority in the issuing path may have leaked. |
AFFILIATION_CHANGED |
The subject or other attributes in this Certificate have changed. |
SUPERSEDED |
This Certificate has been superseded. |
CESSATION_OF_OPERATION |
This Certificate or entities in the issuing path have ceased to operate. |
CERTIFICATE_HOLD |
This Certificate should not be considered valid, it is expected that it may become valid in the future. |
PRIVILEGE_WITHDRAWN |
This Certificate no longer has permission to assert the listed attributes. |
ATTRIBUTE_AUTHORITY_COMPROMISE |
The authority which determines appropriate attributes for a Certificate may have been compromised. |
RevokeCertificateRequest
Request message for CertificateAuthorityService.RevokeCertificate
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
reason |
Required. The |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
ScheduleDeleteCertificateAuthorityRequest
Request message for CertificateAuthorityService.ScheduleDeleteCertificateAuthority
.
Fields | |
---|---|
name |
Required. The resource name for this Authorization requires the following IAM permission on the specified resource
|
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
ignore_active_certificates |
Optional. This field allows the CA to be scheduled for deletion even if the CA has active certs. Active certs include both unrevoked and unexpired certs. |
Subject
Subject
describes parts of a distinguished name that, in turn, describes the subject of the certificate.
Fields | |
---|---|
country_code |
The country code of the subject. |
organization |
The organization of the subject. |
organizational_unit |
The organizational_unit of the subject. |
locality |
The locality or city of the subject. |
province |
The province, territory, or regional state of the subject. |
street_address |
The street address of the subject. |
postal_code |
The postal code of the subject. |
SubjectAltNames
SubjectAltNames
corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).
Fields | |
---|---|
dns_names[] |
Contains only valid, fully-qualified host names. |
uris[] |
Contains only valid RFC 3986 URIs. |
email_addresses[] |
Contains only valid RFC 2822 E-mail addresses. |
ip_addresses[] |
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. |
custom_sans[] |
Contains additional subject alternative name values. |
SubordinateConfig
Describes a subordinate CA's issuers. This is either a resource path to a known issuing CertificateAuthority
, or a PEM issuer certificate chain.
Fields | ||
---|---|---|
Union field
|
||
certificate_authority |
Required. This can refer to a |
|
pem_issuer_chain |
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.
Fields | |
---|---|
pem_certificates[] |
Required. Expected to be in leaf-to-root order according to RFC 5246. |
UpdateCertificateAuthorityRequest
Request message for CertificateAuthorityService.UpdateCertificateAuthority
.
Fields | |
---|---|
certificate_authority |
Required. Authorization requires the following IAM permission on the specified resource
|
update_mask |
Required. A list of fields to be updated in this request. |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UpdateCertificateRequest
Request message for CertificateAuthorityService.UpdateCertificate
.
Fields | |
---|---|
certificate |
Required. Authorization requires the following IAM permission on the specified resource
|
update_mask |
Required. A list of fields to be updated in this request. |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UpdateCertificateRevocationListRequest
Request message for CertificateAuthorityService.UpdateCertificateRevocationList
.
Fields | |
---|---|
certificate_revocation_list |
Required. Authorization requires the following IAM permission on the specified resource
|
update_mask |
Required. A list of fields to be updated in this request. |
request_id |
Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
X509Extension
An X509Extension
specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Fields | |
---|---|
object_id |
Required. The OID for this X.509 extension. |
critical |
Required. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). |
value |
Required. The value of this X.509 extension. |