pub struct KanidmPersonAccountSpec {
pub kanidm_ref: KanidmRef,
pub kanidm_name: Option<String>,
pub person_attributes: KanidmPersonAttributes,
pub posix_attributes: Option<KanidmAccountPosixAttributes>,
pub ssh_public_keys: Option<BTreeMap<String, String>>,
pub credentials_token_ttl: u32,
pub credential_bootstrap_delivery: CredentialBootstrapDelivery,
}Expand description
A person represents a human’s account in Kanidm. The majority of your users will be a person who will use this account in their daily activities. These entries may contain personally identifying information that is considered by Kanidm to be sensitive. Because of this, there are default limits to who may access these data. More info: https://kanidm.github.io/kanidm/master/accounts/people_accounts.html
Fields§
§kanidm_ref: KanidmRef§kanidm_name: Option<String>The name of the entity in Kanidm. If not specified, the Kubernetes resource name is used.
Use this field to manage Kanidm entities with names that don’t conform to Kubernetes naming rules
(e.g., entities with underscores like idm_admin or idm_all_persons).
This field is immutable and cannot be changed after creation.
person_attributes: KanidmPersonAttributes§posix_attributes: Option<KanidmAccountPosixAttributes>POSIX attributes for the person account. When specified, the operator will activate them. If omitted, the operator retains the attributes in the database but ceases to manage them.
ssh_public_keys: Option<BTreeMap<String, String>>SSH public keys managed by Kaniop, indexed by their Kanidm tag. Keys added directly in Kanidm under other tags are preserved. If omitted, SSH keys are not managed. An empty map removes previously managed keys. Kanidm performs the validation of SSH key material. The map is a single atomic unit for server-side apply ownership.
credentials_token_ttl: u32If credentials are not defined, Kaniop will generate a link accessible when describing the person account. This link will be valid for the number of seconds defined here. The default is 3600 seconds (1 hour).
credential_bootstrap_delivery: CredentialBootstrapDeliveryHow to deliver initial credential bootstrap invitations. Defaults to Kubernetes Events. Email delivery must be explicitly enabled per person. Re-sends use a metadata annotation.
Trait Implementations§
Source§impl Clone for KanidmPersonAccountSpec
impl Clone for KanidmPersonAccountSpec
Source§impl Debug for KanidmPersonAccountSpec
impl Debug for KanidmPersonAccountSpec
Source§impl Default for KanidmPersonAccountSpec
impl Default for KanidmPersonAccountSpec
Source§impl<'de> Deserialize<'de> for KanidmPersonAccountSpec
impl<'de> Deserialize<'de> for KanidmPersonAccountSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for KanidmPersonAccountSpec
impl JsonSchema for KanidmPersonAccountSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for KanidmPersonAccountSpec
impl PartialEq for KanidmPersonAccountSpec
Source§impl Serialize for KanidmPersonAccountSpec
impl Serialize for KanidmPersonAccountSpec
impl StructuralPartialEq for KanidmPersonAccountSpec
Auto Trait Implementations§
impl Forget for KanidmPersonAccountSpec
impl Freeze for KanidmPersonAccountSpec
impl Move for KanidmPersonAccountSpec
impl RefUnwindSafe for KanidmPersonAccountSpec
impl Send for KanidmPersonAccountSpec
impl Sync for KanidmPersonAccountSpec
impl Unpin for KanidmPersonAccountSpec
impl UnsafeUnpin for KanidmPersonAccountSpec
impl UnwindSafe for KanidmPersonAccountSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request