package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?username:string -> ?usages:string list -> ?uid:string -> request:string -> ?groups:string list -> ?extra:(string * string list) list -> unit -> t
val extra : t -> (string * string list) list option

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

val groups : t -> string list option

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

val request : t -> string

Base64_encoded Pkcs#10 Csr data

val uid : t -> string option

Uid information about the requesting user. See user.info interface for details.

val usages : t -> string list option

allowed_usages 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

val username : t -> string option

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

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.