Field Note

Configuring the OpenStack Python client with a YAML file

openstack cli yaml configuration
Posted on Monday, June the 17th 2024
1 min read

To do this create a clouds.yaml file.

clouds:
  the-cloud:
    auth:
      auth_url: http://192.168.122.10:5000/
      project_name: demo
      username: demo
      password: 0penstack
    region_name: RegionOne

Then specify the configured cloud using the --os-cloud parameter

openstack --os-cloud the-cloud server list 
friedrichkurz.me

© 2025 Friedrich Kurz

Privacy Policy