Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11745E1DD for ; Wed, 13 Feb 2013 18:21:57 +0000 (UTC) Received: (qmail 34688 invoked by uid 500); 13 Feb 2013 18:21:56 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 34650 invoked by uid 500); 13 Feb 2013 18:21:56 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 34642 invoked by uid 99); 13 Feb 2013 18:21:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 18:21:56 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.149.242] (HELO na3sys009aog117.obsmtp.com) (74.125.149.242) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 18:21:49 +0000 Received: from mail-ve0-f200.google.com ([209.85.128.200]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKURvZp7kjuppTjQ0mwXKbEoUY+wpiz2Gc@postini.com; Wed, 13 Feb 2013 10:21:28 PST Received: by mail-ve0-f200.google.com with SMTP id ox1so2122048veb.11 for ; Wed, 13 Feb 2013 10:21:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer:x-gm-message-state; bh=FbHr27zdPF+E4Q06VbXDT2Cb9gu9A9MOC7TnTGNPmeI=; b=faMtV6p+/FdITWmplzR2LaBbVCpKWHEpnFu+dv/3bNg/j7zXwqtSnLJ1P2h3QQxAlH uImoCMY0IVlGdjyzIvkDyuOcu8T+NyKcpO6EBi3XdozeFUlWCURTDSllCM0dOsb32uHp TC2UealDr8+HeNxi/dKpFc/Mg4egLqLsL8hHCWrzApYf+nRuHZMlnv4Yg7YQkMh4VI1P nm5FcoP4FM4QYY7g3MpUGlA14rBV339Jpa1TBPbwjMcySF6hy2wTHPDqPnkWWyjpy/69 2R1nKAMPWUG7JhjeFRTXMq4EAQClcP9JdIsnK8JLG6P3muENhFC3IggvMVNdk73TX6bA pfQw== X-Received: by 10.221.9.144 with SMTP id ow16mr30944024vcb.29.1360779686598; Wed, 13 Feb 2013 10:21:26 -0800 (PST) X-Received: by 10.221.9.144 with SMTP id ow16mr30944002vcb.29.1360779686359; Wed, 13 Feb 2013 10:21:26 -0800 (PST) Received: from [10.2.1.144] ([216.203.6.11]) by mx.google.com with ESMTPS id qj8sm70849924veb.2.2013.02.13.10.21.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 10:21:25 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: CloudStack API Question From: David Grizzanti In-Reply-To: Date: Wed, 13 Feb 2013 13:21:24 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <6CDB635A-DB5B-4635-8E78-586724BB9981@sungard.com> References: <20130212193753.GL72518@USLT-205755.sungardas.corp> To: X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQlrZLNFjr9fL7iKJIDnrkPXosqodQr/2u1DIVGl3j6shP4DFGKss9hryYpxwiKoPkai+0ufZoJR7ndJU6mxM0b0EIfshh4UFXOhNM53WZdodW6Xn7pcxrvzoen6jnh+KMHaoSwY+62JACaG3zicPa2XqV+95XZRxaFyyWiOzwiF731aZrzIE+GpjTyVdbCekoZ4iV61 X-Virus-Checked: Checked by ClamAV on apache.org Mike, In the UI if you go to "Accounts" in the left hand sidebar -> click the = name of an account (i.e. "admin") -> under Details click "View Users" -> = click the Username of the user in question (i.e. "admin") and the API = and Secrety Key should be listed under the Details there. Hope that helps! --=20 David Grizzanti Software Engineer - SunGard Availability Services 401 N. Broad Street, Philadelphia, PA 19108 o: 215-446-1431 - e: david.grizzanti@sungard.com On Feb 13, 2013, at 12:44 PM, Mike Tutkowski wrote: > OK, just getting around to doing this now. >=20 > It looks like the Generate Keys command worked (I didn't get an error > message), but I'm not sure where to look in the GUI to find these = keys. >=20 > Would you mind pointing that out for me? >=20 > Thanks!! >=20 >=20 > On Tue, Feb 12, 2013 at 9:07 PM, Will Stevens = wrote: >=20 >> If its a fresh install, you will access the client at: >> the.machines.ip:8080/client/ >> Login with username/password of: admin/password >> Click: Accounts -> admin -> View Users -> admin -> (in the main = window >> there are 3 buttons at the top left of the screen, mouse over the = right >> most one of the 3 and it should say 'Generate Keys', click that) >>=20 >> You can follow that same process for any user who has an account. >>=20 >>=20 >>=20 >>=20 >>=20 >> On Tue, Feb 12, 2013 at 10:26 PM, Mike Tutkowski < >> mike.tutkowski@solidfire.com> wrote: >>=20 >>> Can you point me to the location in the GUI where I can generate = keys? >>>=20 >>> Thanks! >>>=20 >>>=20 >>> On Tue, Feb 12, 2013 at 4:17 PM, Will Stevens = >>> wrote: >>>=20 >>>> They do not expire, but in the UI you can regenerate the keys, so = in >> that >>>> case they would change. >>>>=20 >>>>=20 >>>> On Tue, Feb 12, 2013 at 6:13 PM, Mike Tutkowski < >>>> mike.tutkowski@solidfire.com> wrote: >>>>=20 >>>>> to "say" (I mean) :) >>>>>=20 >>>>>=20 >>>>> On Tue, Feb 12, 2013 at 4:13 PM, Mike Tutkowski < >>>>> mike.tutkowski@solidfire.com> wrote: >>>>>=20 >>>>>> Sounds good...and these do not expire? Is that accurate to day? >>>>>>=20 >>>>>>=20 >>>>>> On Tue, Feb 12, 2013 at 4:03 PM, Will Stevens < >> wstevens@cloudops.com >>>>>> wrote: >>>>>>=20 >>>>>>> Every role uses the same procedure. They all need an api key = and >>>> secret >>>>>>> key. >>>>>>>=20 >>>>>>>=20 >>>>>>> On Tue, Feb 12, 2013 at 5:54 PM, Mike Tutkowski < >>>>>>> mike.tutkowski@solidfire.com> wrote: >>>>>>>=20 >>>>>>>> Thanks for the info. >>>>>>>>=20 >>>>>>>> So, I see we have three roles in CloudStack: Root Admin, = Domain >>>>> Admin, >>>>>>> and >>>>>>>> User. >>>>>>>>=20 >>>>>>>> When submitting API commands, does the submitter - regardless = of >>>> role >>>>> - >>>>>>>> have to provide an API Key and Secret Key (or is that = something, >>>> say, >>>>>>> the >>>>>>>> Root Admin doesn't have to do)? >>>>>>>>=20 >>>>>>>> Thanks! >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> On Tue, Feb 12, 2013 at 3:33 PM, David Nalley >>>> wrote: >>>>>>>>=20 >>>>>>>>> On Tue, Feb 12, 2013 at 5:27 PM, Mike Tutkowski >>>>>>>>> wrote: >>>>>>>>>> So, I'm looking at these comments now: >>>>>>>>>>=20 >>>>>>>>>> 2.3. Getting Started >>>>>>>>>> To get started using the CloudStack API, you should have the >>>>>>> following: >>>>>>>>>>=20 >>>>>>>>>> - URL of the CloudStack server you wish to integrate >> with. >>>>>>>>>> - Both the API Key and Secret Key for an account. This >>> should >>>>>>> have >>>>>>>>> been >>>>>>>>>> generated by the administrator of the cloud instance and >>>> given >>>>> to >>>>>>>> you. >>>>>>>>>> - Familiarity with HTTP GET/POST and query strings. >>>>>>>>>> - Knowledge of either XML or JSON. >>>>>>>>>> - Knowledge of a programming language that can generate >>> HTTP >>>>>>>> requests; >>>>>>>>>> for example, Java or PHP. >>>>>>>>>>=20 >>>>>>>>>>=20 >>>>>>>>>> I'm not sure how to generate the API Key and Secret Key for >> an >>>>>>> account. >>>>>>>>>> Can someone point me to instructions for this? >>>>>>>>>>=20 >>>>>>>>>> Thanks! >>>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>=20 >>>>>>>=20 >>>>>=20 >>>>=20 >>>=20 >> = http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/r= egisterUserKeys.html >>>>>>>>> Please file a bug for the DevGuide documentation not being >> clear >>>> on >>>>>>> this >>>>>>>>> issue >>>>>>>>>=20 >>>>>>>>> -David >>>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> -- >>>>>>>> *Mike Tutkowski* >>>>>>>> *Senior CloudStack Developer, SolidFire Inc.* >>>>>>>> e: mike.tutkowski@solidfire.com >>>>>>>> o: 303.746.7302 >>>>>>>> Advancing the way the world uses the >>>>>>>> cloud >>>>>>>> *=99* >>>>>>>>=20 >>>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> -- >>>>>> *Mike Tutkowski* >>>>>> *Senior CloudStack Developer, SolidFire Inc.* >>>>>> e: mike.tutkowski@solidfire.com >>>>>> o: 303.746.7302 >>>>>> Advancing the way the world uses the cloud< >>>>> http://solidfire.com/solution/overview/?video=3Dplay> >>>>>> *=99* >>>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> -- >>>>> *Mike Tutkowski* >>>>> *Senior CloudStack Developer, SolidFire Inc.* >>>>> e: mike.tutkowski@solidfire.com >>>>> o: 303.746.7302 >>>>> Advancing the way the world uses the >>>>> cloud >>>>> *=99* >>>>>=20 >>>>=20 >>>=20 >>>=20 >>>=20 >>> -- >>> *Mike Tutkowski* >>> *Senior CloudStack Developer, SolidFire Inc.* >>> e: mike.tutkowski@solidfire.com >>> o: 303.746.7302 >>> Advancing the way the world uses the >>> cloud >>> *=99* >>>=20 >>=20 >=20 >=20 >=20 > --=20 > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud > *=99*