Managing Projects and Organizations¶
Overview¶
Organizations and projects help structure users and resources in RosettaHub. In this tutorial you will list organizations and projects, create a new project, manage users, and use masquerade to act on behalf of managed users.
Prerequisites¶
- [ ] Completed Getting Started with the CLI
- [ ] Logged in via
rh login -u <username>
Steps¶
Step 1: List Your Organizations¶
This shows all organizations you belong to, with their UIDs, labels, and structure.
View the organization tree:
Step 2: List Projects¶
List all projects you have access to:
Step 3: Create a New Project¶
Preview without creating:
Step 4: Connect to a Project¶
Connect to an existing project to manage its resources:
Open a project in the browser:
Step 5: List and Manage Users¶
See users you manage:
Masquerade as a managed user (requires Superuser rights on that user):
Tip
Masquerading lets you perform actions on behalf of another user you manage. This is useful for administrators setting up resources for their team.
Step 6: Use Different Output Formats¶
Export listings for reporting or scripting:
rh user ls -O json # JSON output
rh project ls -O csv # CSV for spreadsheets
rh org ls -O yaml # YAML format
Or set the default format globally:
Next Steps¶
- Creating and Launching Formations — spin up cloud machines
- Cloud Account and IAM Management — manage cloud accounts and scopes
Troubleshooting¶
Cannot create a project
Project creation requires manager or admin privileges in your organization.
Cannot masquerade as a user
Masquerading requires Superuser rights on the target user. Contact your organization admin.
Project list is empty
Ensure you are connected with the right user. Check with rh whoami and rh get-default.