CertificateSigningRequestSpec

data class CertificateSigningRequestSpec(val extra: Map<String, List<String>>? = null, val groups: List<String>? = null, val request: String, val signerName: String? = null, val uid: String? = null, val usages: List<String>? = null, val username: String? = null)

This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.

Constructors

Link copied to clipboard
fun CertificateSigningRequestSpec(extra: Map<String, List<String>>? = null, groups: List<String>? = null, request: String, signerName: String? = null, uid: String? = null, usages: List<String>? = null, username: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val extra: Map<String, List<String>>? = null

Extra information about the requesting user. See user.Info interface for details.

Link copied to clipboard
val groups: List<String>? = null

Group information about the requesting user. See user.Info interface for details.

Link copied to clipboard

Base64-encoded PKCS#10 CSR data

Link copied to clipboard
val signerName: String? = null

Requested signer for the request. It is a qualified name in the form: scope-hostname.io/name. If empty, it will be defaulted:

Link copied to clipboard
val uid: String? = null

UID information about the requesting user. See user.Info interface for details.

Link copied to clipboard
val usages: List<String>? = null

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

Link copied to clipboard
val username: String? = null

Information about the requesting user. See user.Info interface for details.