datomic

2025-07-15T11:30:46.562899Z

Morning! Does the Datomic team have plans to update to AWS SDK v2, given that v1 hits https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/?

➕ 1
2025-07-15T11:33:01.546109Z

Looking at the peer deps, it looks like the memcache client uses it:

. com.datomic/memcache-asg-java-client 1.1.0.36
    . com.amazonaws/aws-java-sdk-ec2 1.11.22
      . com.amazonaws/aws-java-sdk-core 1.11.22

2025-07-15T11:34:46.181669Z

And I see these in the transactor distro:

aws-java-sdk-cloudwatch-1.12.564.jar
aws-java-sdk-cloudwatchmetrics-1.12.564.jar
aws-java-sdk-core-1.12.564.jar
aws-java-sdk-dynamodb-1.12.564.jar
aws-java-sdk-ec2-1.11.22.jar
aws-java-sdk-iam-1.12.564.jar
aws-java-sdk-kms-1.12.564.jar
aws-java-sdk-s3-1.12.564.jar
aws-java-sdk-sns-1.12.564.jar
aws-java-sdk-sqs-1.12.564.jar
aws-java-sdk-ssm-1.12.564.jar

Joe Lane 2025-07-15T11:42:17.684169Z

We have an engineer dedicated to upgrading this and they are actively working on it

🎉 7
2025-07-15T11:42:31.107799Z

Awesome, thanks Joe!

cch1 2025-07-15T17:08:09.265729Z

So looking forward to SSO support!

🙏 2
rutledgepaulv 2025-07-15T22:06:56.552949Z

It's possible this is already happening but I'll mention it since there's some work underway here. Could you consider supporting user-supplied credential providers instead of basing everything on the URI / environment properties? I asked about this a while ago: https://clojurians.slack.com/archives/C03RZMDSH/p1723472901947619

👍 2
cch1 2025-07-16T13:15:51.414229Z

The current provider (despite its deficiencies) is based on the Java SDK v1 interfaces. I've written a custom credentials provider that wires in SSO support (using the credentials left laying around by the AWS SSO CLI) and it works. My point is that it is already possible to create user-controlled credentials. The Datomic Cloud client has an option just for this. It just dawned on me that maybe you were referring to the on-prem version and maybe it doesn't have that hook....

rutledgepaulv 2025-07-16T13:32:05.590609Z

Yeah, I'm using Datomic Pro peer library and there is no public API for a user-supplied credential provider. We monkey patched support for it but would prefer to not have to do that 🙂

👍 2