Fix init for latest hvac
@@ -78,7 +78,7 @@ def main():
argspec = hashivault_argspec()
argspec['secret_shares'] = dict(required=False, type='int', default=5)
argspec['secret_threshold'] = dict(required=False, type='int', default=3)
- argspec['pgp_keys'] = dict(required=False, type='list', default=[])
+ argspec['pgp_keys'] = dict(required=False, type='list', default=None)
module = hashivault_init(argspec)
result = hashivault_initialize(module.params)
if result.get('failed'):
