Add an ability to cache auth token

Registered by Andrii Ostapenko

Add an ability to save and use Openstack Auth token in the operating system's keyring if avaliable like it was done in python-keystonclient, python-novaclient

Blueprint information

Status:
Complete
Approver:
Ben Swartzlander
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Julia Varlamova
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Julia Varlamova
Completed by
Julia Varlamova

Sprints

Whiteboard

With flag --os-cache or if env OS_CACHE=True, at first time when command will be called, auth token will be saved in keyring. So next calls will use saved auth token, and will not obtain it from keystone again as long as it does not expire. So it cuts about a 1/2 second off operations.

Addressed by: https://review.openstack.org/99045
    Add an ability to cache auth token

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.