pub struct CreateRotationConfigRequestModel {
pub cipher_id: Uuid,
pub target_system_id: Uuid,
pub account_identity: String,
pub terminate_sessions: Option<bool>,
pub schedule_cron: Option<String>,
pub rotate_on_access_end: Option<bool>,
}Expand description
CreateRotationConfigRequestModel : Creates a rotation config for a cipher (spec
CreateRotationConfig).
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.CreateRotationConfigRequestModel.
ScheduleCron is a Quartz 6-field cron expression; null means no scheduled rotation (on-demand
and/or access-end only).
Fields§
§cipher_id: UuidThe organization cipher holding the credential this config rotates. A cipher has at most one rotation config.
target_system_id: UuidThe target system the rotated account lives on.
account_identity: StringThe account this config rotates on the target system. Opaque to the server – never parsed.
terminate_sessions: Option<bool>When true, the access connector terminates the account’s live sessions after each rotation. Only an automatic target that supports session termination can honour it.
schedule_cron: Option<String>The scheduled-rotation cadence, as a Quartz 6-field cron expression evaluated in UTC. Null means no scheduled rotation – the config rotates on demand and/or on access end only.
rotate_on_access_end: Option<bool>When true, the credential is rotated whenever an access lease on the cipher ends, whether it expired or was revoked.
Implementations§
Source§impl CreateRotationConfigRequestModel
impl CreateRotationConfigRequestModel
Sourcepub fn new(
cipher_id: Uuid,
target_system_id: Uuid,
account_identity: String,
) -> CreateRotationConfigRequestModel
pub fn new( cipher_id: Uuid, target_system_id: Uuid, account_identity: String, ) -> CreateRotationConfigRequestModel
Creates a rotation config for a cipher (spec CreateRotationConfig).
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Request.
CreateRotationConfigRequestModel.ScheduleCron is a Quartz 6-field cron expression; null
means no scheduled rotation (on-demand and/or access-end only).
Trait Implementations§
Source§impl Clone for CreateRotationConfigRequestModel
impl Clone for CreateRotationConfigRequestModel
Source§fn clone(&self) -> CreateRotationConfigRequestModel
fn clone(&self) -> CreateRotationConfigRequestModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateRotationConfigRequestModel
impl Default for CreateRotationConfigRequestModel
Source§fn default() -> CreateRotationConfigRequestModel
fn default() -> CreateRotationConfigRequestModel
Source§impl<'de> Deserialize<'de> for CreateRotationConfigRequestModel
impl<'de> Deserialize<'de> for CreateRotationConfigRequestModel
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>,
impl StructuralPartialEq for CreateRotationConfigRequestModel
Auto Trait Implementations§
impl Freeze for CreateRotationConfigRequestModel
impl RefUnwindSafe for CreateRotationConfigRequestModel
impl Send for CreateRotationConfigRequestModel
impl Sync for CreateRotationConfigRequestModel
impl Unpin for CreateRotationConfigRequestModel
impl UnsafeUnpin for CreateRotationConfigRequestModel
impl UnwindSafe for CreateRotationConfigRequestModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more