dpalmasan / dpalmasan/python-user-posts-microservice

Add ability to use service accounts in MongoDB

未关闭
#16 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
config database
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 MongoClient 的创建位置以及部署所使用的配置;任务描述未指定任何文件或测试。追踪 MongoDB 设置的提供方式,然后确定应如何表示受限的服务账户角色,并验证部署能够在不授予不必要访问权限的情况下完成身份验证。

由索引模型根据 Issue 内容生成。

评估

技术栈
mongodb, python
领域
databases, devops, security
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。