Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When getting credentials from env, os_user_domain_name might be missed #35

Open
Jamstah opened this issue Nov 28, 2016 · 0 comments
Open

Comments

@Jamstah
Copy link

Jamstah commented Nov 28, 2016

The OS docs say that depending on the auth type, a different domain name might be needed, either OS_USER_DOMAIN_NAME, OS_PROJECT_DOMAIN_NAME, or OS_DOMAIN_NAME work as env variables.

http://docs.openstack.org/developer/python-openstackclient/authentication.html

My openstack install provides me with OS_USER_DOMAIN_NAME in its generated rc, so the credential finding here fails.

I think we should at a minimum add all options to CredEnvDomainName in identity.go:
OS_DOMAIN_NAME
OS_USER_DOMAIN_NAME
OS_PROJECT_DOMAIN_NAME
OS_DEFAULT_DOMAIN

Really, we should be picking the right one based on the credential type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant