Giter VIP home page Giter VIP logo

rberwald-credentials's Introduction

credentials

Table of Contents

  1. Description
  2. Setup - The basics of getting started with credentials
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

Simple module to manage credential files in user home directories.

Setup

Beginning with credentials

Follow this page to setup your puppet server for data in modules.

Depending on how your setup is, you can now use:

include '::credentials'

from anywhere.

class { '::credentials':
  users => { ... },
}

from profile and roles.

Or add the class 'credentials' to you 'classes' array, if you use

hiera_include('classes')

or

lookup('classes', {merge => unique}).include

Specifying credentials will be done in hiera. An example:

credentials::users:
  rbe:
    vault:
      ensure : 'file'
      path : '.vault-token'
      content : 'xxxxxxxx-1234-abcd-yyyyyyyy'
  user1:
    secret:
      ensure : 'file'
      path : '.secret-content-token'
      content : '12345678-abcd-efgh-09876543'

This will create two files: 1) '/home/rbe/.vault-token' with above content and permission '0440' and 'root:rbe'. 2) '/home/user1/.secret-content-token' with above content and permissions '0440' and 'root:user1'.

##Usage

All interaction with the credentials module can be done through the main credentials class. This means you can simply toggle the options in ::credentials to have full functionality of the module.

rberwald-credentials's People

Watchers

Richard Berwald 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.