Skip to content

Chef cookbook to add ssh public keys from a data bag

Notifications You must be signed in to change notification settings

ChristianKoehler/authorized_keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This cookbook has a definition to add ssh public keys to a user's ~/.authorized_keys

Requirements

Requires a databag called 'ssh-public-keys' with one entry per key, ie

{
  "id": "me",
  "key": "ssh-rsa my-super-long-key== me@local"
}

Attributes

Usage

authorized_keys_for "username" authorized_keys_for "username", home: "/var/apps" authorized_keys_for "username", group: "staff", keys: "name-of-data-bag"

About

Chef cookbook to add ssh public keys from a data bag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages