From e7734281c30ce71b70f882258d5289230cb3813f Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 21 Jan 2022 06:41:10 -0800 Subject: [PATCH] add comment about AWS_SECURITY_TOKEN --- src/aws_credentials.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aws_credentials.zig b/src/aws_credentials.zig index c24b0bf..01cf8ac 100644 --- a/src/aws_credentials.zig +++ b/src/aws_credentials.zig @@ -24,7 +24,7 @@ fn getEnvironmentCredentials(allocator: std.mem.Allocator) !?auth.Credentials { (try getEnvironmentVariable(allocator, "AWS_ACCESS_KEY_ID")) orelse return null, mutable_key, (try getEnvironmentVariable(allocator, "AWS_SESSION_TOKEN")) orelse - try getEnvironmentVariable(allocator, "AWS_SECURITY_TOKEN"), + try getEnvironmentVariable(allocator, "AWS_SECURITY_TOKEN"), // Security token is backward compat only ); }