Struct vault_client::Token[][src]

pub struct Token { /* fields omitted */ }

Tokens are used by Vault clients to authenticate themselves against a Vault server. This supports only renewable tokens (i.e. created with -period="...").

Methods

impl Token
[src]

Create a new token.

Read the actual value of the token. Be careful as to where this is recorded - it may be a security leak to write the token value in a log.

Helper function to keep a single Token updated. The Token returned can then be used to update other Secrets.

Trait Implementations

impl Debug for Token
[src]

Formats the value using the given formatter. Read more

impl Clone for Token
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Token

impl Sync for Token