Configures and displays the expiration settings for authentication tokens.
This example sets the CLI token to expire after 2 hours.
$ efa auth settings token update --type CLI --hours 2 Successfully updated the token expiry time. +------+-------+---------+ | Type | Hours | Minutes | +------+-------+---------+ | CLI | 2 | 0 | +------+-------+---------+ --- Time Elapsed: 193.455466ms ---
This example displays the current expiration settings.
$ efa auth settings token show +---------+-------+---------+ | Type | Hours | Minutes | +---------+-------+---------+ | ACCESS | 1 | 0 | +---------+-------+---------+ | REFRESH | 8 | 0 | +---------+-------+---------+ | CLI | 2 | 0 | +---------+-------+---------+