SSH Key onboarding bulk request.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

SSH Key onboarding bulk request.

L3 Networker

Hi Experts,

We need assistance in onboarding SSH keys for 1000 plus servers.

For ssh keys we need to upload privatekey in ssh key upload at the time of onboarding

From all id's which is by default. Is there any script or using any utility we can achieve SSH keys bulk uploads. All the mandatory parameters names given below.

Came to know using accountupload utility is there any documents how to do it for bulk upload of ssh keys using below parameters. Is anyone implemented

in your environment kindly provide the steps how to implement it.

 

platform Name:

Device Type:

Safe:

Name:

Username:

PublicSSHKeyPath

Address:

Thanks,

Padmanabhan.H

1 accepted solution

Accepted Solutions

L2 Linker
8 REPLIES 8

L7 Applicator

Afaik PUU and CSV import can't handle SSH keys. Maybe write a script that calls the REST API directly?

L2 Linker

@Padmanabhan Harikumar​ Any Solution for Bulk onboarding SSH keys servers.

@Aravind Ravichandran​  - Nope.. Did you find to get anything?

Nope. Need to Onboard 300+ devices (SSH Keys). PUU only work for Windows machine for SSH searching for update.@Padmanabhan Harikumar​ 

L3 Networker

There is an AccountUploader utility that will upload keys. It runs under Linux. Sadly, in the version we're currently using there's a bug that caused it to create corrupted objects, but it looks workable. Otherwise, the "RESTful" API would probably be your best bet.

 

Once you have a script that logs in, gets a token, and then does some action in the API, it's generally pretty straightforward to modify it to do something else, so it's a good investment in time to develop one if you haven't done so already.

L2 Linker

We have a requirement of onboarding thousands of Unix SSH key based accounts with below attributes, place custom name and also create account group & Group platform if it doesn't exist.

 

Has anyone done this before ?

 

platform Name:

Device Type:

Safe:

[Custom]Name:

Username:

PublicSSHKeyPath:

Address:

Account Group:

Group Platform:

Reconcile Account:

We had a similar requirement. I made use use of -

https://github.com/cyberark/epv-api-scripts/tree/main/Account%20Onboard%20Utility

 

I could onboard all accounts with SSH Keys but without the below 2 attributes which were done manually after onboarding. 😞

Account Group:

Group Platform:

  • 1 accepted solution
  • 1040 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!