awslabs / awslabs/aws-codedeploy-plugin

Environment variables for credentials are not working

オープン
#48 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Java
スター
156
フォーク
130
PR マージ指標
30日以内にマージされた PR はありません

説明

I am trying to use environment variables for credentials, I am able to inject and show the environment variables in a post install script, but codedeploy plugin is not able to use them, showing the following error:
is not authorized to perform: codedeploy:ListApplications on resource.. (Service: AmazonCodeDeploy; Status Code: 400; Error Code: AccessDeniedException; Request ID: ..)

I does work when I explicitly use the key id and access key on the form.

I am using 1.8 version of the plugin I am not sure if this is has been fixed on 1.9 looking at the changes appear that is not. In any case I will try the latest plugin later and will update this.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、issue に記載されている認証情報の設定を plugin バージョン 1.8 および 1.9 で再現し、環境変数から取得した認証情報と明示的に入力したキーを比較します。認証情報が環境から取得される場合に、CodeDeploy plugin が codedeploy:ListApplications に対して認証できるかを確認し、結果を記録してください。

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

評価

技術スタック
aws, java
領域
cloud, devops
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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