Skip to content

Instantly share code, notes, and snippets.

@chmouel
Created September 16, 2013 13:38
Show Gist options
  • Select an option

  • Save chmouel/6580799 to your computer and use it in GitHub Desktop.

Select an option

Save chmouel/6580799 to your computer and use it in GitHub Desktop.
Connecting to eNocloud with php-opencloud
$endpoint = "http://os.enocloud.com:5000/v2.0";
$credentials = array(
'username' => 'chmouel',
'tenantName' => 'chmouel',
'password' => 'password',
);
$connection = new \OpenCloud\OpenStack($endpoint, $credentials);
$conn = $connection->ObjectStore($name = 'swift', $region = 'RegionOne');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment