Automatic User Import with JumpCloud

Written by Greg Keller on April 14, 2014

Share This Article

One of the truly powerful things about service-oriented architectures is the ability to leverage semantically deep functionality with very little code. It’s almost like meta-programming, calls to a service can sometimes bring about really amazing and powerful results, because so much is being handled behind the scenes for you. More than any single-server library, remote procedure calls into a network-facing API can be extremely powerful.

In this case, I’m leveraging about 6KB of script code (much of that in the form of comments), to implement a script that allows you to import your Linux system users into JumpCloud, quickly and easily. And, it’s designed to leverage JumpCloud’s command execution functionality to make it super quick to run across all your servers.

JumpCloud provides all the really hairy plumbing for me, the ability to:

  • Identify all my servers in one location and keep track of them
  • Make sure I’ve got user accounts to run my scripts on, on all of those servers
  • Run across a bunch of servers at once
  • Look up users via a simple HTTP request
  • Automatically add users via a simple HTTP request
  • Provide immediate user feedback for each server in a customer’s network

So, in the course of several hours, I’ve created a script that allows our customers to automatically import all their users into JumpCloud, wherever they may be across all their servers, in minutes.

Try JumpCloud’s Automatic User Import

If you’ve got lots of users to import, and you’re currently using JumpCloud, are thinking about trying us out, or you’d just like to see an example of simple, but powerful, API calls into JumpCloud, I urge you to check out our knowledge base article to get started!

JumpCloud’s Directory-as-a-Service® platform securely manages and connects users to the IT resources they need to access including systems, applications, and networks.

Continue Learning with our Newsletter