Skip to content

Commit

Permalink
Merge pull request #17 from thin-edge/feat-use-credentials-toml
Browse files Browse the repository at this point in the history
feat: use toml extension for credentials.toml file
  • Loading branch information
reubenmiller authored Nov 5, 2024
2 parents 37d4871 + 242b81c commit 538eb3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOT > /data/tedge/credentials
cat <<EOT > /data/tedge/credentials.toml
[c8y]
username = "{tenant}/device_{external_id}"
password = "{password}"
Expand Down
2 changes: 1 addition & 1 deletion src/tedge/tedge.default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 538eb3c

Please sign in to comment.