Giter Site home page Giter Site logo

oauth-jumpbox-boshrelease's Introduction

oauth jumpbox release

this will deploy a jumpbox connected to an oauth server (e.g UAA) each user that logs-in will be assigned to their own global specified docker container

Deploy

configure the manifest see options below.

bosh deploy manifests/oauth-jumpbox.yml -d oauth-jumpbox

How to use

please note that if there are any special characters use double quotes around the username.

ssh "[email protected]"@JUMPBOXIP

oauth settings

example: UAA deployed with BUCC

  - name: oauth
    release: oauth-jumpbox
    properties:
      pam_oauth:
        client-id: jumpbox
        client-secret: foobar
        redirect-url: "urn:ietf:wg:oauth:2.0:oob"
        scopes: ["openid"]
        endpoint-auth-url: "((/concourse/main/concourse_url)):8443/oauth/authorize"
        endpoint-token-url: "((/concourse/main/concourse_url)):8443/oauth/token"
        username-format: "%s"

for this example to work you would also need create a client in the UAA

secret_path=$(credhub find -n oauth-jumpbox/client_secret -j | jq -r '.credentials[0].name')
secret=$(credhub get -j -n ${secret_path} | jq -r '.value')

uaa create-client jumpbox \
    --client_secret ${secret} \
    --authorized_grant_types password,refresh_token \
    --scope openid

Configure docker container settings

example:

- name: dockersh
  release: oauth-jumpbox
  properties:
    image: busybox
    command: /bin/ash
    user: root
    env:
      CONCOURSE_URL: ((/concourse/main/concourse_url))
      CONCOURSE_USER: ((/concourse/main/concourse_username))
      CONCOURSE_PASSWORD: ((/concourse/main/concourse_password))

From Source

Dependencies:

git clone https://github.com/cloudfoundry-community/oauth-jumpbox-boshrelease.git
git lfs pull

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.