Do not leak api_key or root password in log (#5201)
This commit is contained in:
parent
2127459794
commit
180977a727
1 changed files with 2 additions and 2 deletions
|
@ -443,14 +443,14 @@ def main():
|
|||
state = dict(default='present', choices=['active', 'present', 'started',
|
||||
'deleted', 'absent', 'stopped',
|
||||
'restarted']),
|
||||
api_key = dict(),
|
||||
api_key = dict(no_log=True),
|
||||
name = dict(type='str'),
|
||||
plan = dict(type='int'),
|
||||
distribution = dict(type='int'),
|
||||
datacenter = dict(type='int'),
|
||||
linode_id = dict(type='int', aliases=['lid']),
|
||||
payment_term = dict(type='int', default=1, choices=[1, 12, 24]),
|
||||
password = dict(type='str'),
|
||||
password = dict(type='str', no_log=True),
|
||||
ssh_pub_key = dict(type='str'),
|
||||
swap = dict(type='int', default=512),
|
||||
wait = dict(type='bool', default=True),
|
||||
|
|
Loading…
Reference in a new issue