Giter Club home page Giter Club logo

scim-setup's Introduction

SCIM Setup

This application is still very much work in progress, but the idea is that it should be able to do:

  • Read user emails from a file ✅
  • Get the users object ids from the corresponding Azure AD user ✅
  • Add the users to an Azure AD group ✅
  • Configure and Azure Enterprise Application ❌
  • Configure SCIM with the Azure Enterprise Application ❌

Prerequisites

Environment file

Create a file .scim-setup and either place it in the $HOME directory or in the current working directory.

AZURE_CLIENT_ID=<REDACTED>
AZURE_CLIENT_SECRET=<REDACTED>
AZURE_TENANT_ID=<REDACTED>
AZURE_GROUP_OBJECT_ID=<REDACTED>

The AZURE_GROUP_OBJECT_ID is the ObjectId of the Azure AD group you want to add users to.

The AZURE_CLIENT_ID, AZURE_CLIENT_SECRET and AZURE_TENANT_ID must be the credentials for a service principal that is an owner of the Azure AD Group defined through AZURE_GROUP_OBJECT_ID.

You do not need to source the environment file or export these environment variables manually. The application will read the values directly from the .scim-setup file.

Users file

The users you want to add to the Azure AD Group defined through AZURE_GROUP_OBJECT_ID should be in the format [email protected] and be put one per line in a file called users.txt (or any other name you prefer).

You may put the file anywhere you like on disk, for instance in the /tmp directory.

Running the program

./scim-setup /tmp/users.txt # Full path to the users.txt file

Development practices

WIP

Build instructions

WIP

Test instructions

WIP

scim-setup's People

Contributors

avnes avatar

Watchers

 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.