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

Allow environment for credentials in TestEntrypoint

未关闭
#72 0 条评论 1 个 reaction 已指派 1 人 已被 @ericzbeard 认领 在 GitHub 查看
enhancement investigating
主要语言
Python
星标
107
派生
46
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。