secret_manager 0.0.1-dev.1 copy "secret_manager: ^0.0.1-dev.1" to clipboard
secret_manager: ^0.0.1-dev.1 copied to clipboard

Access your secrets no matter where they're stored.

Secret Manager #

secret_manager coverage pub package style: very good analysis License: MIT

Access your secrets no matter where they're stored. Built in support for reading secrets from:

  • Environment variables
  • A local File

If you'd like to read from GCP Secret Manager, you can use gcp_secret_manager.

Environment Variables #

  final secretManager = await EnvironmentSecretManager();
  final secret = secretManager.getSecret('my-secret');
  // use secret...

Local File #

Just make sure you don't check your secrets file into version control!

  final secretManager = await LocalSecretManager.fromFile();
  final secret = secretManager.getSecret('my-secret');
  // use secret...
0
likes
0
points
313
downloads

Publisher

unverified uploader

Weekly Downloads

Access your secrets no matter where they're stored.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

current_gcp_project, googleapis, googleapis_auth, http, platform, recase

More

Packages that depend on secret_manager