Alias

Reference to a certificate or key/certificate pair.

JSON representation
{"alias":string,"certsInfo":{object (Certificate)},"type":enum (AliasType)}
Fields
alias

string

Resource ID for this alias. Values must match the regular expression[^/]{1,255}.

certsInfo

object (Certificate)

Chain of certificates under this alias.

type

enum (AliasType)

Type of alias.

Certificate

JSON representation
{"certInfo":[{object (CertInfo)}]}
Fields
certInfo[]

object (CertInfo)

Chain of certificates under this name.

CertInfo

X.509 certificate as defined in RFC 5280.

JSON representation
{"version":integer,"subject":string,"issuer":string,"expiryDate":string,"validFrom":string,"isValid":string,"subjectAlternativeNames":[string],"sigAlgName":string,"publicKey":string,"basicConstraints":string,"serialNumber":string}
Fields
version

integer

X.509 version.

subject

string

X.509 subject.

issuer

string

X.509 issuer.

expiryDate

string (int64 format)

X.509notAfter validity period in milliseconds since epoch.

validFrom

string (int64 format)

X.509notBefore validity period in milliseconds since epoch.

isValid

string

Flag that specifies whether the certificate is valid. Flag is set toYes if the certificate is valid,No if expired, orNot yet if not yet valid.

subjectAlternativeNames[]

string

X.509 subject alternative names (SANs) extension.

sigAlgName

string

X.509 signatureAlgorithm.

publicKey

string

Public key component of the X.509 subject public key info.

basicConstraints

string

X.509 basic constraints extension.

serialNumber

string

X.509 serial number.

AliasType

Type of alias.

Enums
ALIAS_TYPE_UNSPECIFIEDAlias type is not specified.
CERTCertificate.
KEY_CERTKey/certificate pair.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.