[Feature Request] Add --profile flag back.
See original GitHub issueI have credentials and config for various profiles stored in ~/.aws
, but I intentionally do not use a default profile. Instead, I prefer to pass a specific profile name to the AWS CLI using the --profile
argument. This has worked very well for all AWS tools I’ve used so far.
The README states that using shared credentials or config files should be possible, and everything does indeed work if I set the AWS_PROFILE
environment variable to the profile name I want to use.
However, is there an option to pass a profile name to taskcat instead of using an environment variable? This article shows how to do just that using the -P
argument, but that no longer seems to be supported.
Could anyone please point me in the right direction?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
[Feature Request] Add --profile flag back. · Issue #416 - GitHub
I have credentials and config for various profiles stored in ~/.aws, but I intentionally do not use a default profile.
Read more >Feature flags - GitLab Docs
You can create feature flags in GitLab and use the API from your application to get the list ... Then if no session...
Read more >Essential Guide to Feature Flags - Split Software
A good feature flagging system supports streaming updates to that configuration – the ability for any configuration changes to rapidly propagate to the...
Read more >Building with feature flags - Robert Cooper
How feature flags work · In a feature flag admin page (that you could build out with a front-end framework), create a feature...
Read more >How to Add a Flag to Your Facebook Profile Picture
Back in 2015, Facebook rolled out a feature that lets users add an animated frame to their profile pictures. Users and brands can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@LackoDan
We’ll consider this a feature request to re-add the profile flag. We made an intentional design decision to not mess with credentials on the command line, but I think the profile is an exception.
The project config (.taskcat.yml) and global config (~/.taskcat.yml) files support an ‘auth’ directive. Here’s an example of using a specific profile globally and specific to the project.
Project Config
Global config
I also threw in an example around region-specific credentials. The
auth
section accepts eitherdefault
or<region_name>
.Until we can add in the profile flag, does this get you in the right direction?
This feature will be included in the
0.9.18
release of taskcat. In the interim, a development release is available.pip install taskcat==0.9.18.dev7