shared_secret - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > system identity
DESCRIPTION
The shared_secret utility generates a digest key / password used by the CognitoDevices security subsystem.
When the shared secret is generated, the utility attempts to update its CognitoDevices record. When a shared secret is generated for the first time on a new device, this update should be inhibited using the --ignore-credentials flag.
SYNOPSIS
shared_secret.py [{ -g [-i] | -d }] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-g, --generate | set shared secret |
-i, --ignore-credentials | do not attempt to update credentials |
-d, --delete | delete the shared secret |
-v, --verbose | report narrative to stderr |
EXAMPLES
./shared_secret.py -g
DOCUMENT EXAMPLE
{"key": "sxBhncFybpbMwZUa"}
FILES
~/SCS/conf/shared_secret.conf