@@ -57,11 +57,11 @@ def __init__(self, clp_res_model, clp_resource_attributes, shell_helper):
5757
5858 def set_env_vars_based_on_clp (self ):
5959 for attr in self ._clp_resource_attributes :
60- if self .does_attribute_match (self ._clp_res_model , attr , self . _shell_helper , "Azure Subscription ID" ):
60+ if self .does_attribute_match (self ._clp_res_model , attr , "Azure Subscription ID" ):
6161 os .environ ["ARM_SUBSCRIPTION_ID" ] = attr .Value
62- if self .does_attribute_match (self ._clp_res_model , attr , self . _shell_helper , "Azure Tenant ID" ):
63- os .environ ["Azure Tenant ID " ] = attr .Value
64- if self .does_attribute_match (self ._clp_res_model , attr , self . _shell_helper , "Azure Application ID" ):
62+ if self .does_attribute_match (self ._clp_res_model , attr , "Azure Tenant ID" ):
63+ os .environ ["ARM_TENANT_ID " ] = attr .Value
64+ if self .does_attribute_match (self ._clp_res_model , attr , "Azure Application ID" ):
6565 os .environ ["ARM_CLIENT_ID" ] = attr .Value
66- if self .does_attribute_match (self ._clp_res_model , attr , self . _shell_helper , "Azure Application Key" , True ):
66+ if self .does_attribute_match (self ._clp_res_model , attr , "Azure Application Key" ):
6767 os .environ ["ARM_CLIENT_SECRET" ] = self ._shell_helper .api .DecryptPassword (attr .Value ).Value
0 commit comments