How do Secrets Hub and CPM work separately, as well as together?
Question
How do Secrets Hub and CPM work separately, as well as together?
Environment
Privileged Access Manager (PAM, self-hosted);Secrets Hub Central Policy Manager (CPM)
Answer
Secrets Hub and CPM work differently. CPM does password rotation while 'Secrets Hub' retrieves the password from Vault and pushes the password to the target. Secrets Hub doesn't rotate the password.
Note - For Secrets Hub targets will be cloud targets such as AWS Secrets Manager, Azure Key Vault, GCP Secret Manager, and HashiCorp Vault.
How Secrets Hub and CPM work separately, as well as together is explained with the help of below mentioned scenarios -
Scenario 1 - If there is a target account which customer is managing with CPM. CPM plugin does automatic Password rotation on the target. In this Scenario is Secrets Hub needed ?
In this scenario Secrets Hub is not needed as Secrets Hub will update the same target with same new password which CPM just updated on the target.
Scenario 2 - If there is no CPM plugin for a target
In this scenario Secrets Hub can be used to keep password in vault and on Target in Sync. However, that password will remain static as there is NO CPM triggered Password rotation happening on the account.
In this scenario Password will remain static unless changed manually in vault.
Scenario 3 - Secrets Hub and CPM being used in a combination
If there is a target account which customer is managing with CPM. Customer has an application team who uses this account from a Cloud Provider ( e.g. Azure).
In this scenario CPM and Secrets Hub will be used in combination. CPM will change the password in Vault and on the target while Secrets Hub will sync the password from Vault to Cloud Provider.