JumpCloud Office Hours: Join our experts every Friday to talk shop. Register today

Automatic User Import with JumpCloud



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.


Recent Posts
Samba file servers are a popular option when considering file storage. So IT admins are focusing on LDAP authentication for Samba file servers.

Blog

LDAP Authentication for Samba File Servers

Samba file servers are a popular option when considering file storage. So IT admins are focusing on LDAP authentication for Samba file servers.

Integrating AWS Client VPN into your IT environment is simple with the help of a cloud directory service. Try one here for free.

Blog

Integrating AWS Client VPN into Your IT Environment

Integrating AWS Client VPN into your IT environment is simple with the help of a cloud directory service. Try one here for free.

We’re launching JumpCloud University, a free education platform to help you get the most out of your directory. Try JumpCloud free today.

Blog

JumpCloud University: Our Approach to Education

We’re launching JumpCloud University, a free education platform to help you get the most out of your directory. Try JumpCloud free today.