Expand description
Trait and implementations for retrieving API keys and secrets needed for private calls
Structs§
- EnvSecrets
Provider - A common implementation that retrieves the key and secret from the given environment variable names.
- Secrets
- A struct containing the API key and secret (using [secrecy::Secret])
- Static
Secrets Provider - A SecretsProvider that stores the key and secret directly. This is useful if you don’t wish to provide a custom implementation, and will directly instantiate a StaticSecretsProvider with your key and secret.
Traits§
- Secrets
Provider - Trait that exposes a method for retrieving secrets.