aws / aws/aws-cli

Linux: environment variables not interpreted by `aws configure`

Open
#7,061 4 comments 0 reactions 0 assignees View on GitHub
bug configuration configure p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

Setting environment variables in Linux for an IAM user per the [documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) and running `aws configure` in the same shell session results in no output.

### Expected Behavior

Per the documentation, the sourced environment variables should be interpreted by `aws configure` in autogenerating the `config` and `credentials` files within the `$HOME/.aws/` directory.

### Current Behavior

Nothing.

### Reproduction Steps

```bash
tee vars <

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.