- Find out the current project on which user is working.
- Get a list of projects accesible for the current user or other users.
- Platform9 Managed OpenStack All Versions
- OpenStack CLI
To find out the current project the environment variable can be used:
$ env | grep -i project_name
Note: Ensure the correct rc file is sourced.
Get a list of projects for the currently authenticated user:
$ openstack project list --my-projects
To get a list of projects for other user:
$ openstack project list --user <User_UUID>