From aadf13d43d5f2aa5367fcb57e7e532770620e9fa Mon Sep 17 00:00:00 2001 From: Andrew O Hart Date: Thu, 22 Aug 2024 11:22:48 +0100 Subject: [PATCH] Makes DefaultToIMDS the default 0 value --- apps/managedidentity/managedidentity.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/managedidentity/managedidentity.go b/apps/managedidentity/managedidentity.go index 3789c47b..ddbe71b0 100644 --- a/apps/managedidentity/managedidentity.go +++ b/apps/managedidentity/managedidentity.go @@ -20,11 +20,11 @@ import ( ) const ( - // AzureArc represents the source to acquire token for managed identity is Azure Arc. - AzureArc = 0 - // DefaultToIMDS indicates that the source is defaulted to IMDS since no environment variables are set. - DefaultToIMDS = 1 + DefaultToIMDS = 0 + + // AzureArc represents the source to acquire token for managed identity is Azure Arc. + AzureArc = 1 ) // Client is a client that provides access to Managed Identity token calls.