Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update OpenStack auth documentation to reflect v3 option
  • Loading branch information
bradjones1 committed Sep 20, 2016
commit b574734c6d6e8c29b7cdfa86b58f9523e9dc21e9
12 changes: 12 additions & 0 deletions docs/providers/openstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ For all of the Openstack services, you create a client with the same options:

**Note:** *Due to variances between OpenStack deployments, you may or may not need a `region` option.*

Keystone v2 (default) and v3 authentication endpoints are supported. To use a v3 endpoint with optional
parameters that may be required for your provider, additional object properties may be set
(see [source](https://github.com/pkgcloud/pkgcloud/blob/bigfile-test/lib/pkgcloud/openstack/context/identity.js) for all):

```javascript
var openstack = pkgcloud.storage.createClient({
// ... Options as above ...
keystoneAuthVersion: 'v3',
tenantId: "tenant-id",
domainId: "domain-id", // could also set domainName
});
```

### Authentication Endpoints and Regions

Expand Down