aws / aws/amazon-q-developer-cli

Feature Request: Multi-account support for Amazon Q CLI

Open
#1,838 1 comment 0 reactions 0 assignees View on GitHub
tools
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

Linux 4.4.0-19041-Microsoft - Ubuntu 24.04.1 LTS

### Expected behaviour

The ability to use Amazon Q CLI with multiple AWS accounts, allowing users to seamlessly switch between accounts or work with resources across different accounts without having to manually change credentials or profiles.

### Actual behaviour

The ability to use Amazon Q CLI with multiple AWS accounts, allowing users to seamlessly switch between accounts or work with resources across different accounts without having to manually change credentials or profiles.

### Steps to reproduce

_No response_

### Environment

```yaml

[q-details]
version = "1.9.1"
hash = "5d2c2807cab9bc6c9dc5fcd05f92c7a979e8a4f7"
date = "2025-04-29T06:21:28.508115Z (16d ago)"
variant = "minimal"

[system-info]
chip = "AMD Ryzen 5 PRO 4650U with Radeon Graphics"
total-cores = 6
memory = "15.33 GB"

[system-info.os.linux]
kernel_version = "4.4.0-19041-Microsoft"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.1 LTS"
version_id = "24.04"
version = "24.04.1 LTS (Noble Numbat)"

[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.2.21"
install-method = "unknown"
in-wsl = true

[env-vars]
PATH = "/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/java8path:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Program Files/itacsvc:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files (x86)/Brackets/command:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files (x86)/ACMEGuardian/:/mnt/c/Program Files/GitDefender/bin:/mnt/c/Program Files/Amazon/AWSCLIV2/:/mnt/c/Program Files/Amazon/FOPAzureADMAnagementApp/:/mnt/c/Program Files (x86)/Quarantine/:/mnt/c/Users/jagdalet/AppData/Local/Microsoft/WindowsApps:/mnt/c/IsengardCLI/:/mnt/c/Users/jagdalet/AppData/Local/GitDefender/bin:/snap/bin:/home/USER/.local/bin"
QTERM_SESSION_ID = "5693e7d807804ca49a7d9fec10c610d1"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.9.1"
SHELL = "/bin/bash"
TERM = "xterm-256color"

[chat-settings]
interactive=true

[chat-trusted_tools]

[chat-failed_request_ids]
none

[chat-context]
current_profile=default
profiles=
default

global_context=
.amazonq/rules/**/*.md
README.md
AmazonQ.md

profile_context=none

files=
/home/tusharj/AmazonQ.md, 250 tkns
/home/tusharj/README.md, 130 tkns
total context size=380 tkns
```

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.