Code Monkey home page Code Monkey logo

reana-auth-vomsproxy's Introduction

REANA Authentication VOMSproxy

image image image

About

reana-auth-vomsproxy provides a container image for either setting up or creating a VOMS proxy certificate. The container image includes no additional logic or libraries, just the bare minimum to support the VOMS client. The image is configured to support authentication for the four experiments at CERN's Large Hadron Collider (ALICE, ATLAS, CMS, LHCb), as well as ESCAPE Virtual Organization.

reana-auth-vomsproxy was developed for use in the REANA reusable research data analysis platform.

Usage

You can use reana-auth-vomsproxy as a base image, however it was built to be used as a sidecar container for user jobs generated via reana-job-controller with the single purpose of establishing the VOMS proxy authentication. The VOMS proxy file set up by the sidecar is shared with the main job container using common namespace.

The end users can ask for VOMS authentication by means of declaring voms_proxy: true workflow hints. For more information, please see here.

If you would like to try it out locally, you can run:

$ docker run -i -t --rm -v $HOME/foo:/root/.globus/ docker.io/reanahub/reana-auth-vomsproxy:1.0.0 /bin/bash

Your local directory /foo should contain your usercert.pem and userkey.pem files. By default the VOMS client checks the directory /$HOME/.globus for the files needed. In this image that path results in /root/.globus/.

Inside the container a VOMS proxy can be obtained by specifying the Virtual Organization, for example via:

$ voms-proxy-init --voms cms

Configuration

If you would like to use the sidecar to simply expose the VOMS proxy file generated on the client-side by the user, there is nothing to configure.

If you would like to use the sidecar to create a VOMS proxy certificate from user Grid credentials, this requires additional information and inputs:

  • Grid user certificate: ${HOME}/.globus/usercert.pem
  • Grid user key: ${HOME}/.globus/userkey.pem
  • Grid user password
  • Virtual organisation membership (e.g. cms)

Changes

Version 1.2.0 (2022-10-11)

  • Changes documentation to better expose two usage modes, the client-side and the server-side generation of VOMS proxy file.

Version 1.1.0 (2022-08-10)

  • Adds support for ESCAPE VOMS.
  • Changes base image to use latest CC7.

Version 1.0.0 (2020-08-05)

  • Initial release

Development

You can build the reana-auth-vomsproxy image by passing the build arguments DATE in the format "YYYY-MM-DD" and VERSION as either a semantic versioning and/or the git SHA.

More information

For more information about REANA reusable research data analysis platform, please see its documentation.

reana-auth-vomsproxy's People

Contributors

tiborsimko avatar mdonadoni avatar alintulu avatar audrium avatar clelange avatar egazzarr avatar

Watchers

James Cloos 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.