Creating the service credentials

Creating the service credentials

The service credentials are created automatically by the To create them manually, complete these steps:

  1. Source the admin credentials to gain access to admin-only CLI commands:

    $ . admin-openrc
  2. To create the service credentials, complete these steps:

    • Create the ec2api user:

      $ openstack user create --domain default --password-prompt ec2api
    • Add the admin role to the ec2api user:

      $ openstack role add --project service --user ec2api admin
    • Create the ec2api service entities:

      $ openstack service create --name ec2-api --description "ec2api" ec2api
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.