Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/cluster/cluster_devices.diviner
Show First 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | $ ./bin/almanac register \ | ||||
--device <keywarden-device> \ | --device <keywarden-device> \ | ||||
--private-key <key> \ | --private-key <key> \ | ||||
--identify-as <actual-device> | --identify-as <actual-device> | ||||
``` | ``` | ||||
For example, you might run this command on `repo001` when using a shared key: | For example, you might run this command on `repo001` when using a shared key: | ||||
``` | ``` | ||||
$ ./bin/almanac register | $ ./bin/almanac register \ | ||||
--device keywarden.mycompany.net \ | --device keywarden.mycompany.net \ | ||||
--private-key /path/to/private-key \ | --private-key /path/to/private-key \ | ||||
--identify-as repo001.mycompany.net | --identify-as repo001.mycompany.net | ||||
``` | ``` | ||||
In particular, note that `--device` is always the **trusted** device associated | In particular, note that `--device` is always the **trusted** device associated | ||||
with the trusted key. The `--identify-as` flag allows several different hosts | with the trusted key. The `--identify-as` flag allows several different hosts | ||||
to share the same key but still identify as different devices. | to share the same key but still identify as different devices. | ||||
Show All 24 Lines |