run core-command not use cp provider ,just use common config from URI got error #357
Replies: 3 comments 2 replies
-
The error is about the secret store token, not common config. However, since you are using InsecureSecrets, you may want to disable the secure mode. If it's the case, please set the environment variable |
Beta Was this translation helpful? Give feedback.
-
@cloudxxx8 Thaanks , indeed set EDGEX_SECURITY_SECRET_STORE: "false",still informed secret store token |
Beta Was this translation helpful? Give feedback.
-
@cloudxxx8 Yes , since t EDGEX_SECURITY_SECRET_STORE: "false" , should not use secure mode |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
./core-command -cc=http://192.168.1.247:4000/api/v3/config/commonconf/edge-common-config&?edgexSecretName=commonconfig -cf ./res/configuration.yaml,
InsecureSecrets part from ./res/configuration.yaml
InsecureSecrets:
mqtt:
SecretName: mqtt
SecretData:
username: ""
password: ""
cacert: ""
clientcert: ""
clientkey: ""
edgexSecretName:
SecretName: commonconfig
SecretData:
username: "abv"
password: "abv"
error:
root@edgego:~/edgex-go-3.1.1/cmd/core-command# ./core-command -cc=abc:abc@http://192.168.1.247:4000/api/v2/config/commonconf/edge-common-config -cf ./res/configuration.yaml
level=INFO ts=2025-07-31T13:57:02.282900817Z app=core-command source=secret.go:69 msg="Creating SecretClient"
level=INFO ts=2025-07-31T13:57:02.283523118Z app=core-command source=secret.go:172 msg="SecretStore information created with 0 overrides applied"
level=INFO ts=2025-07-31T13:57:02.283775819Z app=core-command source=secret.go:79 msg="Reading secret store configuration and authentication token"
level=INFO ts=2025-07-31T13:57:02.283885919Z app=core-command source=secret.go:216 msg="load token from file"
level=WARN ts=2025-07-31T13:57:02.283947219Z app=core-command source=secret.go:132 msg="Retryable failure while creating SecretClient: open /tmp/edgex/secrets/core-command/secrets-token.json: no such file or directory"
Beta Was this translation helpful? Give feedback.
All reactions