This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Repository navigation
0.11.0 Add `aws_session_token` argument, to enable use of temp AWS credentials
what
- Add
aws_session_tokenargument, to enable use of temp AWS credentials
why
-
This PR addresses a minor issue whereby temporary AWS credentials cannot be used to authenticate the AWS CloudWatch client. Temporary credentials require the use of an AWS_SESSION_TOKEN. This is currently set to "" in the NewStaticCredentials invocation.
-
This is mainly for manual testing purposes, as it is likely that most deployments of this app would be within an EC2 instance or Kubernetes cluster etc., where CW permission can be resolved by the chain of credential providers.