diff --git a/cmd/root.go b/cmd/root.go index 750fcea1..27d9f646 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -80,7 +80,7 @@ var RootCmd = &cobra.Command{ apiclient.SetAPI(api) - if !metadataToken { + if !metadataToken && !defaultToken { apiclient.SetServiceAccount(cmdServiceAccount) apiclient.SetIntegrationToken(cmdToken) }