From b574734c6d6e8c29b7cdfa86b58f9523e9dc21e9 Mon Sep 17 00:00:00 2001 From: Brad Jones Date: Mon, 19 Sep 2016 23:24:49 -0600 Subject: [PATCH] Update OpenStack auth documentation to reflect v3 option --- docs/providers/openstack/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/providers/openstack/README.md b/docs/providers/openstack/README.md index 13d5629a3..611057c47 100644 --- a/docs/providers/openstack/README.md +++ b/docs/providers/openstack/README.md @@ -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