[chef] Creating new client with public key


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Creating new client with public key
  • Date: Tue, 11 Feb 2014 15:20:58 -0800

All,

We have one chef server per Google Compute region. We'd like to share the validation key between them. If we don't share the validation key, we'll need to create one O/S image (with a baked in validation key) per region, which we'd rather not do.

For the initial chef server, I have the private key (the validation key), and the public key, obtainable via the Chef UI. I'd like to upload the public key to the second chef server. The chef API apparently supports this, and it looks like knife does too.

When I enter 'knife client create foo', the editor comes up and the public_key field is null. I've tried placing the public key of the first chef server in there in multiple formats. but none seem to work. What is the correct format?

Thanks,
Doug




Archive powered by MHonArc 2.6.16.

§