question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clarify AWS credentials requirements for local DB

See original GitHub issue

It seems that the setupdb plugin needs the [default] profile in ~/.aws/credentials to have the same aws_access_key_id and aws_secret_access_key as the profile in admin.dev.

I tried setting AWS_DEFAULT_PROFILE to the profile in admin.dev, but didn’t work.

Is this a bug?

Here the error I get:

mutation createUserTest { createUser ....

"errors": [
    {
      "message": "Missing credentials in config",
      "originalError": {
        "cause": {
          "message": "Missing credentials in config",
          "code": "CredentialsError",
          "time": "2016-05-04T14:37:16.127Z",
          "originalError": {
            "message": "Could not load credentials from any providers",
            "code": "CredentialsError",
            "time": "2016-05-04T14:37:16.127Z",
            "originalError": {
              "message": "Connection timed out after 1000ms",
              "code": "TimeoutError",
              "time": "2016-05-04T14:37:16.127Z"
            }
          }
        },
        "isOperational": true,
        "code": "CredentialsError",
        "time": "2016-05-04T14:37:16.127Z",
        "originalError": {
          "message": "Could not load credentials from any providers",
          "code": "CredentialsError",
          "time": "2016-05-04T14:37:16.127Z",
          "originalError": {
            "message": "Connection timed out after 1000ms",
            "code": "TimeoutError",
            "time": "2016-05-04T14:37:16.127Z"
          }
        }
      }
    }
  ]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:28 (11 by maintainers)

github_iconTop GitHub Comments

9reactions
TomBartacommented, May 17, 2016

I had this problem today, too.

export AWS_ACCESS_KEY_ID=id_key export AWS_SECRET_ACCESS_KEY=access_key

solved it on my OSX and Ubuntu 16.04 machines.

1reaction
laardeecommented, May 17, 2016

@ismarslomic yes, I had the aws cli installed beforehand and I probably used similar instructions when I configured the credentials. I have exactly same versions of python, serverless and os x installed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bias Detection and Model Explainability - AWS
Detect bias in your data or machine learning (ML) model and explain ML models and predictions using Amazon SageMaker Clarify.
Read more >
A New and Standardized Way to Manage Credentials ... - AWS
All you have to do is provide AWS credentials (access key id and secret access ... NET SDK is an exception here, as...
Read more >
Security best practices in IAM - AWS Identity and Access ...
Follow these best practices for using AWS Identity and Access Management (IAM) to help secure your AWS account and resources.
Read more >
Set up AWS Credentials and Region for Development
This topic provides basic information about setting up your AWS credentials for local application development using the AWS SDK for Java.
Read more >
IAM roles for tasks - Amazon Elastic Container Service
Your Amazon ECS tasks can have an IAM role associated with them. The permissions granted in the IAM role are assumed by the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found