dpalmasan / dpalmasan/python-user-posts-microservice
Add ability to use service accounts in MongoDB
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently, we are using MongoDB as root (not passing credentials when creating a `MongoClient` instance). This might pose some security issues, as the account used by the service should have restricted access (i.e. read only, read/write, but not delete).
We need to add credentials to configuration file, update deployments when needed.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the MongoClient creation and the configuration used by deployments; the payload names no files or tests. Trace how MongoDB settings are supplied, then determine how restricted service-account roles should be represented and verify that deployments authenticate without granting unnecessary access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, python
- Domain
- databases, devops, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100