- From: Dikang Gu <
>
- To:
- Subject: [chef] Re: Re: Can i authenticate myself as an admin using the RESTful API (in java code)?
- Date: Tue, 20 Oct 2009 11:32:05 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YTWBk50F9WekOcsMUrXanIuPW00+nPGMNwGATpCN9sYbhjlguDJyWC5npw4qX4PJ8x XfBpTrpoUaAQ6za+twNU+2z7M/xTGlOBf59wU/jgBW5KWCNEU4xvfPLaKx0QCsAWR4+D zB+xJTe5rN/bE30Qiy4TJ6i6J8wYkUL0rgztc=
Thank you Adam!
And after the authentication, will I get any information (like some tokens), that I will use in the http call? To tell the chef-server that I have been authenticated?
Thanks
Dikang
On Tue, Oct 20, 2009 at 2:25 AM, Adam Jacob
<
">
> wrote:
Sure - you need to just create a new client credential, and then set
it to be an administrator.
See the 'register' and 'authenticate' methods here:
http://gist.github.com/100837
Adam
On Mon, Oct 19, 2009 at 3:02 AM, Dikang Gu <
">
> wrote:
> As per subject. So that I can do the operations just like users on the web
> UI?
> Thanks
> Dikang
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E:
">
Archive powered by MHonArc 2.6.16.