Skip to content

Remove secret from connection string #4

@Toinne

Description

@Toinne

Within the database access file, a secret is hardcoded.
This allows the entire internet to access and modify the database.

'mongodb+srv://HYF-FP-G1:K9i8lCCRD1LqYY2u@hfycluster.n96tz.mongodb.net/myFirstDatabase?retryWrites=true&w=majority';

Acceptance criteria:

  • Remove secret
  • Add support for loading in the secret through an environmental file

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions