Skip to content

Commit

Permalink
docs: fix secret storage documentation page (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
yshyn-iohk authored Jun 19, 2023
1 parent 0847f4e commit 130abbd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/docusaurus/secrets/secret-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sequenceDiagram
The PRISM Platform uses HD key derivation to derive cryptographic keys from the seed.
The Wallet is initialized with the seed and uses it to derive cryptographic keys for managed DIDs.
Key derivation path is conventional and is defined as follows:
```agsl
```
m / wallet-purpose / DID-index / key-purpose / key-index
```

Expand All @@ -100,12 +100,14 @@ The Vault is a key/value store with metadata attached to the key and versioning.
The naming convention for the Vault assets is a matter of the implementation, but for the multi-tenant configuration all the assets of the Wallet must be stored under the path that contains the `tenant-id`.

For example, the `seed` can be stored by the following path:
```mermaid

```
<tenant-id>/seed value=<base64-encoded-value> <metadata>
```

The private keys for the DID can be stored by the following path:
```mermaid

```
<tenant-id>/dids/prism/<did-ref>/keys/<key-purpose>/<key-index>/<operation-hash> value=<base64-encoded-value> <metadata>
```

Expand All @@ -120,7 +122,7 @@ where:

The keys material of the DID peer can be stored by the following path:

```mermaid
```
<tenant-id>/dids/peer/<did-ref>/keys/<key-purpose> value=<base64-encoded-value> <metadata>
```

Expand Down

0 comments on commit 130abbd

Please sign in to comment.