awslabs / awslabs/aws-codedeploy-plugin

Environment variables for credentials are not working

Aperta
#48 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
156
Fork
130
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziate riproducendo la configurazione delle credenziali descritta nell’issue con le versioni 1.8 e 1.9 del plugin, confrontando le credenziali provenienti dalle variabili d’ambiente con le chiavi immesse esplicitamente. Verificate se il plugin CodeDeploy può autenticarsi per codedeploy:ListApplications quando le credenziali provengono dall’ambiente e documentate il risultato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, java
Ambito
cloud, devops
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.