Migrated from keystone cli to pure curl API calls