GithubHelp home page GithubHelp logo

dcos-auth-proxy's Introduction

dcos-auth-proxy

Build Status Coverage Status

A simple authenticating proxy for DCOS that allows you to expose Marathon, Metronome, and other DCOS protected APIs on a local port such that authentication is automatically handled by the proxy.

Motivation

To ease integration with Mesos for apps that are unaware of the DCOS authentication and secrets architecture.

Usage

as a proxy:

  • Bundle the go binary within your docker container
  • Map in the principal secret that will be used for authentication
  • Launch the proxy as a background task, providing a target-url and the principal-secret

Notes:

  • by default, the proxy only listens on localhost; it is not recommended to expose the proxy externally, but the host interface can be configured via the --host parameter
  • pass -V or --verbose for extra output; the proxy only logs errors by default

Example

dcos-auth-proxy -t https://my-dcos.example.org/marathon -p 8888 -s "$MARATHON_CLIENT_SECRET"

as a cli util:

Call the authenticate subcommand to perform the authentication once and receive the auth token back vi stdout.

Example

dcos-auth-proxy authenticate -t https://my-dcos.example.org/marathon -s "$MARATHON_CLIENT_SECRET"

Building

make
  • places binary at bin/dcos-auth-proxy

dcos-auth-proxy's People

Contributors

matt-deboer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.