summaryrefslogtreecommitdiff
path: root/examples/vault-demo.yaml
diff options
context:
space:
mode:
authorluisgulo <luisgulo@gmail.com>2025-10-24 18:01:10 +0200
committerluisgulo <luisgulo@gmail.com>2025-10-24 18:01:10 +0200
commit533e79ba959143f0459431a486bfb85c56c72ddc (patch)
tree91974de1bbbdc4c51c76ed591fc5c6e02a3342b6 /examples/vault-demo.yaml
parent45019c81cfd0fc1d18dce18cdfd5f127c6d61073 (diff)
Releasing code version 1.8.0
Diffstat (limited to 'examples/vault-demo.yaml')
-rw-r--r--examples/vault-demo.yaml7
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