Created
April 20, 2015 23:10
-
-
Save anonymous/4f8a83713880645426bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elif cfg.CONF.keystone_authtoken.auth_version == '3': | |
client = v3_client | |
try: | |
kc = client.Password( | |
auth_url=cfg.CONF.keystone_authtoken.auth_uri, | |
username=cfg.CONF.keystone_authtoken.admin_user, | |
password=cfg.CONF.keystone_authtoken.admin_password, | |
project_name=cfg.CONF.keystone_authtoken.admin_tenant_name, | |
user_domain_name='default', | |
project_domain_name='default' | |
) | |
_SESSION = session.Session(auth=kc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment