Skip to content

Commit

Permalink
Updated quick test Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
idimov-keeper authored Sep 14, 2024
1 parent 2b7b4b6 commit 97fee95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/dotNet/QuickTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 97fee95

Please sign in to comment.