Skip to content

Commit

Permalink
auth change
Browse files Browse the repository at this point in the history
  • Loading branch information
abiswal2001 committed Oct 20, 2023
1 parent a5e52fa commit e557fad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skyplane/compute/aws/aws_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ def __init__(self, config: Optional[SkyplaneConfig] = None, access_key: Optional
self.config_mode = "manual"
self._access_key = access_key
self._secret_key = secret_key
elif self.config.aws_access_key and self.config.aws_secret_key:
self.config_mode = "manual"
self._access_key = access_key
self._secret_key = secret_key
else:
self.config_mode = "iam_inferred"
self._access_key = None
Expand Down

0 comments on commit e557fad

Please sign in to comment.