GithubHelp home page GithubHelp logo

isabella232 / clj-rbac-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from puppetlabs/clj-rbac-client

0.0 0.0 0.0 189 KB

Client libraries for interacting with puppet enterprise apis

License: Apache License 2.0

Clojure 90.03% Makefile 8.10% Shell 1.88%

clj-rbac-client's Introduction

rbac-client

A Clojure library designed to hold lightweight API clients for PE services.

Usage

The clients are meant to provide alternate versions of the TK services. You should be able to merely include them in the bootstrap.

Configuration

The clients use ssl authorization via the global.certs keys.

  • global.certs.ssl-key: the key for this clients identity.
  • global.certs.ssl-cert: the cert for this clients identity.
  • global.certs.ssl-ca-cert: the ca-cert for this clients cert and the upstream service.

The location of the RBAC and Activity services are configured with the rbac-consumer.api-url and activity-consumer.api.url settings respectivetly.

Activity

The Activity service protocol should be considered temporary and unstable. It may not directly match the Activity Reporting service protocol, which may itself be unstable.

Testing

The tests require pki files in the dev-resources/ssl/ directory of:

  • ca.pem: a CA cert with the CN of "puppet"
  • key.pem: a node private key
  • cert.pem: a cert signed by ca.pem for the private key at key.pem with a CN of "localhost"
  • alternate-ca.pem: a valid but untrusted CA cert

The repo contains these files needed for testing, though if needed you may want to read dev-resources/gen-pki.sh for the commands to generate additional sets of files.

License

Copyright © 2016 Puppet

Distributed under the Apache License version 2.0

clj-rbac-client's People

Contributors

adreyer avatar alawley avatar aperiodic avatar barriserloth avatar briancain avatar ekinanp avatar jonathannewman avatar libbymo avatar magisus avatar melcherry98 avatar mikaelsmith avatar mollykmcglone avatar nicklewis avatar pcarlisle avatar puppetlabs-jenkins avatar sarameisburger avatar steveax avatar theshanx avatar transifex-bot avatar tvpartytonight avatar wkalt 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.