[−][src]Struct k8s_openapi::api::certificates::v1beta1::CertificateSigningRequestSpec
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:
- If it's a kubelet client certificate, it is assigned "kubernetes.io/kube-apiserver-client-kubelet".
- If it's a kubelet serving certificate, it is assigned "kubernetes.io/kubelet-serving".
- 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]
pub fn clone(&self) -> CertificateSigningRequestSpec
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CertificateSigningRequestSpec
[src]
impl Default for CertificateSigningRequestSpec
[src]
pub fn default() -> CertificateSigningRequestSpec
[src]
impl<'de> Deserialize<'de> for CertificateSigningRequestSpec
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CertificateSigningRequestSpec> for CertificateSigningRequestSpec
[src]
pub fn eq(&self, other: &CertificateSigningRequestSpec) -> bool
[src]
pub fn ne(&self, other: &CertificateSigningRequestSpec) -> bool
[src]
impl Serialize for CertificateSigningRequestSpec
[src]
impl StructuralPartialEq for CertificateSigningRequestSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for CertificateSigningRequestSpec
[src]
impl Send for CertificateSigningRequestSpec
[src]
impl Sync for CertificateSigningRequestSpec
[src]
impl Unpin for CertificateSigningRequestSpec
[src]
impl UnwindSafe for CertificateSigningRequestSpec
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,