[][src]Struct k8s_openapi::api::certificates::v1beta1::CertificateSigningRequestSpec

pub struct CertificateSigningRequestSpec {
    pub extra: Option<BTreeMap<String, Vec<String>>>,
    pub groups: Option<Vec<String>>,
    pub request: ByteString,
    pub signer_name: Option<String>,
    pub uid: Option<String>,
    pub usages: Option<Vec<String>>,
    pub username: Option<String>,
}

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.

Fields

extra: Option<BTreeMap<String, Vec<String>>>

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

groups: Option<Vec<String>>

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

request: ByteString

Base64-encoded PKCS#10 CSR data

signer_name: Option<String>

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

  1. If it's a kubelet client certificate, it is assigned "kubernetes.io/kube-apiserver-client-kubelet".
  2. If it's a kubelet serving certificate, it is assigned "kubernetes.io/kubelet-serving".
  3. Otherwise, it is assigned "kubernetes.io/legacy-unknown". Distribution of trust for signers happens out of band. You can select on this field using spec.signerName.
uid: Option<String>

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

usages: Option<Vec<String>>

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 Valid values are: "signing", "digital signature", "content commitment", "key encipherment", "key agreement", "data encipherment", "cert sign", "crl sign", "encipher only", "decipher only", "any", "server auth", "client auth", "code signing", "email protection", "s/mime", "ipsec end system", "ipsec tunnel", "ipsec user", "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"

username: Option<String>

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

Trait Implementations

impl Clone for CertificateSigningRequestSpec[src]

impl Debug for CertificateSigningRequestSpec[src]

impl Default for CertificateSigningRequestSpec[src]

impl<'de> Deserialize<'de> for CertificateSigningRequestSpec[src]

impl PartialEq<CertificateSigningRequestSpec> for CertificateSigningRequestSpec[src]

impl Serialize for CertificateSigningRequestSpec[src]

impl StructuralPartialEq for CertificateSigningRequestSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.