Reference.adoc 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. = KeePassXC - Reference
  2. include::.sharedheader[]
  3. :imagesdir: ../images
  4. // tag::content[]
  5. == Reference
  6. This section contains full details on advanced features available in KeePassXC.
  7. === Entry Placeholders
  8. [grid=rows, frame=none, width=90%]
  9. |===
  10. |Placeholder |Description
  11. |{TITLE} |Entry Title
  12. |{USERNAME} |Username
  13. |{PASSWORD} |Password
  14. |{URL} |URL
  15. |{NOTES} |Notes
  16. |{TOTP} |Current TOTP value (if configured)
  17. |{S:<ATTRIBUTE_NAME>} |Value for the given attribute (case sensitive)
  18. |{URL:RMVSCM} |URL without scheme (e.g., https)
  19. |{URL:WITHOUTSCHEME} |URL without scheme
  20. |{URL:SCM} |URL Scheme
  21. |{URL:SCHEME} |URL Scheme
  22. |{URL:HOST} |URL Host (e.g., example.com)
  23. |{URL:PORT} |URL Port
  24. |{URL:PATH} |URL Path (e.g., /path/to/page.html)
  25. |{URL:QUERY} |URL Query String
  26. |{URL:FRAGMENT} |URL Fragment
  27. |{URL:USERINFO} |URL Username:Password
  28. |{URL:USERNAME} |URL Username
  29. |{URL:PASSWORD} |URL Password
  30. |{DT_SIMPLE} |Current Date-Time (yyyyMMddhhmmss)
  31. |{DT_YEAR} |Current Year (yyyy)
  32. |{DT_MONTH} |Current Month (MM)
  33. |{DT_DAY} |Current Day (dd)
  34. |{DT_HOUR} |Current Hour (hh)
  35. |{DT_MINUTE} |Current Minutes (mm)
  36. |{DT_SECOND} |Current Seconds (ss)
  37. |{DT_UTC_SIMPLE} |Current UTC Date-Time (yyyyMMddhhmmss)
  38. |{DT_UTC_YEAR} |Current UTC Year (yyyy)
  39. |{DT_UTC_MONTH} |Current UTC Month (MM)
  40. |{DT_UTC_DAY} |Current UTC Day (dd)
  41. |{DT_UTC_HOUR} |Current UTC Hour (hh)
  42. |{DT_UTC_MINUTE} |Current UTC Minutes (mm)
  43. |{DT_UTC_SECOND} |Current UTC Seconds (ss)
  44. |{DB_DIR} |Absolute directory path of database file
  45. |===
  46. === Entry Cross-Reference
  47. A reference to another entry's field is possible using the short-hand syntax:
  48. `{REF:<FIELD>@<SEARCH_IN>:<SEARCH_TEXT>}`
  49. `<FIELD>` and `<SEARCH_IN>` can be one of following:
  50. * T - Title
  51. * U - Username
  52. * P - Password
  53. * A - URL
  54. * N - Notes
  55. * I - UUID (found on entry properties page)
  56. * O - Custom Attribute _(SEARCH_IN only)_
  57. Examples: +
  58. `{REF:U@I:033054D445C648C59092CC1D661B1B71}` +
  59. `{REF:P@T:Other Entry}` +
  60. `{REF:A@O:Attribute 1}`
  61. === Auto-Type Actions
  62. [grid=rows, frame=none, width=90%]
  63. |===
  64. |Action Code |Description
  65. |{TAB}, {ENTER}, {SPACE}, {INSERT}, {DELETE}, {HOME}, {END}, {PGUP}, {PGDN}, {BACKSPACE}, {CAPSLOCK}, {ESC}
  66. |Press the corresponding keyboard key
  67. |{UP}, {DOWN}, {LEFT}, {RIGHT} |Press the corresponding arrow key
  68. |{F1}, {F2}, ..., {F16} |Press F1, F2, etc.
  69. |{LEFTBRACE}, {RIGHTBRACE} |Press `{` or `}`, respectively
  70. |{<KEY> X} |Repeat <KEY> X times (e.g., {SPACE 5} inserts five spaces)
  71. |{DELAY=X} |Set delay between key presses to X milliseconds
  72. |{DELAY X} |Pause typing for X milliseconds
  73. |{CLEARFIELD} |Clear the input field
  74. |{PICKCHARS} |Pick specific password characters from a dialog
  75. |===
  76. [grid=rows, frame=none, width=90%]
  77. |===
  78. |Modifier |Description
  79. |+ |SHIFT
  80. |^ |CTRL
  81. |% |ALT
  82. |# |WIN/CMD
  83. |===
  84. *Text Conversions:*
  85. `{T-CONV:/<PLACEHOLDER>/<METHOD>/}` +
  86. Convert resolved placeholder (e.g., {USERNAME}, {PASSWORD}, etc.) using the following methods: UPPER, LOWER, BASE64, HEX, URI, URI-DEC.
  87. `{T-REPLACE-RX:/<PLACEHOLDER>/<SEARCH>/<REPLACE>/}` +
  88. Use regular expressions to find and replace data from a resolved placeholder. Refer to match groups using $1, $2, etc.
  89. === Backup Path Placeholders
  90. [grid=rows, frame=none, width=90%]
  91. |===
  92. |Database Backup Path Placeholder |Description
  93. |{DB_FILENAME} |The database's filename without extension
  94. |{TIME} |The current time formatted as dd_MM_yyyy_hh-mm-ss.
  95. |{TIME:<format>} |The current time formatted according to the format string specified by <format>. See https://doc.qt.io/qt-5/qtime.html#toString for a list of available placeholders.
  96. |===
  97. [grid=rows, frame=none, width=90%]
  98. |===
  99. |Backup path example |Location of backup(s)
  100. |`{DB_FILENAME}-{TIME}.bak.kdbx` |`C:\Users\MyUsername\MyDatabase-02_01_2022_03-04-05.bak.kdbx` +
  101. `C:\Users\MyUsername\MyDatabase-05_01_2022_12-10-00.bak.kdbx`
  102. |`backups\\{DB_FILENAME}.bak.kdbx` |`C:\Users\MyUsername\backups\MyDatabase.bak.kdbx`
  103. |`C:\Backups\{TIME:dd.MM.yyyy}\\{DB_FILENAME}.kdbx` |`C:\Backups\02.01.2022\MyDatabase.kdbx` +
  104. `C:\Backups\05.01.2022\MyDatabase.kdbx`
  105. |`C:\Backups\\{DB_FILENAME}\{TIME:MM-dd-yyyy}.kdbx` |`C:\Backups\MyDatabase\01-02-2022.kdbx` +
  106. `C:\Backups\MyDatabase\01-05-2022.kdbx`
  107. |===
  108. // end::content[]