Skip to content

Commit

Permalink
Use the public keystone interface
Browse files Browse the repository at this point in the history
This should not have any consequences on the functionality but avoids
having to deal with endpoints that are usually not accessible from the
outside world (the admin one). The use of keystone is mostly to get
 the user list so no real admin operations are done.
  • Loading branch information
enolfc authored and alvarolopez committed Jul 18, 2019
1 parent 540b4e7 commit a6cd2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caso/keystone_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ def get_session(conf, project):
def get_client(conf, project):
"""Return a client for Keystone."""
sess = get_session(conf, project)
return ks_client_v3.Client(session=sess)
return ks_client_v3.Client(session=sess, interface='public')

0 comments on commit a6cd2d9

Please sign in to comment.