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

Allow environment for credentials in TestEntrypoint

Đang mở
#72 0 bình luận 1 reaction 1 người được giao Được @ericzbeard nhận Xem trên GitHub
enhancement investigating
Ngôn ngữ chính
Python
Star
107
Fork
46
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.