New in version 3.8.3.
Parameter | Choices/Defaults | Comments |
---|---|---|
authtype |
Default: token
|
authentication type to use: token, userpass, github, ldap, approle
|
dest |
fully qualified path name of file to read from remote host.
|
|
key |
secret key/name of file to write to vault.
|
|
password |
password to login to vault.
|
|
secret |
vault secret to write.
|
|
token |
Default: to environment variable VAULT_TOKEN
|
token for vault
|
update |
Default: yes
|
Update secret rather than overwrite.
|
url |
Default: to environment variable VAULT_ADDR
|
url for vault
|
username |
username to login to vault.
|
|
verify |
Default: to environment variable VAULT_SKIP_VERIFY
|
verify TLS certificate
|
---
- hosts: localhost
tasks:
- hashivault_write_from_file:
secret: giant
key: foo.dat
path: /tmp/foo.dat
Hint
If you notice any issues in this documentation you can edit this document to improve it.