Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show AWS config info when using \status #157

Open
guyilin-amazon opened this issue Sep 3, 2021 · 0 comments
Open

Show AWS config info when using \status #157

guyilin-amazon opened this issue Sep 3, 2021 · 0 comments

Comments

@guyilin-amazon
Copy link
Contributor

For the \status command, currently it will print current region, ledger and version:

Region: us-west-2, Ledger: test-ledger, Shell version: 2.0.0-alpha14

It would be more helpful to also print the current AWS credentials or profile the Shell is using, like the aws configure list command:

❯ aws configure list
      Name                    Value             Type    Location
      ----                    -----             ----    --------
   profile                <not set>             None    None
access_key     ****************X6VS shared-credentials-file
secret_key     ****************srna shared-credentials-file
    region                us-west-2      config-file    ~/.aws/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant