-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to connect to ledger error #493
Comments
I was able to resolve my issue, but it looks like there could be a bug with parsing credentials from the default location on MacOS. I tried directly linking to my credentials file by running
This was using a credentials file that I directly copied from the SSO Account Selection page from the "Command line or programmatic access" modal pop up that list temporary credentials in a few formats. Next I tried one of the other options on the modal to export my credentials as Environment variables: |
Thanks for raising this issue. The general format of config under the [default]
aws_access_key_id=<YOUR_AWS_ACCESS_KEY>
aws_secret_access_key=<YOUR_AWS_SECRET_ACCESS_KEY>
aws_session_token=<YOUR_AWS_SESSION_TOKEN> A closed issue for the AWS CLI has some discussion regarding the SSO login not conforming to the standard: aws/aws-cli#4982. The QLDB CLI's I'll leave this issue open to track a patch version release with updated dependencies from our side. |
Ah, I see that makes a lot of sense. Thank you for the detailed response. That will work for my purposes for now. Thanks! |
Considering the mentioned issue on aws-cli is closed and on that thread they clearly doesn't acknowledge they have a problem. Is this going to be fixed on qldb-shell? |
Hi @rbcaixeta We have just released v2.0.2 of the shell which adds support for the You should alternatively be able to setup an SSO profile following the example in these docs: [profile sso-login]
sso_start_url = https://my-sso-portal.awsapps.com/start
sso_region = us-east-1
sso_account_id = 123456789011
sso_role_name = readOnly and then run the shell with: qldb --profile sso-login |
Describe the bug
I'm just trying to start the qldb shell with an existing ledger that I can see from the aws console does exist on my account.
I receive the following error messages when running
$ qldb
.To Reproduce
Steps to reproduce the behavior:
aws sso login
qldb
to start the qldb shellExpected behavior
I expect the qldb shell to start
Screenshots
N/A
Desktop (please complete the following information):
Additional context
I'm able to view the ledge when running
aws qldb list-ledgers
The text was updated successfully, but these errors were encountered: