[chef] Re: Can i authenticate myself as an admin using the RESTful API (in java code)?


Chronological Thread 
  • From: Adam Jacob < >
  • To:
  • Subject: [chef] Re: Can i authenticate myself as an admin using the RESTful API (in java code)?
  • Date: Mon, 19 Oct 2009 11:25:53 -0700

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.

§