aws / aws/aws-cli

aws configure list doesn't respect the --output switch

Open
#10,477 2 comments 0 reactions 1 assignee Claimed by @RyanFitzSimmonsAK View on GitHub
bug configure needs-review p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

While running the command `aws configure list`, the `--output` option is always ignored.

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Expected Behavior

Documented options should be respected, and output properly formatted:

```
--output (string)

The formatting style for command output.

o json

o text

o table

o yaml

o yaml-stream

o off
```

### Current Behavior

No matter what `--output` option I use, it always prints output in the following way:

```
NAME : VALUE : TYPE : LOCATION
```

### Reproduction Steps

Run the following:

- `aws configure list --output json`
- `aws configure list --output yaml`

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### CLI version used

aws-cli/2.35.17 Python/3.14.6 Darwin/25.5.0 source/arm64

### Environment details (OS name and version, etc.)

aws-cli/2.35.17 Python/3.14.6 Darwin/25.5.0 source/arm64

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.