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
17
17
To use SmartREST 1.0, the authentication mode must be set to ` basic ` using the ` tedge config ` CLI tool:
18
18
19
19
``` sh
20
- sudo tedge config set c8y.auth_mode basic
20
+ sudo tedge config set c8y.auth_method basic
21
21
```
22
22
23
23
Next, provide credentials (username/password) in a credential file formatted as follows.
24
24
The default location of the credentials file is ` /etc/tedge/credentials.toml ` :
25
25
26
- ``` toml
26
+ ``` toml title="file: /etc/tedge/credentials.toml"
27
27
[c8y ]
28
28
username = " t5678/octocat"
29
29
password = " abcd1234"
@@ -32,7 +32,7 @@ password = "abcd1234"
32
32
If needed, you can specify a custom location for the credentials file using the ` tedge config ` CLI tool:
33
33
34
34
``` 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
36
36
```
37
37
38
38
## Configuring the device ID
You can’t perform that action at this time.
0 commit comments