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
This commit is contained in:
@@ -134,6 +134,8 @@ func (cfg Config) toAuthOptions() gophercloud.AuthOptions {
|
|||||||
APIKey: cfg.Global.ApiKey,
|
APIKey: cfg.Global.ApiKey,
|
||||||
TenantID: cfg.Global.TenantId,
|
TenantID: cfg.Global.TenantId,
|
||||||
TenantName: cfg.Global.TenantName,
|
TenantName: cfg.Global.TenantName,
|
||||||
|
DomainID: cfg.Global.DomainId,
|
||||||
|
DomainName: cfg.Global.DomainName,
|
||||||
|
|
||||||
// Persistent service, so we need to be able to renew tokens.
|
// Persistent service, so we need to be able to renew tokens.
|
||||||
AllowReauth: true,
|
AllowReauth: true,
|
||||||
|
Reference in New Issue
Block a user