File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ This guide is intended for users who must use the SmartREST 1.0 for specific rea
1717To use SmartREST 1.0, the authentication mode must be set to ` basic ` using the ` tedge config ` CLI tool:
1818
1919``` sh
20- sudo tedge config set c8y.auth_mode basic
20+ sudo tedge config set c8y.auth_method basic
2121```
2222
2323Next, provide credentials (username/password) in a credential file formatted as follows.
2424The default location of the credentials file is ` /etc/tedge/credentials.toml ` :
2525
26- ``` toml
26+ ``` toml title="file: /etc/tedge/credentials.toml"
2727[c8y ]
2828username = " t5678/octocat"
2929password = " abcd1234"
@@ -32,7 +32,7 @@ password = "abcd1234"
3232If needed, you can specify a custom location for the credentials file using the ` tedge config ` CLI tool:
3333
3434``` sh
35- sudo tedge config set c8y.credentials_path < /custom/path/to/credentials.toml>
35+ sudo tedge config set c8y.credentials_path /custom/path/to/credentials.toml
3636```
3737
3838## Configuring the device ID
You can’t perform that action at this time.
0 commit comments