Skip to content

Instantly share code, notes, and snippets.

@raj-patel
Created October 3, 2016 15:28
Show Gist options
  • Save raj-patel/75d98cabe11b6a027a5c10e22761d463 to your computer and use it in GitHub Desktop.
Save raj-patel/75d98cabe11b6a027a5c10e22761d463 to your computer and use it in GitHub Desktop.
def test_connection():
conn = create_connection('https://identity.api.rackspacecloud.com/v2.0','IAD','596839', 'rajpatel','xxxx')
for secret in conn.key_manager.secrets():
print(secret.secret_id)
print("Key" , conn.key_manager.get_secret(secret.secret_id).payload)
if __name__ == "__main__": test_connection()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment