ec2-api/doc/source/install/credentials-creation.rst

849 B

Creating the service credentials

The service credentials are created automatically by the install.sh. 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