-
-
Notifications
You must be signed in to change notification settings - Fork 228
Managed schema
Sami Vänttinen edited this page Oct 25, 2024
·
3 revisions
It's possible to distribute global settings to the extension by using 3rdparty policy. Examples on how to distribute the policy can be found from here.
Link to the schema file:
The following properties have certain specified values to be used:
afterFillSorting (How to sort credentials after fill)
-
sortByMatchingCredentials(default) sortByRelevantEntry
afterFillSortingTotp ()
sortByMatchingCredentials-
sortByRelevantEntry(default)
bannerPosition (Where to position the Credential Banner)
-
0Bottom -
1Top (default)
checkUpdateKeePassXC (When to check updates for KeePassXC)
-
0Never (default) -
3Every three days -
7Weekly -
30Monthly
colorTheme (Extension color scheme)
darklight-
system(default)
credentialSorting (How to sort matching credentials)
sortByTitlesortByUsername-
sortByGroupAndTitle(default) sortByGroupAndUsername
An example policy file in JSON format:
{
"policies": {
"3rdparty": {
"Extensions": {
"keepassxc-browser@keepassxc.org": {
"settings": {
"defined-custom-fields": {
"https://example.com": {
"fields": [
[
"/html/body/table/tbody/tr[10]/td[4]/table/tbody/tr/td/table/tbody/tr[2]/td[4]/form/table/tbody/tr[2]/td[2]/input",
"INPUT password form_password "
]
],
"password": [
"/html/body/table/tbody/tr[10]/td[4]/table/tbody/tr/td/table/tbody/tr[2]/td[4]/form/table/tbody/tr/td[2]/input",
"INPUT text form_username "
],
"username": [
"/html/body/table/tbody/tr[10]/td[4]/table/tbody/tr/td/table/tbody/tr[2]/td[4]/form/table/tbody/tr[2]/td[2]/input",
"INPUT password form_password "
]
}
},
"passkeys": true,
"sitePreferences": [
{
"allowIframes": false,
"ignore": "ignoreNothing",
"improvedFieldDetection": false,
"url": "https://example.com",
"usernameOnly": true
}
]
}
}
}
}
}
}