Skip to content

Commit 6a03263

Browse files
Add VDR API version usage with regards to DID methods to docs (#3400)
1 parent 7460f4a commit 6a03263

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Nuts documentation
1313
pages/integrating/api-authentication.rst
1414
pages/integrating/vc.rst
1515
pages/integrating/supported-protocols-formats.rst
16+
pages/integrating/version-incompatibilities.rst
1617
pages/release_notes.rst
1718

1819
.. toctree::

docs/pages/deployment/security-considerations.rst

+12-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,15 @@ Key rotation
4545
************
4646

4747
It's important to have a key rotation policy in place. The Nuts node uses keys for various signing operations.
48-
These operations are numerous and therefore keys should be rotated regularly.
48+
These operations are numerous and therefore keys should be rotated regularly.
49+
50+
Using did:web
51+
*************
52+
53+
The ``did:web`` method allows for easier integration with existing web infrastructure. However, it's also less secure and vulnerable to domain takeover.
54+
When using ``did:web``, you should consider the following:
55+
56+
- Protect your domain from takeover. Make sure it's locked for a year after cancelling the domain.
57+
- Monitor calls to ``**/did.json`` on the domain and make sure they are handled by the Nuts Node.
58+
- Using Hashicorp Vault or Microsoft Azure Key Vault to store the private keys is even more important when using ``did:web``.
59+
- Use DNS over HTTPS and enable DNSSEC.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. _version-incompatibilities:
2+
3+
Version Incompatibilities
4+
#########################
5+
6+
V5/V6, DID methods and API versions
7+
***********************************
8+
9+
V6 introduced the support for multiple DID methods. To enable this, a new version of the VDR API has been added.
10+
There's also a config parameter that allows you to limit the DID methods in use.
11+
Not all combinations of API usage and DID methods are supported.
12+
There are basically two options.
13+
14+
1. Keep using the VDR V1 API (for now) and set ``vdr.did_methods`` to ``["nuts"]``.
15+
2. Use the VDR V2 API and set ``vdr.did_methods`` to include other methods or leave blank for default setting.
16+
17+
Do not use the VDR V1 and VDR V2 API at the same time. This will lead to unexpected behavior.
18+
Once you use the VDR V2 API, you cannot go back to the VDR V1 API. The VDR V1 API has also been marked as deprecated.
19+

0 commit comments

Comments
 (0)