rsa_keys

add an array of rsa keys to user authorized keys

Valerio Minetti

siliconfrog

9,796 downloads

7,637 latest version

4.6 quality score

Version information

  • 0.1.7 (latest)
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Aug 19th 2015
This version is compatible with:
  • CentOs
    ,
    Ubuntu

Start using this module

Tags: ssh, rsa, keys

Documentation

siliconfrog/rsa_keys — version 0.1.7 Aug 19th 2015

rsa_keys

This module let provide a wrapper for user rsa_keys management. If user is present check its rsa keys and if passed array differ add missing keys. If purge flag is on and actual keys differ from the ones passed via rsa_key_hash, installed keys missing will be removed.

install

puppet module install siliconfrog-rsa_keys

Simple usage:

declare class in your manifests

class {'rsa_keys': user => 'root', rsa_key_hash => hiera_hash('root_pub_key'), purge => true, }

and put your keys data in an associative array or in a hiera structure like this:

root_pub_key: keylabel1:

  • key: keylabel2:
  • key: