Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Providing access to secret's metadata

オープン
#11 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
aws, java
領域
security

調査の方向性

SecretCacheObject.getResult と SecretCache.getCachedSecret から始め、次に DescribeSecret のメタデータが SecretCacheItem にどのようにキャッシュされているかを調べます。呼び出し元が追加の AWS Secrets Manager リクエストなしで SecretCache.describeSecret を通じてキャッシュされたシークレットメタデータを取得できるようになれば、変更は完了です。この動作を検証するために、関連する Java テストを追加または更新します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Hi,
I'm working on my fork to slightly modify the source code in order to provide visibility on the secret's metadata.
This information is coming through DescribeSecret and it's already cached in the SecretCacheObject.

I would like to submit a pull request to your repository and my proposal would be to change the SecretCacheObject.getResult method to public and implement a SecretCache.describeSecret method like the following:

/**
     * Method to retrieve the description of a secret from AWS Secrets Manager.
     *
     * @param secretId
     *        The identifier for the secret being requested.
     * @return The string secret
     */
    public DescribeSecretResult describeSecret(final String secretId) {
        SecretCacheItem secret = this.getCachedSecret(secretId);
        return secret.getResult().clone();
    }

This way, accessing the secret's metadata does not request a second trip to the AWS SecretsManager or the implementation of a secondary cache.

This is my first pull request here, please be nice ;-)

主要言語
Java
スター
83
フォーク
39
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/aws-secretsmanager-caching-java のほかの issue

aws/aws-secretsmanager-caching-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。