Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #168 from jim-wang-intel/remove-retry-config-updat…
Browse files Browse the repository at this point in the history
…e-secret-path

fix: Remove retry items of SecretStore config and update secret path
  • Loading branch information
cloudxxx8 authored Jun 3, 2021
2 parents 09afce0 + f164f51 commit 18dc4e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions cmd/res/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ PublishTopicPrefix = 'edgex/events' # /<device-profile-name>/<device-name>/<sour
Type = 'vault'
Host = 'localhost'
Port = 8200
Path = '/v1/secret/edgex/device-random/'
Path = 'device-random/'
Protocol = 'http'
RootCaCertPath = ''
ServerName = ''
TokenFile = '/tmp/edgex/secrets/device-random/secrets-token.json'
AdditionalRetryAttempts = 10
RetryWaitPeriod = "1s"
[SecretStore.Authentication]
AuthType = 'X-Vault-Token'

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/edgexfoundry/device-random

require (
github.com/edgexfoundry/device-sdk-go/v2 v2.0.0-dev.70
github.com/edgexfoundry/device-sdk-go/v2 v2.0.0-dev.71
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.90
github.com/hashicorp/go-sockaddr v1.0.1 // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
Expand Down

0 comments on commit 18dc4e3

Please sign in to comment.