awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
200 stars 132 forks source link

Adding credentials file reader support for session token. #45

Open rendicott opened 7 years ago

rendicott commented 7 years ago

It's already supported in awscredentials.py but it just wasn't being parsed from the credentialsreader.

yimuniao commented 6 years ago

Will the token expire?

rendicott commented 6 years ago

Tokens will always expire. This is to support the use case where you have another process generating the credentials file entry and want the plugin to consume those credentials. This was required for us because we were using an instance profile that was doing a cross account assume role.