Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

0.11.0 Add `aws_session_token` argument, to enable use of temp AWS credentials

Choose a tag to compare

@aknysh aknysh released this 03 Dec 02:38

what

  • Add aws_session_token argument, 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.