Closed kesor closed 6 years ago
The session_token in snsHTTP is not being read from locate_credentials or environment like it should, and default arg value is NULL which is causing temporary credentials to not work.
session_token
snsHTTP
locate_credentials
NULL
More details at https://github.com/cloudyr/aws.signature/issues/19#issuecomment-335428004
It does work in s3HTTP, since it is using session_token = Sys.getenv("AWS_SESSION_TOKEN") in the argument list.
s3HTTP
session_token = Sys.getenv("AWS_SESSION_TOKEN")
The
session_token
insnsHTTP
is not being read fromlocate_credentials
or environment like it should, and default arg value isNULL
which is causing temporary credentials to not work.More details at https://github.com/cloudyr/aws.signature/issues/19#issuecomment-335428004
It does work in
s3HTTP
, since it is usingsession_token = Sys.getenv("AWS_SESSION_TOKEN")
in the argument list.