Added notice to add username and user_domain_name to the configuration files.
2 unresolved threads
Compare changes
+ 2
− 0
@@ -30,6 +30,8 @@ it is a form of token-based authentication providing easy and secure access with
Remember to specify **username** and **user_domain_name** in **clouds.yaml** or **OS_USERNAME** and **OS_USER_DOMAIN_NAME** in **openrc** file. The values can be found in **Project > API Acess**, click on **View Credentials**. Both values can be found in the **User Name** field (_<username>_@_<user_domain_name>_).
None of these items is necessary for Application Credentials RC file (is it even working with it?). Application Credentials are scoped to domain and project by design. And you don't use OS_USERNAME with Application Credentials, but OS_APPLICATION_CREDENTIAL_ID.
I could not authenticate through CLI without specifying these. The error was "Error authenticating with application credential: Application credentials cannot request a scope. (HTTP 401)".