Skip to content

Commit

Permalink
feat(privateca): update the api
Browse files Browse the repository at this point in the history
#### privateca:v1

The following keys were added:
- schemas.CertificateConfig.properties.subjectKeyId.$ref (Total Keys: 1)
- schemas.CertificateConfigKeyId (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Feb 27, 2024
1 parent 694d970 commit e12ef37
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
Expand Up @@ -376,6 +376,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -872,6 +875,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -1201,6 +1207,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -1539,6 +1548,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down
21 changes: 21 additions & 0 deletions docs/dyn/privateca_v1.projects.locations.caPools.certificates.html
Expand Up @@ -298,6 +298,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -601,6 +604,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -907,6 +913,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -1219,6 +1228,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -1540,6 +1552,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -1841,6 +1856,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down Expand Up @@ -2155,6 +2173,9 @@ <h3>Method Details</h3>
],
},
},
&quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
&quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
},
&quot;x509Config&quot;: { # An X509Parameters 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. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
&quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
{ # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Expand Down
17 changes: 16 additions & 1 deletion googleapiclient/discovery_cache/documents/privateca.v1.json
Expand Up @@ -1605,7 +1605,7 @@
}
}
},
"revision": "20240212",
"revision": "20240221",
"rootUrl": "https://privateca.googleapis.com/",
"schemas": {
"AccessUrls": {
Expand Down Expand Up @@ -2043,13 +2043,28 @@
"$ref": "SubjectConfig",
"description": "Required. Specifies some of the values in a certificate that are related to the subject."
},
"subjectKeyId": {
"$ref": "CertificateConfigKeyId",
"description": "Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2."
},
"x509Config": {
"$ref": "X509Parameters",
"description": "Required. Describes how some of the technical X.509 fields in a certificate should be populated."
}
},
"type": "object"
},
"CertificateConfigKeyId": {
"description": "A KeyId identifies a specific public key, usually by hashing the public key.",
"id": "CertificateConfigKeyId",
"properties": {
"keyId": {
"description": "Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.",
"type": "string"
}
},
"type": "object"
},
"CertificateDescription": {
"description": "A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.",
"id": "CertificateDescription",
Expand Down
Expand Up @@ -580,7 +580,7 @@
}
}
},
"revision": "20240212",
"revision": "20240221",
"rootUrl": "https://privateca.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down

0 comments on commit e12ef37

Please sign in to comment.