Skip to content
Snippets Groups Projects

Added notice to add username and user_domain_name to the configuration files.

Closed Lukáš Daubner requested to merge LukasD/documentation:LukasD-master-patch-69688 into master
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
30 30 [configure](https://docs.openstack.org/python-openstackclient/rocky/configuration/index.html)
31 31 OpenStack CLI client.
32 32
33 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.

    Edited by Tomáš Sapák
  • 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)".

  • Please register or sign in to reply
  • Np. Thanks for the info.

  • Please register or sign in to reply
    Loading