pub struct StaticCredsAuth {
pub access_id: Option<String>,
pub admin_email: Option<String>,
pub creds: Option<String>,
pub json: Option<bool>,
}Expand description
StaticCredsAuth : staticCredsAuth is a command that creates a temporary access profile using the provided static credentials.
Fields§
§access_id: Option<String>Akeyless JWT token
admin_email: Option<String>Akeyless JWT token
creds: Option<String>Akeyless JWT token
json: Option<bool>Set output format to JSON
Implementations§
Source§impl StaticCredsAuth
impl StaticCredsAuth
Sourcepub fn new() -> StaticCredsAuth
pub fn new() -> StaticCredsAuth
staticCredsAuth is a command that creates a temporary access profile using the provided static credentials.
Trait Implementations§
Source§impl Clone for StaticCredsAuth
impl Clone for StaticCredsAuth
Source§fn clone(&self) -> StaticCredsAuth
fn clone(&self) -> StaticCredsAuth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StaticCredsAuth
impl Debug for StaticCredsAuth
Source§impl Default for StaticCredsAuth
impl Default for StaticCredsAuth
Source§fn default() -> StaticCredsAuth
fn default() -> StaticCredsAuth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticCredsAuth
impl<'de> Deserialize<'de> for StaticCredsAuth
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
Source§impl PartialEq for StaticCredsAuth
impl PartialEq for StaticCredsAuth
Source§fn eq(&self, other: &StaticCredsAuth) -> bool
fn eq(&self, other: &StaticCredsAuth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StaticCredsAuth
impl Serialize for StaticCredsAuth
impl StructuralPartialEq for StaticCredsAuth
Auto Trait Implementations§
impl Freeze for StaticCredsAuth
impl RefUnwindSafe for StaticCredsAuth
impl Send for StaticCredsAuth
impl Sync for StaticCredsAuth
impl Unpin for StaticCredsAuth
impl UnsafeUnpin for StaticCredsAuth
impl UnwindSafe for StaticCredsAuth
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