Skip to content

Instantly share code, notes, and snippets.

@dmendiza
Created March 21, 2014 20:49
Show Gist options
  • Save dmendiza/9696107 to your computer and use it in GitHub Desktop.
Save dmendiza/9696107 to your computer and use it in GitHub Desktop.
from keystoneclient.v3 import client as keystone_client
from barbicanclient import client
keystone = keystone_client.Client(user_domain_name=DOMAIN_NAME,
username=USER,
password=PASS,
project_domain_name=PROJECT_DOMAIN_NAME,
project_name=PROJECT_NAME,
auth_url=KEYSTONE_URL)
barbican = client.Client(auth_client=keystone)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment