mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
hashivault_kv auth_path moved from metadata to inputs
The auth_path is used with the approle auth method It's not linked to the secret we are reading but to the auth method, this parameter has to be moved to inputs
This commit is contained in:
parent
2a824fc1d5
commit
00fc5f6b93
@ -40,6 +40,12 @@ base_inputs = {
|
||||
'multiline': False,
|
||||
'secret': True,
|
||||
'help_text': _('The Secret ID for AppRole Authentication')
|
||||
}, {
|
||||
'id': 'auth_path',
|
||||
'label': _('Path to Auth'),
|
||||
'type': 'string',
|
||||
'multiline': False,
|
||||
'help_text': _('The path where the Authentication method is mounted e.g, approle')
|
||||
}
|
||||
],
|
||||
'metadata': [{
|
||||
@ -47,11 +53,6 @@ base_inputs = {
|
||||
'label': _('Path to Secret'),
|
||||
'type': 'string',
|
||||
'help_text': _('The path to the secret stored in the secret backend e.g, /some/secret/')
|
||||
},{
|
||||
'id': 'auth_path',
|
||||
'label': _('Path to Auth'),
|
||||
'type': 'string',
|
||||
'help_text': _('The path where the Authentication method is mounted e.g, approle')
|
||||
}],
|
||||
'required': ['url', 'secret_path'],
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user