Make user-agent string used by aws cli configurable
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
One can query cloud trail for all requests to a given api and it lists the user agent string that the call was made in. This allows one to discover who might be abusing api calls and contributing to api throttling. But there's no way to separate any aws cli commands. They all get the same user agent string that is set in this part of the code (as far as I'm aware): https://github.com/aws/aws-cli/blob/648637cb5a09e71a99577a58bf967038ace2943c/awscli/clidriver.py#L73-L76
Can part of the user agent string be configurable as an input to a given request or in the aws config file somewhere? It would allow customers who share accounts with multiple teams in a given company to separate out who is really making all those calls to a given API.
This can be configured when using the aws sdk but not in the aws cli.
Thank you,
-Asaf
Contributor guide
Assessment
This issue has not been assessed yet.