Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

czottmann/chef-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chef-keys

Creates keys in /home/chef/.ssh/ from a data bag.

Assumptions

/home/chef belongs to user chef which belongs to group chef.

Attributes

  • keys/databag: string containing name of data bag containing the keys
  • keys/key_name: name of the keypair to be copied

Recipes

  • keys: copies keys into /home/chef/.ssh/

Data bag structure example

"ssh_keys": {
  "machine_1": {
    "id_rsa": "private key goes here",
    "id_rsa.pub": "public key goes here"
  }
}

Legal

About

Chef cookbook: Copies ssh keys from data bag to `/home/chef/.ssh/`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages