iesahin / xvc

A robust (🐢) and fast (🐇) MLOps tool for managing data and pipelines in Rust (🦀)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add profile support to s3 credentials

iesahin opened this issue · comments

When all credentials in s3::credentials::Credentials::new is left out, it means default profile. I think we can check this at the CLI level.

  • If no AWS_... environment keys are present, and no profile is set in the options, we use default profile.
  • If no AWS_... environment keys are present but profile is set in options, we use that profile.
  • If AWS_... environment keys are present but profile is set, we use profile.
  • If no profile is set, and AWS_... keys are present, we use that.

This should be similar to aws cli behavior.