From fd9b51636c1269e5143316539d63891e89a06ebd Mon Sep 17 00:00:00 2001 From: dciangot Date: Fri, 24 Jun 2022 16:22:22 +0200 Subject: [PATCH] Update iam.go --- backend/s3/iam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/s3/iam.go b/backend/s3/iam.go index 736b8fe..869cc85 100644 --- a/backend/s3/iam.go +++ b/backend/s3/iam.go @@ -58,7 +58,7 @@ func (t *IAMProvider) Retrieve() (credentials.Value, error) { token, err = liboidcagent.GetAccessToken(liboidcagent.TokenRequest{ ShortName: t.accountname, MinValidPeriod: 900, - Audiences: ["minio-af-it"], + Audiences: []string{"minio-af-it"}, }) if err != nil { return credentials.Value{}, err