diff --git a/sdk/dotNet/QuickTest/Program.cs b/sdk/dotNet/QuickTest/Program.cs index 87752614..5b4b229c 100644 --- a/sdk/dotNet/QuickTest/Program.cs +++ b/sdk/dotNet/QuickTest/Program.cs @@ -21,7 +21,8 @@ private static void Main() private static async Task GetSecrets() { var storage = new LocalConfigStorage("test_config_storage.json"); - SecretsManagerClient.InitializeStorage(storage, "US:ONE_TIME_TOKEN"); + // Initialize Storage only once - generates config.json from one-time token + // SecretsManagerClient.InitializeStorage(storage, "US:ONE_TIME_TOKEN"); var options = new SecretsManagerOptions(storage); // var options = new SecretsManagerOptions(storage, SecretsManagerClient.CachingPostFunction); var secrets = await SecretsManagerClient.GetSecrets(options);