peak / s5cmd

Parallel S3 and local filesystem execution tool.
MIT License
2.72k stars 242 forks source link

Feature Request: Access Key/ Secret should not be mandatory for connection. #575

Open gargnipungarg opened 1 year ago

gargnipungarg commented 1 year ago

Although we can configure external endpoint via env variable (S3_ENDPOINT_URL), there should be a way to override authentication based on session token alone(principal based auth). Currently AWS_SESSION_TOKEN, still needs ACCESS and SECRET env vars. If there is a provision to override Authorization header by populating an env var CUSTOM_AUTH_TOKEN, all client requests can go to endpoint with that header. S5 is a great tool that can be expanded to cater to more auth mechanisms.