aws-cloudformation / aws-cloudformation/cloudformation-cli-python-plugin

Allow environment for credentials in TestEntrypoint

Aperta
#72 0 commenti 1 reazione 1 assegnatario Rivendicata da @ericzbeard Vedi su GitHub
enhancement investigating
Lingua principale
Python
Stelle
107
Fork
46
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently I have to pass credentials to the TestEntryPoint by defining it in the event:
```
{
"credentials": {
"accessKeyId": "...",
"secretAccessKey": "...",
"sessionToken": "..."
},
...
```
It would be nice if I could write something like:
```
{
"credentials": {
"credential_source": "Environment"
},
```
that would make the `_parse_test_requests` function get the credentials from the environment. Another option could be the support something like this, that would use a specific profile:
```
{
"credentials": {
"credential_source": "Profile",
"profile_name": "my-dev-profile"
},
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.