shuttle-secrets 0.7.2

Plugin to for managing secrets on shuttle
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Shuttle Secrets
This plugin manages secrets on [shuttle](https://www.shuttle.rs).

## Usage
Add `shuttle-secrets` to the dependencies for your service, and add a `Secrets.toml` to the root of your project
with the secrets you'd like to store. Make sure to add `Secrets.toml` to a `.gitignore` to omit your secrets from version control.

Next, pass `#[shuttle_secrets::Secrets] secret_store: SecretStore` as an argument to your `shuttle_service::main` function.
`SecretStore::get` can now be called to retrieve your API keys and other secrets at runtime.

An example using the Rocket framework can be found on [GitHub](https://github.com/shuttle-hq/shuttle/tree/main/examples/rocket/secrets)