reverseskate / cookbook-oauth2_proxy

oauth2_proxy cookbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oauth2_proxy

image

Cookbook to install and configure oauth2_proxy with LWRP

Requirements

  • ark
  • pleaserun

Platform Tested

  • Ubuntu 14.04 LTS
  • Ubuntu 16.04 LTS
  • CentOS 7.2

Usage

oauth2_proxy Cookbook utilizes a lightweight resource provider (LWRP) to handle installing oauth2_proxy, generate an oauth2_proxy config, and install a service for oauth2_proxy.

oauth2_proxy_site 'default' do
  auth_provider 'google'
  client_id 'foo'
  client_secret 'biscuit'
  cookie_secret 'stroopwafel'
  upstreams [ 'http://localhost' ]
end

Attributes

Attribute Description
default['oauth2_proxy']['install_url'] URL of release to download and install
default['oauth2_proxy']['checksum'] Checksum of release
default['oauth2_proxy']['install_path'] Path of where to install binaries
default['oauth2_proxy']['config_files'] Location to store config_files

Recipes

oauth2_proxy::install

Only installs oauth2_proxy with no configuration.

oauth2_proxy::default

No-op.

Author and Contributors

  • Author: Mike Juarez
  • Maintainer: Michael F. Weinberg

Copyright 2015 Orion Labs, Inc. Copyright 2016 Michael F. Weinberg

License

  • The oauth2_proxy Cookbook is covered under the Apache License, Version 2.0
  • The oauth2_proxy program is covered under the MIT license.

See LICENSE for the Apache License, Version 2.0

About

oauth2_proxy cookbook

License:Other


Languages

Language:Ruby 83.1%Language:Makefile 12.2%Language:HTML 4.7%