Made username/password/tenant_id/client_id/client_secret all optional when creating an Azure Resource Manager credential.

This commit is contained in:
Michael Abashian 2016-06-01 17:07:33 -04:00
parent 4f4724d1c5
commit beb6be189c
2 changed files with 0 additions and 14 deletions

View File

@ -310,10 +310,6 @@ export default
client:{
type: 'text',
label: 'Client ID',
awRequiredWhen: {
reqExpression: "azure_rm_required",
init: false
},
subForm: 'credentialSubForm',
ngShow: "kind.value === 'azure_rm'"
},
@ -322,20 +318,12 @@ export default
hasShowInputButton: true,
autocomplete: false,
label: 'Client Secret',
awRequiredWhen: {
reqExpression: "azure_rm_required",
init: false
},
subForm: 'credentialSubForm',
ngShow: "kind.value === 'azure_rm'"
},
tenant: {
type: 'text',
label: 'Tenent ID',
awRequiredWhen: {
reqExpression: "azure_rm_required",
init: false
},
subForm: 'credentialSubForm',
ngShow: "kind.value === 'azure_rm'"
},

View File

@ -119,8 +119,6 @@ angular.module('CredentialsHelper', ['Utilities'])
case 'azure_rm':
scope.usernameLabel = "Username";
scope.subscription_required = true;
scope.username_required = true;
scope.password_required = true;
scope.passwordLabel = 'Password';
scope.azure_rm_required = true;
break;