[−][src]Struct vdot::Args
Fields
paths: Vec<String>
Path to the Vault secrets
If duplicate keys are found when providing more than one path the value from the first path will be saved.
Use something like secret/foo-bar
for v1 of the Vault key-value secrets engine, and secret/data/foo-bar
for v2.
See https://www.vaultproject.io/docs/secrets/kv/index.html for more information.
command: Option<String>
Command to spawn
This option will spawn the given command with the environment variables downloaded from Vault.
e.g. vdot -c 'npm start' secret/foo secret/bar
vault_token: String
Vault token used to authenticate requests
This can also be provided by setting the VAULT_TOKEN environment variable.
See https://www.vaultproject.io/docs/concepts/auth.html#tokens for more information.
vault_address: Url
Vault server address
This can also be provided by setting the VAULT_ADDR environment variable.
verbose: u8
Verbose mode
Trait Implementations
impl Debug for Args
[src]
impl StructOpt for Args
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn from_clap(matches: &ArgMatches) -> Self
[src]
fn from_args() -> Self
[src]
Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Print the error message and quit the program in case of failure. Read more
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.