You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use session credentials from the result of an sts:AssumeRole call (via the configure-aws-credentials action). These credentials take three parts rather than the two of static credentials: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN. bazel-remote does not seem to consume the AWS_SESSION_TOKEN environment variable, so it tries to interpret these credentials as static credentials:
WARNING: Remote Cache: io.grpc.StatusRuntimeException: UNKNOWN: The AWS Access Key Id you provided does not exist in our records.
Ideally, this common form of expressing AWS credentials would be supported by bazel-remote.
We use session credentials from the result of an
sts:AssumeRole
call (via theconfigure-aws-credentials
action). These credentials take three parts rather than the two of static credentials:AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
, andAWS_SESSION_TOKEN
.bazel-remote
does not seem to consume theAWS_SESSION_TOKEN
environment variable, so it tries to interpret these credentials as static credentials:Ideally, this common form of expressing AWS credentials would be supported by
bazel-remote
.References:
AWS_SESSION_TOKEN
- just with the profile optionThere's probably a workaround for this by using a configuration file and a profile flag, but
The text was updated successfully, but these errors were encountered: