google: Changes required to get AWS working in manual testing

This commit is contained in:
Ryan Kohler
2021-02-09 09:33:49 -08:00
parent 010130855d
commit 1aae076a90
6 changed files with 13 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ import (
"io"
"io/ioutil"
"net/http"
"net/url"
"os"
"path"
"sort"
@@ -334,7 +335,7 @@ func (cs awsCredentialSource) subjectToken() (string, error) {
if err != nil {
return "", err
}
return string(result), nil
return url.QueryEscape(string(result)), nil
}
func (cs *awsCredentialSource) getRegion() (string, error) {