Skip to content

How To Generate EC2 Credentials

You will need to [install the OpenStack CLI Client](https://support.moonqube.com/article/48-how-do-i-setup-the-openstack- cli?preview=649c519343344f0c0976e329) to follow this guide.

To generate an S3 token, you need 2 parameters (access and secret). These credentials are stored securely in Keystone and can be managed with the OpenStack CLI Client.

Creating Credentials

To create credentials you can use openstack ec2 credentials create This command defaults to the currently authorized user and project as determined by the openrc file. Admin users can specify and optional —user and/or —project as required.

Listing Credentials

You can use openstack ec2 credentials list to list all the credentials created in the current project.

Deleting Credentials

You can delete the credentials by calling the access ID. Success returns no output. openstack ec2 credentials delete 18b744a314fa4165960e55af2e0539b