aws / aws/aws-secretsmanager-caching-java
Get secret with specific version ID
- 主要言語
- Java
- スター
- 83
- フォーク
- 39
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, the only way to retrieve a secret is by its ID with `SecretCache.getSecretString(secretId)`. There is no way to get a specific _version_ of a secret using its ID and versionId. One can build a `SecretCacheConfiguration` object and call `setVersionStage`, then pass that configuration to a `SecretCache` constructor; however, this still only allows retrieving a specific version of a secret by its Id and _stage_, and would require using the same stage for all secrets (unless constructing separate caches). It would be nice if `getSecretString` took an optional `versionId` string, so that we could use specific versionIds and not just version stages.
コントリビューションガイド
調査の方向性
まず、issue で示されている SecretCache.getSecretString(secretId) と SecretCacheConfiguration.setVersionStage のパスを追跡します。次に、キャッシュコンストラクターがどのようにバージョンを取得するかを確認し、その後、オプションの versionId によって共有ステージとは独立して 1 つの secret バージョンを選択できることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, java
- 領域
- api, cloud
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100