Code Monkey home page Code Monkey logo

puppet-softhsm's Introduction

Build Status Puppet Forge Puppet Forge Downloads

SoftHSM

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with dns
  3. Reference - An under-the-hood peek at what the module is doing and how
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Overview

Install SoftHSM and manage security tokens

Module Description

Setup

What SoftHSM affects

  • installs and manages softhsm2

Setup Requirements

  • puppetlabs-stdlib 4.17.0
  • icann-tea 0.2.12

Beginning with SoftHSM

install either package with no token

class { '::softhsm': }

Tokens

Add a new token

softhsm::token { 'test'
  pin    => '1111',
  so_pin => '1111',
}

you can also pass tokens directly to the class

class {'::softhsm':
  tokens => {
    'test' => {
      'pin'    => '1111',
      'so_pin' => '1111',
    },
  },
}

Or via hiera

softhsm::tokens:
  test:
    pin: 1111
    so_pin: 1111

Reference

Classes

Public Classes

Class: softhsm

Parameters
  • package (String, Default: 'softhsm2'): The SoftHSM package to install
  • conf_file (Stdlib::Absolutepath, Default: '/etc/softhsm/softhsm2.conf'): the location of the lof file
  • tokendir (Stdlib::Absolutepath, Default: '/var/lib/softhsm/tokens/'): the location of the tokens directory
  • objectstore_backend (Enum['file','db'], Default: 'file'): how to stor objects
  • log_level (Tea::Syslog_level, Default: 'info'): Syslog level to use
  • tokens (Hash[String, Softhsm::Token], Default: {}): tokens to configure

Public Types

Type softhsm::token

Parameters
  • pin (Pattern[/\d{4,255}/]): user pin to configure
  • so_pin (Pattern[/\d{4,255}/]): security office pin to configure

Limitations

This module has been tested on:

  • Ubuntu 12.04, 14.04
  • FreeBSD 10

Development

Pull requests welcome but please also update documentation and tests.

puppet-softhsm's People

Contributors

b4ldr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.