Last active
January 19, 2016 14:38
-
-
Save larsks/839fde2c08c8c81ccf2b 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
>>> import os | |
>>> from novaclient import client | |
>>> c = client.Client(2, os.environ['OS_USERNAME'], os.environ['OS_PASSWORD'], os.environ['OS_TENANT_NAME'], auth_url=os.environ['OS_AUTH_URL']) | |
>>> c.keypairs.list() | |
[<Keypair: lars>, <Keypair: lars-jenkins>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment