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

Allow environment for credentials in TestEntrypoint

Aberta
#72 0 comentários 1 reação 1 responsável Reivindicada por @ericzbeard Ver no GitHub
enhancement investigating
Linguagem predominante
Python
Estrelas
107
Forks
46
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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"
},
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.