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]

[src]

Create a new client using the specified options.

[src]

Create a new client using the default options.

[src]

Create a new client using the specified Secretfile.

[src]

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

[src]

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

[src]

Fetch the value of a file-style credential.

Trait Implementations

Auto Trait Implementations

impl Send for Client

impl Sync for Client