Reference.adoc 4.8 KB

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