You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run q doctor in the affected terminal session
I have run q restart and replicated the issue again
Operating system
macOS 15.3.2 (24D81)
Expected behaviour
q cli 's default cli credential profile should can be configured.
Actual behaviour
multiple aws cli credential profile may be configured on a devops machine to achieve the least privilege policy. If no default profile is configured, q cli will fail to find the correct credential with the following error:
> list my ec2 in tokyo
I'll help you list your EC2 instances in the Tokyo region (ap-northeast-1). Let me run the AWS CLI command for you:
Use AWS CLI
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Running aws cli command:
Service name: ec2
Operation name: describe-instances
Parameters:
Profile name: default
Region: ap-northeast-1
Label: List EC2 instances in Tokyo region
Using AWS CLI...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
🔴 Execution failed after 2.755s:
Unable to locate credentials. You can configure credentials by running "aws configure".
It looks like AWS credentials aren't configured in your environment. To list your EC2 instances in Tokyo, you'll need to set up your AWS credentials
first. You can do this by running:
bash
aws configure
This will prompt you to enter:
1. Your AWS Access Key ID
2. Your AWS Secret Access Key
3. Default region name (enter 'ap-northeast-1' for Tokyo)
4. Default output format (json is recommended)
Once you've configured your credentials, you can try listing your EC2 instances again by running:
bash
aws ec2 describe-instances --region ap-northeast-1
Checks
q doctor
in the affected terminal sessionq restart
and replicated the issue againOperating system
macOS 15.3.2 (24D81)
Expected behaviour
q cli 's default cli credential profile should can be configured.
Actual behaviour
multiple aws cli credential profile may be configured on a devops machine to achieve the least privilege policy. If no
default
profile is configured, q cli will fail to find the correct credential with the following error:Steps to reproduce
No response
Environment
The text was updated successfully, but these errors were encountered: