← Back to team overview

openstack team mailing list archive

Re: API Credentials

 

Alternatively, you can follow the method used in devstack[1] to retrieve valid credentials by using python-keystoneclient:

keystone --os-username=xxx --os-tenant-name=xxx --os-auth-url=http://$KEYSTONE_HOST:5000/v2.0 ec2-credentials-create

[1] https://github.com/openstack-dev/devstack/blob/master/eucarc

Vish

On Oct 22, 2012, at 10:12 PM, Sam Stoelinga <sammiestoel@xxxxxxxxx> wrote:

> No, I think what Vish is saying that it's possible to get the Openstack access key and secret by doing the following:
> (Based on Folsom, but think it's the same in Essex)
> 1. Login with your account in Openstack dashboard (Horizon)
> 2. Go to <Settings> page
> 3. Click on EC2 Credentials
> 4. Click on Download EC2 credentials
> The access key and secret seems to be in the file ec2rc.sh.
> Description:
> 
> Clicking "Download EC2 Credentials" will download a zip file which includes an rc file with your access/secret keys, as well as your x509 private key and certificate.
> 
> That's what you want right? Hope it helped.
> 
> Sam
> On Tue, Oct 23, 2012 at 12:50 PM, Tummala Pradeep <pradeep.tummala@xxxxxxxxxxxx> wrote:
> Actually, I am trying to integrate PaaS with OpenStack. So, I require access key and secret access key for that. So, I don't think ec2 credentials will work. Are you saying it is not possible to set up OpenStack's access key and secret access key ?
> 
> Pradeep
> 
> 
> On 10/22/2012 10:26 PM, Vishvananda Ishaya wrote:
> access and secret keys are ec2 credentials and they can be retrieved using download ec2 credentials from the settings page in horizon.
> 
> Vish
> 
> On Oct 22, 2012, at 4:56 AM, Tummala Pradeep <pradeep.tummala@xxxxxxxxxxxx> wrote:
> 
> I deployed OpenStack Essex on my server using the documentation provided. Now, I need help with getting API credentials similar to what HP OpenStack has.
> 
> For eg - Users having an account in HP Openstack can retrieve access key and secret access key from the api keys section.In my deployment, I can download Openstack credentials from the settings tab in .pem format but it does not contain access key and secret access key. Therefore I want to setup api keys so that users can view their credentials similar to HP Openstack.
> 
> Someone please guide me to get started on this.
> 
> Thanks
> Pradeep
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References