Struct credentials::Client[][src]

pub struct Client { /* fields omitted */ }

A client which fetches secrets. Under normal circumstances, it's usually easier to use the static credentials::var and credentials::file methods instead, but you may need to use this to customize behavior.

Methods

impl Client
[src]

Create a new client using the specified options.

Create a new client using the default options.

Create a new client using the specified Secretfile.

Provide access to a copy of the Secretfile we're using.

Fetch the value of an environment-variable-style credential.

Fetch the value of a file-style credential.

Auto Trait Implementations

impl Send for Client

impl Sync for Client