gcp_secret_manager 0.1.4 copy "gcp_secret_manager: ^0.1.4" to clipboard
gcp_secret_manager: ^0.1.4 copied to clipboard

A small package to make interacting with Google Secret Manager easier.

secret_manager #

gcp_secret_manager style: very good analysis License: MIT

A small package to make interacting with Google Secret Manager easier.

Usage #

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

Local Usage #

You can use LocalSecretManager to read secrets from a file for use locally. Just make sure you don't check your secrets file into GitHub!

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

Publisher

unverified uploader

Weekly Downloads

A small package to make interacting with Google Secret Manager easier.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

current_gcp_project, googleapis, googleapis_auth, http

More

Packages that depend on gcp_secret_manager