Skip to content

Commit

Permalink
Merge pull request #14474 from jameswnl/cred-attr-required
Browse files Browse the repository at this point in the history
flag required attributes for Ansible credentials
  • Loading branch information
blomquisg authored Mar 24, 2017
2 parents bf6fac9 + 814f477 commit 4053f2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ module ManageIQ::Providers::AnsibleTower::Shared::AutomationManager::AmazonCrede
COMMON_ATTRIBUTES = {
:userid => {
:label => N_('Access Key'),
:help_text => N_('AWS Access Key for this credential')
:help_text => N_('AWS Access Key for this credential'),
:required => true
},
:password => {
:type => :password,
:label => N_('Secret Key'),
:help_text => N_('AWS Secret Key for this credential')
:help_text => N_('AWS Secret Key for this credential'),
:required => true
}
}.freeze

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ module ManageIQ::Providers::AnsibleTower::Shared::AutomationManager::VmwareCrede
COMMON_ATTRIBUTES = {
:userid => {
:label => N_('Username'),
:help_text => N_('Username for this credential')
:help_text => N_('Username for this credential'),
:required => true
},
:password => {
:type => :password,
:label => N_('Password'),
:help_text => N_('Password for this credential')
:help_text => N_('Password for this credential'),
:required => true
}
}.freeze

Expand All @@ -18,7 +20,8 @@ module ManageIQ::Providers::AnsibleTower::Shared::AutomationManager::VmwareCrede
:type => :string,
:label => N_('vCenter Host'),
:help_text => N_('The hostname or IP address of the vCenter Host'),
:max_length => 1024
:max_length => 1024,
:required => true
}
}.freeze

Expand Down

0 comments on commit 4053f2e

Please sign in to comment.