Source the
admincredentials to gain access to admin-only CLI commands:To create the service credentials, complete these steps:
Create the
ec2apiuser:$ openstack user create --domain default --password-prompt ec2apiAdd the
adminrole to theec2apiuser:$ openstack role add --project service --user ec2api adminCreate the ec2api service entities:
$ openstack service create --name ec2-api --description "ec2api" ec2api