Struct credentials::Options
[−]
[src]
pub struct Options { /* fields omitted */ }
Options which can be passed to Client::new
.
Methods
impl Options
[src]
fn secretfile(self, secretfile: Secretfile) -> Options
Specify a Secretfile
for the Client
to use. This takes self
by value, so it consumes the Options
structure it is called on,
and returns a new one. Defaults to Secretfile::default()
.
fn allow_override(self, allow_override: bool) -> Options
Allow secrets in environment variables and local files to override
the ones specified in our Secretfile
. Defaults to true.