Support encrypted backends for credentials
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
まず compliance/utils/credentials.py を読み、Auditree の設定が現在のローカルファイルバックエンドをどのように選択するかを追跡します。次に、オプションの 1password の動作と拡張境界を把握します。設定なしの動作が変更されず、指定された vault および secure-note スキーマから認証情報が解決されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Overview
The ~/.credentials could be improved for supporting different back-end alternatives. This would be very useful for local testing where users will not need to store credentials in plain text on disk
Requirements
- Support, at least, 1password as an alternative back-end for these credentials file.
- Make it easy to extend for other types of back-ends.
- Do not break current default behaviour. Make all this feature optional
Approach
- Extend
compliance/utils/credentials.pyso that it supports multiple backends. The default behaviour should be the current local file. 1passwordbackend: users could use the Auditree configuration to specify the type of the backend they want to use. For example:
"creds": {
"backend": "1password",
"domain": "my-domain"
}
In this case, Auditree will wait for an auditree vault in 1password (this vault name can be part of the config too) which will contain the credentials with the following schema:
- Name of sections of the credentials file will match with the name of a secure note.
- Each section key/value of the credentials file will be a field in the secure note.
For example: creds['aws'].username will be searched at op://auditree/aws/username
Test Plan
No configuration provided should keep the same behaviour so far.
- 主要言語
- Python
- スター
- 78
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ComplianceAsCode/auditree-framework のほかの issue
-
CI/CD documentation enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
CI/CD documentation enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
CI/CD enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
cli documentation enhancement runners
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
documentation enhancement notifier
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
ComplianceAsCode/auditree-framework の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
btclib-org/btclib-node#2132 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
freelawproject/juriscraper#2367 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
infra tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
gke-labs/kube-agents#4190 ·
メンテナーはふだん 1 日以内に返信