SSH certificate based authentication comes with the following benefits:
There is a specific validity period.
The new certificates can be provided with ease without the overhead of modifying the authorized keys in the target server.
You can customize the certificate to ensure the certificates are used only for a specific purpose and with least privileges to avoid misuse.
Let us consider a scenario where John, a DevOps engineer wants to access the target production server. The Certificate Authority in Privileged Account Manager, could either be imported or generated by Privileged Account Manager and will be used to sign the end user certificate. This Certificate Authority is protected by Privileged Account Manager's vault encryption capability.
For a new ephemeral certificate request, John will be evaluated by the Credential Vault's policy engine which will ensure the right access is provided to the resource. If he is validated by the permissions provided, he can access the certificated signed my CA. The Public key configured int he target server and will be used for validation.
This use case can also be used for devices - zero trust privileged config for network devices.
This example refers to the following user profiles:
John: A DevOps engineer of Pristine Inc.
John wants to access the production server for collection performance metrics. He leverages SSH Certificates for Just-in-Time access to the server.
The following diagram depicts the requirement of this use case:
This section explains the prerequisites, flow of actions, and step-by-step configuration details to achieve this requirement.
To achieve this requirement, John performs the following tasks:
Create a Certificate Authority either by importing from or create using Privileged Account Manager
You receive the public key and configure the same in the target server
Restart SSHD
Configure Certificate that is required for the temporary certificate
Read the credential
Log in as John into Privileged Account Manager into the production server and using the new certificate to obtain the required performance metrics
Connection is closed by the target server ad the action is complete
Monitor the logs for further details
After John implements SSH Certificate based Authentication, the following are possible scenarios:
|
Scenario |
|---|
|
SSHD, No revocation possible, SSH Certificate options can be more scenarios (through host and command restrictions) |
|
Through host and command restrictions |