diff options
Diffstat (limited to 'examples/vault-demo.yaml')
| -rw-r--r-- | examples/vault-demo.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/vault-demo.yaml b/examples/vault-demo.yaml new file mode 100644 index 0000000..44d3860 --- /dev/null +++ b/examples/vault-demo.yaml @@ -0,0 +1,7 @@ +tasks: + - name: Acceder a API con token seguro + module: run + args: + command: "curl -H \"Authorization: Bearer \$TOKEN\" https://api.example.com/status" + vault_key: "api_token" + become: false |
