when using openstack.AuthOptionsFromEnv(), the following error was thrown
> go run main.go
panic: You must provide exactly one of DomainID or DomainName to authenticate by Username
I needed to declare OS_DOMAIN_NAME to make it work
> export OS_DOMAIN_NAME=xxxxx; go run main.go
expected output ...
But when I exported the openrc, the OS_USER_DOMAIN_NAME was declared, so I expected this to work properly
when using
openstack.AuthOptionsFromEnv(), the following error was thrown> go run main.go panic: You must provide exactly one of DomainID or DomainName to authenticate by UsernameI needed to declare
OS_DOMAIN_NAMEto make it workBut when I exported the
openrc, theOS_USER_DOMAIN_NAMEwas declared, so I expected this to work properly