diff options
| -rw-r--r-- | docs/access.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/access.md b/docs/access.md index dcd67f8..26026e9 100644 --- a/docs/access.md +++ b/docs/access.md @@ -420,11 +420,13 @@ curl -X PUT localhost:3000/store/_continuum/banned/<node ID> \ A member's node signs its changes, but the user a change names is its node's word: a member could write as any user. A swarm can have its users sign the values that matter themselves, with their SSH keys, so no member can write them but as a user -signed them: the policy's `"values": "signed"` (strict; it requires signatures too). +signed them: the policy's `"values": "signed"` (strict; it requires signatures too), +given to its genesis node (A new swarm, above): ```sh -curl -X PUT localhost:3000/store/_continuum/access/policy \ - -H 'Content-Type: application/json' -d '{"version": 1, "values": "signed"}' +continuum --genesis --bootstrap-users alice \ + --bootstrap-keys 'alice=ssh-ed25519 AAAA… laptop' \ + --bootstrap-policy '{"version": 1, "values": "signed"}' … ``` Signed then are what decides who may do what (every user's entry, every entry of |
