From 5101ac5b71a2447ab96690f98483b3f8963a977f Mon Sep 17 00:00:00 2001 From: Gennady Kurbesov Date: Sun, 17 Nov 2024 13:31:35 +0400 Subject: [PATCH] Change output --- samples/YaCloudKit.IAM.Examples/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/YaCloudKit.IAM.Examples/Program.cs b/samples/YaCloudKit.IAM.Examples/Program.cs index c20e54d..df8c03c 100644 --- a/samples/YaCloudKit.IAM.Examples/Program.cs +++ b/samples/YaCloudKit.IAM.Examples/Program.cs @@ -24,4 +24,5 @@ var iamTokenResponse = await yandexIamServiceClient.GetIamForServiceAccountAsync(); -Console.WriteLine(iamTokenResponse); \ No newline at end of file +Console.WriteLine("IAM token: " + iamTokenResponse.IamToken.Substring(0, 20) + "..."); +Console.WriteLine("Expires at: " + iamTokenResponse.ExpiresAt); \ No newline at end of file