summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aws/request.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/aws/request.scm b/aws/request.scm
index 6acb6fc..21cc51b 100644
--- a/aws/request.scm
+++ b/aws/request.scm
@@ -62,7 +62,7 @@
(define %get-aws-access-key
(lambda ()
- (or (%aws-secret-access-key)
+ (or (%aws-access-key)
(getenv "AWS_ACCESS_KEY_ID")
(error "No access key available. Set the AWS_ACCESS_KEY_ID environment variable."))))