Team, here's our setup - Self-hosted Data Plane on...
# support
b
Team, here's our setup • Self-hosted Data Plane on AWS • Python source for testing • S3 as a Destination However: • When we have "Role Based Authentication" disabled and are authenticating via "Access Key/Secret Key", the events land as expected in the destination • When we have "Role Based Authentication" enabled, the events don't land as expected in the destination. We receive the following error:
Copy code
{
  "Error": "NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors"
}
What could be the issue at hand?
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Shubankar, let me check on this and get back to you.
🙏 1
Hi Shubhankar, can you provide the Role-object that you are creating. I feel that the object has incomplete permissions (This may be due to our docs being incorrect). So if you share the permissions object, I can check with the team if it is missing something and also correct the docs if required. The object will be similar to this (see image)
b
This is the AWS role's "Trusted Relationships"
Copy code
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::422074288268:root"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "XXXXX"
        }
      }
    }
  ]
}
Wanted to check whether the Rudderstack AWS Account ID will be used in the Principal even if it's a self-hosted data plane?
m
Oh ok
I have posted to the team and will get back to you.
Hi Shubhankar the team informed me that for a self-hosted customer you can only connect using the Access Key and Access Secret and not through Role based authentication.
b
Understood. However, I'd read that "using the Access Key and Access Secret" will soon be deprecated. Would this cause any impact to our implementation here in the future? @shy-kite-21035
m
The impact would be on any new pipelines that you are looking to create, and not so much on existing pipelines.
b
Alright thank you!