Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Configure AWS SDK Automatically #762

Open
mustafaakin opened this issue Oct 11, 2023 · 0 comments
Open

Configure AWS SDK Automatically #762

mustafaakin opened this issue Oct 11, 2023 · 0 comments

Comments

@mustafaakin
Copy link

Looking at bottomless project readme and source code, it looks like it always expects AWS Access Key and Secret Key from ENV variables.

secret_access_key,

However, in AWS computing, the SDKs should be able to auto-configure it from the multiple credential providers, so it works seamlessly in EC2, Fargate or EKS with IAM Roles. Instead of specifying the prefixing related env variables with bottomless IAM access keys through env variables, I think we should rely on Rust SDK so the proper chain can be used automatically. Currently it fails with:

$ sqld --enable-bottomless-replication
..
    LIBSQL_BOTTOMLESS_AWS_DEFAULT_REGION was not set
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant