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

Allow environment for credentials in TestEntrypoint

Abierto
#72 0 comentarios 1 reacción 1 asignado Reclamado por @ericzbeard Ver en GitHub
enhancement investigating
Lenguaje dominante
Python
Estrellas
107
Forks
46
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.