Dev vs Prod S3 Authentication Strategy (Static Keys vs IAM/IRSA) #1877
Unanswered
capitansec
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m using RustFS as an S3-compatible service in my dev (on-prem k3s) environment.
In production, I’m using AWS S3 on AWS.
In dev, I can authenticate using access_key / secret_key without issues. However, in production I plan to use IAM-based access (e.g. IRSA on EKS), where the pod assumes a role and writes to S3 without static credentials.My question is mainly about application design and environment consistency:
This means the runtime credential model differs between environments. From an application development perspective:
What is the recommended pattern for handling this cleanly?
Should the application:
I’d appreciate any guidance or best practices on how to keep the environments conceptually aligned while using different authentication mechanisms underneath.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions