Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Allow custom session lifetime #41

Merged
merged 1 commit into from Mar 9, 2018
Merged

Allow custom session lifetime #41

merged 1 commit into from Mar 9, 2018

Commits on Mar 9, 2018

  1. Allow custom session duration

    Previous hardcoded session lifetime of 15m caused issues with libraries
    like botocore, which have a hard set limit of refreshing token a set time
    before expiry. In botocore the default happens to be 15 minutes, which
    means that the session token is never cached within botocore.
    
    This causes excess load on kiam and quite often leads to missing access
    keys on the service using the tokens.
    
    This commit adds a flag to define the lifetime of the token that is
    requested from AWS API.
    Sami Haahtinen committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    807ffbf View commit details
    Browse the repository at this point in the history