October 2018
Intermediate to advanced
248 pages
4h 46m
English
The secrets provided will be used in authentication. The current information will be checked against this principal secret file to give authentication.
For creating a secret, let's follow these steps:
$ sudo mkdir conf
$ sudo vi credentials.json
{
"credentials":
[
{
"principal": "marathon",
"secret": "marathon1_secret"
},
{
"principal":"agent",
"secret":"agents_secret"
}
]
}
Save the file using :wq!, and then exit. Repeat these steps on all three master servers.
Credential files, as their name suggests, should be given minimum access, so let's change the permission ...
Read now
Unlock full access