Skip to content

Commit

Permalink
auth config bug
Browse files Browse the repository at this point in the history
  • Loading branch information
abiswal2001 committed Oct 20, 2023
1 parent e557fad commit bbeccfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyplane/compute/aws/aws_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def __init__(self, config: Optional[SkyplaneConfig] = None, access_key: Optional
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
self._access_key = self.config.aws_access_key
self._secret_key = self.config.aws_secret_key
else:
self.config_mode = "iam_inferred"
self._access_key = None
Expand Down

0 comments on commit bbeccfe

Please sign in to comment.