Configuration
-The main configuration file for dav is $HOME/.dav/config.xml
and is used for configuring repositories, proxies and encryption keys. This configuration is also used by dav-sync. The file is created automaticaly if it doesn't exist.
The main configuration file for dav is $HOME/.dav/config.xml
and is used for configuring repositories, proxies and encryption keys. This configuration is also used by dav-sync. The file is created automaticaly if it doesn’t exist.
The config.xml file is an XML file with <configuration>
as root element. The <configuration>
element can have the following child elements: <repository>
, <http-proxy>
, <https-proxy>
, <key>
, <namespace>
repository
This element is used to configure a repository. A repository must have a unique name to identify the repository and a url pointing to the root collection for this repository.
@@ -99,6 +120,10 @@A base64 encoded password used for authentication.
Type: base64 string
Example: <password>MTIzNDU2Nzg=</password>
stored-user
+Credentials id used for authentication. The credentials must be stored in the secret store.
+Type: string
+Example: <stored-user>alice</stored-user>
default-key
Identifer of the key used by default for encryption. There must be a configured key with this name.
Type: string
@@ -127,7 +152,7 @@
Path to a file containing certificates to verify the TLS connection to the server.
Type: string
Example: <cert>/etc/certs/cabundle.pem</cert>
Note: This element does the same as curl's --cacert
option.
Note: This element does the same as curl’s --cacert
option.
verification
This element can disable TLS certificate verification.
Type: boolean