gcp_secret_manager 1.0.0 gcp_secret_manager: ^1.0.0 copied to clipboard
A secret manager that pulls values from GCP Secret Manager.
// ignore_for_file: unused_local_variable
import 'package:gcp_secret_manager/gcp_secret_manager.dart';
void main() async {
final secretManager = await GCPSecretManager.defaultCredentials();
final secret = await secretManager.getSecret('my-secret');
// use secret...
}