pub struct UscGet {
pub json: Option<bool>,
pub namespace: Option<String>,
pub secret_id: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub usc_name: String,
pub version_id: Option<String>,
}Expand description
UscGet : uscGet is a command that gets the value and internal details of a secret from a Universal Secrets Connector
Fields§
§json: Option<bool>Set output format to JSON
namespace: Option<String>The namespace (relevant for Hashi vault target)
secret_id: StringThe secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
usc_name: StringName of the Universal Secrets Connector item
version_id: Option<String>The version id (if not specified, will retrieve the last version)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UscGet
impl<'de> Deserialize<'de> for UscGet
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
impl StructuralPartialEq for UscGet
Auto Trait Implementations§
impl Freeze for UscGet
impl RefUnwindSafe for UscGet
impl Send for UscGet
impl Sync for UscGet
impl Unpin for UscGet
impl UnsafeUnpin for UscGet
impl UnwindSafe for UscGet
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