Commit 3eae5895 authored by Sebastien LAWNICZAK's avatar Sebastien LAWNICZAK

Passing DomainID/DomainName to AuthOptions

To be able to use Domains with IdentityV3, domain-id/domain-name in provider config should be passed to gophercloud.AuthOptions
parent 727412c5
......@@ -134,6 +134,8 @@ func (cfg Config) toAuthOptions() gophercloud.AuthOptions {
APIKey: cfg.Global.ApiKey,
TenantID: cfg.Global.TenantId,
TenantName: cfg.Global.TenantName,
DomainID: cfg.Global.DomainId,
DomainName: cfg.Global.DomainName,
// Persistent service, so we need to be able to renew tokens.
AllowReauth: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment