aws / aws/aws-cli

Make user-agent string used by aws cli configurable

Open
#3,990 4 comments 21 reactions 0 assignees View on GitHub
configuration feature-request p3
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.