export OS_AUTH_URL=https://keystone.public.os.wwu.de/v3
export OS_IDENTITY_API_VERSION=3
export OS_INTERFACE=public
export OS_AUTH_TYPE=v3samlpassword
export OS_IDENTITY_PROVIDER=dfnaai
export OS_PROTOCOL=saml2
export OS_IDENTITY_PROVIDER_URL=https://zividp.uni-muenster.de/idp/profile/SAML2/SOAP/ECP
echo -n "Username: "
read OS_USERNAME
export OS_USERNAME=${OS_USERNAME}
echo -n "Password: "
read -s OS_PASSWORD
export OS_PASSWORD=${OS_PASSWORD}
echo
echo -n "Project: "
read OS_PROJECT_NAME
export OS_PROJECT_NAME=${OS_PROJECT_NAME}
export OS_PROJECT_DOMAIN_NAME=Default

export OS_TOKEN=$(openstack token issue -c id -f value)
export OS_AUTH_TYPE=v3token

unset OS_IDENTITY_PROVIDER
unset OS_PROTOCOL
unset OS_IDENTITY_PROVIDER_URL
unset OS_USERNAME
unset OS_PASSWORD
