You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All microservices should authenticate themselves when using mongo database no matter if they are started up via docker or via snap. Once issue edgexfoundry/docker-edgex-mongo#77 is fixed (mongo is started with enabled access control), services started up using configuration.toml files that are directly under /res directory will got authentication exception when manipulating the database.
Affected Services
All microservices that use mongo database and are run usually locally or via snap
All /edgex-go/cmd/*/res/configuration.toml files have empty Password and Username filed under [Databases]
Example with edgex-go/cmd/metadata/configuration.tolm file
[Databases]
[Databases.Primary]
Host = 'localhost'
Name = 'metadata'
Password = ''
Port = 27017
Username = ''
Timeout = 5000
Type = 'mongodb'
Username and Password files need to be updated accordingly.
馃敟 Exception or Error
Currently there is no exception, but once the mongo get started with enabled access control, all microservice will need to authenticate.
馃實 Your Environment
Deployment Environment:
EdgeX Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered:
馃悶 Bug Report
All microservices should authenticate themselves when using mongo database no matter if they are started up via docker or via snap. Once issue edgexfoundry/docker-edgex-mongo#77 is fixed (mongo is started with enabled access control), services started up using configuration.toml files that are directly under /res directory will got authentication exception when manipulating the database.
Affected Services
All microservices that use mongo database and are run usually locally or via snap
Is this a regression?
-Description and Minimal Reproduction
All /edgex-go/cmd/*/res/configuration.toml files have empty
Password
andUsername
filed under [Databases]Example with edgex-go/cmd/metadata/configuration.tolm file
Username and Password files need to be updated accordingly.
馃敟 Exception or Error
Currently there is no exception, but once the mongo get started with enabled access control, all microservice will need to authenticate.
馃實 Your Environment
Deployment Environment:
EdgeX Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: