How would you manage personal SSH keys with CyberArk Privilege Cloud?

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

How would you manage personal SSH keys with CyberArk Privilege Cloud?

L1 Bithead

Hi all,

 

How would you manage personal SSH keys with CyberArk Privilege Cloud?

 

Let's say for example - my current situation; 

I'm a developer I have an SSH key, I have my private SSH key stored in a personal keepass and I have access to 5 linux systems with my SSH key. 

In the backend the infrastructure team manages to which systems I have access to, by adding my public key to the systems, this can be automated with Ansible.

 

I have been looking into "Manage the same SSH key on multiple targets".

 

This is what I have in my current LAB setup:

- I have created one SSH key pair.

- I have two linux systems, where the Public Key is in the ~/.ssh/authorized_keys

- I have created a SSH key group platform and created a personal group in CyberArk

- I have onboarded twice the same private key, but each time with a different address, because I have two linux systems.

- I'm able to verify both accounts (only on change I have an issue I have to solve yet).

 

It does describe what I need in a certain way. 

But I do have some concerns about scalability and manageability.

 

If you have 100 developers, they all have a personal key. It would mean I have to create 100 personal group and if every developer has access to 5 systems, I have to onboard the SSH key 5 times 100 and group them correctly. 

(Of course it could probably in automated way, but there is not always time, budget tools for this.)

 

So I'm looking a bit at other experiences? and how you would or would not approach this?

 

Reference:

https://docs.cyberark.com/pam-self-hosted/latest/en/content/sshkm/managing%20ssh%20keys.htm#ManagethesameSSHkeyonmultipletargets

 

Thanks

Jochen

 

1 accepted solution

Accepted Solutions

L4 Transporter

A common pattern for privileged access would be to use a shared role-based privileged account on the target systems rather than individual accounts for each user on each target system. A pool of such accounts can be configured with one-time use rules if strict accountability is preferred.

 

Another approach is to use a directory service such as LDAP, NIS, or AD, so that each developer can have a single privileged identity in the directory service and vault that credential, but I acknowledge thtat this is changing the use-case rather than addressing the question.

 

You shared a link to ssh keymanager, but I don't think this is available in Privilege Cloud. However the concept of using group accounts to manage the same credential on multiple targets is available in Privilege Cloud.

 

You might find it marginally less complex to handle the onboarding and offboarding by using passwords rather than keys, and ensuring strong rotation policies to mitigate the additional risks that presents.

 

I would suggest looking at short-lived SSH certificates for this use-case. With PSM-SSH (PSMP) this is documented here: Configure Just in Time access with short-lived SSH certificates | CyberArk Docs and with SIA (formerly DPA) it is the default way of working when using Zero-Standing Privileges. I am not quite clear whether you are using self-hosted or Privilege Cloud, so SIA may not be available. If it is available for you then I would really recommend it!

View solution in original post

2 REPLIES 2

L4 Transporter

A common pattern for privileged access would be to use a shared role-based privileged account on the target systems rather than individual accounts for each user on each target system. A pool of such accounts can be configured with one-time use rules if strict accountability is preferred.

 

Another approach is to use a directory service such as LDAP, NIS, or AD, so that each developer can have a single privileged identity in the directory service and vault that credential, but I acknowledge thtat this is changing the use-case rather than addressing the question.

 

You shared a link to ssh keymanager, but I don't think this is available in Privilege Cloud. However the concept of using group accounts to manage the same credential on multiple targets is available in Privilege Cloud.

 

You might find it marginally less complex to handle the onboarding and offboarding by using passwords rather than keys, and ensuring strong rotation policies to mitigate the additional risks that presents.

 

I would suggest looking at short-lived SSH certificates for this use-case. With PSM-SSH (PSMP) this is documented here: Configure Just in Time access with short-lived SSH certificates | CyberArk Docs and with SIA (formerly DPA) it is the default way of working when using Zero-Standing Privileges. I am not quite clear whether you are using self-hosted or Privilege Cloud, so SIA may not be available. If it is available for you then I would really recommend it!

Hi Jon,

 

Thanks for your insights. I'm using Privilege Cloud.

SIA sounds indeed interesting to cover the way of working with Zero-standing privileges.

 

Thanks

  • 1 accepted solution
  • 339 Views
  • 2 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!