Skip to main content

UpdateAccountSettings

Struct UpdateAccountSettings 

Source
pub struct UpdateAccountSettings {
Show 50 fields pub address: Option<String>, pub allowed_client_type: Option<Vec<String>>, pub allowed_email_domains: Option<Vec<String>>, pub bound_ips: Option<Vec<String>>, pub city: Option<String>, pub company_name: Option<String>, pub country: Option<String>, pub default_certificate_expiration_notification_days: Option<Vec<String>>, pub default_key_name: Option<String>, pub default_share_link_ttl_minutes: Option<String>, pub default_versioning: Option<String>, pub dp_enable_classic_key_protection: Option<String>, pub dynamic_secret_max_ttl: Option<i64>, pub dynamic_secret_max_ttl_enable: Option<String>, pub enable_ai_insights: Option<String>, pub enable_default_certificate_expiration_event: Option<String>, pub enable_item_sharing: Option<String>, pub enable_password_expiration: Option<String>, pub force_new_versions: Option<String>, pub gw_bound_ips: Option<Vec<String>>, pub hide_personal_folder: Option<String>, pub hide_static_password: Option<String>, pub invalid_characters: Option<String>, pub item_type: Option<String>, pub items_deletion_protection: Option<String>, pub json: Option<bool>, pub jwt_ttl_default: Option<i64>, pub jwt_ttl_max: Option<i64>, pub jwt_ttl_min: Option<i64>, pub lock_allowed_client_type: Option<String>, pub lock_bound_ips: Option<String>, pub lock_default_key: Option<String>, pub lock_gw_bound_ips: Option<String>, pub max_rotation_interval: Option<i32>, pub max_rotation_interval_enable: Option<String>, pub max_versions: Option<String>, pub password_expiration_days: Option<String>, pub password_expiration_notification_days: Option<String>, pub password_length: Option<i64>, pub phone: Option<String>, pub postal_code: Option<String>, pub token: Option<String>, pub uid_token: Option<String>, pub usage_event_enable: Option<String>, pub usage_event_interval: Option<i64>, pub usage_event_object_type: Option<String>, pub use_capital_letters: Option<String>, pub use_lower_letters: Option<String>, pub use_numbers: Option<String>, pub use_special_characters: Option<String>,
}

Fields§

§address: Option<String>

Address

§allowed_client_type: Option<Vec<String>>

A default list of client types that are allowed to authenticate [cli,ui,gateway-admin,sdk,mobile,extension].

§allowed_email_domains: Option<Vec<String>>

Limits email sharing to the specified domains. Relevant only when item sharing is enabled. By default, all domains are allowed.

§bound_ips: Option<Vec<String>>

A default list of comma-separated CIDR block that are allowed to authenticate.

§city: Option<String>

City

§company_name: Option<String>

Company name

§country: Option<String>

Country

§default_certificate_expiration_notification_days: Option<Vec<String>>

How many days before the expiration of the certificate would you like to be notified. To specify multiple events, use argument multiple times: –default-certificate-expiration-notification-days 1 –default-certificate-expiration-notification-days 5

§default_key_name: Option<String>

Set the account default key based on the DFC key name. Use "set-original-akeyless-default-key" to revert to using the original default key of the account.

§default_share_link_ttl_minutes: Option<String>

Set the default ttl in minutes for sharing item number between 60 and 43200

§default_versioning: Option<String>

If set to true, new versions is enabled by default

§dp_enable_classic_key_protection: Option<String>

Set to update protection with classic keys state [true/false]

§dynamic_secret_max_ttl: Option<i64>

Set the maximum ttl for dynamic secrets

§dynamic_secret_max_ttl_enable: Option<String>

Set a maximum ttl for dynamic secrets [true/false]

§enable_ai_insights: Option<String>

Enable AI insights [true/false]

§enable_default_certificate_expiration_event: Option<String>

How many days before the expiration of the certificate would you like to be notified. [true/false]

§enable_item_sharing: Option<String>

Enable sharing items [true/false]

§enable_password_expiration: Option<String>

Enable password expiration policy [true/false]

§force_new_versions: Option<String>

If set to true, new version will be created on update

§gw_bound_ips: Option<Vec<String>>

A default list of comma-separated CIDR block that acts as a trusted Gateway entity.

§hide_personal_folder: Option<String>

Hide personal folder, if set - users will not be able to use personal folder [true/false]

§hide_static_password: Option<String>

Hide static secret’s password type [true/false]

§invalid_characters: Option<String>

Characters that cannot be used for items/targets/roles/auths/event_forwarder names. Empty string will enforce nothing.

§item_type: Option<String>

VersionSettingsObjectType defines object types for account version settings

§items_deletion_protection: Option<String>

Set or unset the default behaviour of items deletion protection [true/false]

§json: Option<bool>

Set output format to JSON

§jwt_ttl_default: Option<i64>

Default ttl

§jwt_ttl_max: Option<i64>

Maximum ttl

§jwt_ttl_min: Option<i64>

Minimum ttl

§lock_allowed_client_type: Option<String>

Lock allowed-client-type setting in the account [true/false].

§lock_bound_ips: Option<String>

Lock bound-ips setting globally in the account.

§lock_default_key: Option<String>

Lock the account’s default protection key, if set - users will not be able to use a different protection key, relevant only if default-key-name is configured [true/false]

§lock_gw_bound_ips: Option<String>

Lock gw-bound-ips setting in the account.

§max_rotation_interval: Option<i32>

Set the maximum rotation interval for rotated secrets auto rotation settings

§max_rotation_interval_enable: Option<String>

Set a maximum rotation interval for rotated secrets auto rotation settings [true/false]

§max_versions: Option<String>

Max versions

§password_expiration_days: Option<String>

Specifies the number of days that a password is valid before it must be changed. A default value of 90 days is used.

§password_expiration_notification_days: Option<String>

Specifies the number of days before a user receives notification that their password will expire. A default value of 14 days is used.

§password_length: Option<i64>

Password length between 5 - to 50 characters

§phone: Option<String>

Phone number

§postal_code: Option<String>

Postal code

§token: Option<String>

Authentication token (see /auth and /configure)

§uid_token: Option<String>

The universal identity token, Required only for universal_identity authentication

§usage_event_enable: Option<String>

Enable event for objects that have not been used or changed [true/false]

§usage_event_interval: Option<i64>

Interval by days for unused objects. Default and minimum interval is 90 days

§usage_event_object_type: Option<String>

Usage event is supported for auth method or secrets-and-keys [auth/item]

§use_capital_letters: Option<String>

Password must contain capital letters [true/false]

§use_lower_letters: Option<String>

Password must contain lower case letters [true/false]

§use_numbers: Option<String>

Password must contain numbers [true/false]

§use_special_characters: Option<String>

Password must contain special characters [true/false]

Implementations§

Trait Implementations§

Source§

impl Clone for UpdateAccountSettings

Source§

fn clone(&self) -> UpdateAccountSettings

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UpdateAccountSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for UpdateAccountSettings

Source§

fn default() -> UpdateAccountSettings

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for UpdateAccountSettings

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for UpdateAccountSettings

Source§

fn eq(&self, other: &UpdateAccountSettings) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for UpdateAccountSettings

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for UpdateAccountSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

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

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more