pub struct AccessControl {
pub allowed_workflows: Vec<Uuid>,
pub allowed_users: Vec<Uuid>,
pub ip_whitelist: Vec<String>,
pub require_mfa: bool,
}Expand description
Access control for secrets
Fields§
§allowed_workflows: Vec<Uuid>Allowed workflow IDs (empty means all)
allowed_users: Vec<Uuid>Allowed user IDs (empty means owner only)
ip_whitelist: Vec<String>IP whitelist (empty means no restriction)
require_mfa: boolRequire MFA for access
Trait Implementations§
Source§impl Clone for AccessControl
impl Clone for AccessControl
Source§fn clone(&self) -> AccessControl
fn clone(&self) -> AccessControl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccessControl
impl Debug for AccessControl
Source§impl Default for AccessControl
impl Default for AccessControl
Source§fn default() -> AccessControl
fn default() -> AccessControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessControl
impl<'de> Deserialize<'de> for AccessControl
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccessControl
impl RefUnwindSafe for AccessControl
impl Send for AccessControl
impl Sync for AccessControl
impl Unpin for AccessControl
impl UnwindSafe for AccessControl
Blanket Implementations§
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
Mutably borrows from an owned value. Read more