ExSecrets.Providers.Behaviour behaviour (ex_secrets v0.2.0)

Behaviour for providers.

Link to this section Summary

Callbacks

Gets a secret from the provider.

Resets the provider to default state. Clears cache and resets the provider.

Link to this section Callbacks

@callback get(String.t()) :: String.t()

Gets a secret from the provider.

@callback reset() :: :ok

Resets the provider to default state. Clears cache and resets the provider.