password.adoc 442 B

12345678910111213141516171819
  1. = Password
  2. Sometimes you want to mask the input you pass, and a password field is useful for this.
  3. [WARNING]
  4. Passwords are passed to the OliveTin server in cleartext (unless you're using HTTPS), and are just treated as a string on the server side.
  5. [source,yaml]
  6. .`config.yaml`
  7. ----
  8. actions:
  9. - title: echo a message
  10. icon: smile
  11. shell: echo {{ my_password }}
  12. arguments:
  13. - name: my_password
  14. type: password
  15. ----