diff --git a/README.md b/README.md index 4465d5b..8f4a67b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Before running the `boostrap.sh` script, you will need to set the device's crede For example, if you installed thin-edge.io under `/data` then you can set the credentials using the following snippet: ```sh -cat < /data/tedge/credentials +cat < /data/tedge/credentials.toml [c8y] username = "{tenant}/device_{external_id}" password = "{password}" diff --git a/src/tedge/tedge.default.toml b/src/tedge/tedge.default.toml index 315be4b..75ddf3e 100644 --- a/src/tedge/tedge.default.toml +++ b/src/tedge/tedge.default.toml @@ -5,7 +5,7 @@ version = "2" root_cert_path = "@CONFIG_DIR@/ca-certificates.crt" # Use basic auth if credentials file is present, otherwise use certificates auth_method = "auto" -credentials_path = "@CONFIG_DIR@/credentials" +credentials_path = "@CONFIG_DIR@/credentials.toml" [az] root_cert_path = "@CONFIG_DIR@/ca-certificates.crt"