Multiple Vaults Integration
Integrate with multiple Keeper Vaults or multiple Shared Folders using Keeper Secrets Manager
![](https://docs.keeper.io/~gitbook/image?url=https%3A%2F%2F3357255970-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fb7weUpu7VBcMnESSH8vG%252Fuploads%252FKMKS3wJ0EcGHLcXmc800%252FMulitple-Vaults-Integration.jpg%3Falt%3Dmedia%26token%3D0147cc33-89f5-46f2-806c-f089e4f27523&width=768&dpr=4&quality=100&sign=fbcc7b66&sv=1)
Overview
Keeper Connection Manager can pull secrets from different vaults or different shared folders of the Keeper Vault, via the Keeper Secrets Manager integration. There are two main ways which KCM can connect to multiple Keeper Vaults for retreiving secrets:
Connection Groups can be assigned to different secrets manager configurations. Any connection defined within a Connection Group will retrieve secrets from the group assignment.
Users can be assigned Secrets Manager configurations, and connections can retrieve secrets from configurations defined by each individual user profiles. This allows different users to connect to the same set of connections with their own set of secrets.
Connection Groups
Each Keeper Connection Manager "Connection Group" can use a Keeper Secrets Manager configuration for the connections in the group. When this is activated, each connection group will look for records in the corresponding Secrets Manager configuration to retrieve secrets and replace tokens in the connection settings.
In order to use a Keeper Secrets Manager with a Connection Group, enter a Keeper Secrets Manager One-Time Access Token, or Configuration into the "KSM Service Configuration" field of the connection group form.
![](https://docs.keeper.io/~gitbook/image?url=https%3A%2F%2F3357255970-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fb7weUpu7VBcMnESSH8vG%252Fuploads%252FsPTjp7HHROPWYxRMFwPy%252Fimage.png%3Falt%3Dmedia%26token%3D6d877793-d280-4471-897b-c1966fbfe3d3&width=768&dpr=4&quality=100&sign=210cb3b&sv=1)
All connections created within this Connection Group will then use the Secrets Manager configuration defined to retrieve secrets when establishing connections, instead of using the root level Secrets Manager configuration.
The Secrets Manager configuration can come from the same vault, or any other vault.
See the Dynamic Tokens documentation for more information on the available tokens and how to use them.
Note: A Secrets Manager configuration must be established in the baseline configuration as a default to use connection group Secrets Manager configurations. See the documentation for information on setting up a Secrets Manager configuration.
User-Specified Configuration
Each Keeper Connection Manager User profile can be assigned to a Keeper Secrets Manager configuration for any connection. When the connection is updated to allow user-specific vaults, Keeper Connection Manager will pull the secret from the user's corresponding configuration. This feature allows multiple users to share the same set of connections, using secrets that originate from the user's own vault.
In order to use user-specific secrets manager connections, the Keeper Connection Manager installation needs to have the feature enabled. It is disabled by default.
Docker Install Method
An additional environmental variable must be added to the keeper/guacamole Docker image in your docker-compose.yml
file.
KSM_ALLOW_USER_CONFIG
For example:
In the Edit User screen, fill in the KSM Service Configuration that has been set up for that user. This is also available to each user to set up the KSM Service Configuration for themselves.
![](https://docs.keeper.io/~gitbook/image?url=https%3A%2F%2F3357255970-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fb7weUpu7VBcMnESSH8vG%252Fuploads%252FTF3iSyDUWMTKmWkTU1V7%252FScreen%2520Shot%25202023-01-23%2520at%25207.52.51%2520PM.png%3Falt%3Dmedia%26token%3D40d4f33c-aaf4-4536-b11a-638488f36411&width=768&dpr=4&quality=100&sign=b5425851&sv=1)
When creating or editing a connection, there is a field which appears called "Allow user-provided KSM configuration".
![](https://docs.keeper.io/~gitbook/image?url=https%3A%2F%2F3357255970-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fb7weUpu7VBcMnESSH8vG%252Fuploads%252FMv1WYhshaQ5MBWvK1hfj%252FScreen%2520Shot%25202023-01-23%2520at%25208.07.39%2520PM.png%3Falt%3Dmedia%26token%3D9da11603-345e-4882-9ade-fa4e01133af4&width=768&dpr=4&quality=100&sign=59bc681e&sv=1)
When this option is selected, Keeper Connection Manager will look for corresponding secrets in the user's vault corresponding to the Keeper Secrets Manager configuration.
Order of Precedence
Keeper Connection Manager will always use the base (or Connection Group) secrets if any are applicable. It will only use user-provided secrets if there isn't an admin-provided secret for the same, to ensure that users cannot override the intent of the admin.
Last updated