Fork me on GitHub
#datomic
<
2020-06-13
>
Jon Walch01:06:44

Are there perms listed anywhere for just the client application? I tried:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3::REDACTED/*"
            ]
        }
    ]
}

Jon Walch01:06:08

And I'm getting:

{:what :uncaught-exception, :exception #error {
 :cause Forbidden to read keyfile at . Make sure that your endpoint is correct, and that your ambient AWS credentials allow you to GetObject on the keyfile.
 :data {:cognitect.anomalies/category :cognitect.anomalies/forbidden, :cognitect.anomalies/message Forbidden to read keyfile at . Make sure that your endpoint is correct, and that your ambient AWS credentials allow you to GetObject on the keyfile.}

Jon Walch01:06:20

If I try to pull the same creds from a pod running in my EKS cluster using the awscli, it works.

Jon Walch01:06:46

Looks like Update to version 1.11.479 of the AWS SDK for Java. which is below the min version to support

Alex Miller (Clojure team)02:06:27

The aws api is not using an sdk at all, it talks through the rest api