CLI Client: Identity

Openstack CLI client is required to manage ec2 credentials whereas Horizon web console is best suited for managing application credentials.

Projects

List all projects

openstack project list

This command list all the projects of which you are a member.

  • --long: lists additional details of each project, including domain name and UUID.

Application Credentials

The CLI client uses application credential for authentication. Use the Horizon web console for creating and deleting application credentials. The CLI client, however, can list application credentials created by you.

List Application Credentials

openstack application credential list

This command lists all application credentials created by you. If you belong to multiple projects, your application credentials in all projects will be listed. The output will identify the project to which each application credential belong.

EC2 Credentials

EC2 credentials are needed for accessing object storage using the S3 protocol. EC2 credentials are managed by the CLI client and not the Horizon web console.

If you have not used the CLI client, please visit the CLI section of the Red Cloud Overview page on how to install and configure Openstack CLI client.

An ec2 credential consists of 2 parts:

  • Access Key
  • Private Key

List EC2 Credentials

openstack ec2 credential list

This command lists all ec2 credentials created by you. If you are in multiple projects, your ec2 credentials in all projects will be listed. The output will identify the project to which each ec2 credential belongs.

Create EC2 Credential

openstack ec2 credential create

Use this command to create an EC2 credential (access and secret key pair) in the project of the application credential you are currently using.

Delete EC2 Credential

openstack ec2 credential delete <access key>

This command deletes the ec2 credential identified by the access key.