pub struct TargetCreateHashiVault {
pub description: Option<String>,
pub hashi_url: Option<String>,
pub json: Option<bool>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub namespace: Option<Vec<String>>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub vault_token: Option<String>,
}Fields§
§description: Option<String>Description of the object
hashi_url: Option<String>HashiCorp Vault API URL, e.g. https://vault-mgr01:8200
json: Option<bool>Set output format to JSON
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
namespace: Option<Vec<String>>Comma-separated list of vault namespaces
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
vault_token: Option<String>Vault access token with sufficient permissions
Implementations§
Source§impl TargetCreateHashiVault
impl TargetCreateHashiVault
pub fn new(name: String) -> TargetCreateHashiVault
Trait Implementations§
Source§impl Clone for TargetCreateHashiVault
impl Clone for TargetCreateHashiVault
Source§fn clone(&self) -> TargetCreateHashiVault
fn clone(&self) -> TargetCreateHashiVault
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 TargetCreateHashiVault
impl Debug for TargetCreateHashiVault
Source§impl Default for TargetCreateHashiVault
impl Default for TargetCreateHashiVault
Source§fn default() -> TargetCreateHashiVault
fn default() -> TargetCreateHashiVault
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetCreateHashiVault
impl<'de> Deserialize<'de> for TargetCreateHashiVault
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 TargetCreateHashiVault
impl PartialEq for TargetCreateHashiVault
Source§fn eq(&self, other: &TargetCreateHashiVault) -> bool
fn eq(&self, other: &TargetCreateHashiVault) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetCreateHashiVault
impl Serialize for TargetCreateHashiVault
impl StructuralPartialEq for TargetCreateHashiVault
Auto Trait Implementations§
impl Freeze for TargetCreateHashiVault
impl RefUnwindSafe for TargetCreateHashiVault
impl Send for TargetCreateHashiVault
impl Sync for TargetCreateHashiVault
impl Unpin for TargetCreateHashiVault
impl UnsafeUnpin for TargetCreateHashiVault
impl UnwindSafe for TargetCreateHashiVault
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