shuttle-secrets 0.22.0

Plugin to for managing secrets on shuttle
Documentation

Shuttle Secrets

This plugin manages secrets on shuttle.

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