diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index b0d38ca522a..fe4f4c88743 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -35833,6 +35833,13 @@ "uid": { "type": "string" }, + "usages": { + "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12", + "type": "array", + "items": { + "type": "string" + } + }, "username": { "description": "Information about the requesting user (if relevant) See user.Info interface for details", "type": "string" diff --git a/api/swagger-spec/certificates.k8s.io_v1alpha1.json b/api/swagger-spec/certificates.k8s.io_v1alpha1.json index 237080596aa..92d504bc5c4 100644 --- a/api/swagger-spec/certificates.k8s.io_v1alpha1.json +++ b/api/swagger-spec/certificates.k8s.io_v1alpha1.json @@ -895,6 +895,13 @@ "type": "string", "description": "Base64-encoded PKCS#10 CSR data" }, + "usages": { + "type": "array", + "items": { + "$ref": "v1alpha1.KeyUsage" + }, + "description": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12" + }, "username": { "type": "string", "description": "Information about the requesting user (if relevant) See user.Info interface for details" @@ -910,6 +917,10 @@ } } }, + "v1alpha1.KeyUsage": { + "id": "v1alpha1.KeyUsage", + "properties": {} + }, "v1alpha1.CertificateSigningRequestStatus": { "id": "v1alpha1.CertificateSigningRequestStatus", "properties": { diff --git a/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html b/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html index 9fd5162c0af..17c52d0d3c1 100755 --- a/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html +++ b/docs/api-reference/certificates.k8s.io/v1alpha1/definitions.html @@ -588,6 +588,14 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
usages
allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3
+ https://tools.ietf.org/html/rfc5280#section-4.2.1.12
false
v1alpha1.KeyUsage array
username
Information about the requesting user (if relevant) See user.Info interface for details
false