Adding Vault AppRoles to the Deploy secret store
You can add Vault AppRoles users to the HCL DevOps Deploy (Deploy) secret store to authenticate users with Vault-defined AppRole.
Before you begin
- Ensure that you have installed the Vault server and obtained the server address.
- You must have the following permissions:
- Create, view, and edit secret store permissions to create a secret store.
- Create, view, and edit Vault AppRole permissions to manage AppRoles of a secret store.
Procedure
- Click Create Vault Secret Store.
-
Create a secret store in the Manage Vault Secret Store window and
provide the following details:
Parameter Description Name Identifies the Vault secret store name. Note: Characters other thana-z,A-Z,0-9, and-are not allowed.Description Conveys more information about the Vault. Teams Allows access to the Vault secret store to specific teams. URL Indicates the Vault server address. -
Save your changes.
The secret store lists on the Secret Stores page.
-
Add AppRoles users to the secret store.
- Click the secret store to which you want to add the AppRole.
- Click App Roles.
- Click Create Vault AppRole.
The Manage Vault AppRole window is displayed.
- In the Manage Vault AppRole window, enter the following AppRole
details:
Parameter Description Name Identifies the Vault AppRole name. Note: Characters other thana-z,A-Z,0-9, and-are not allowed.AppRole Id Specifies the RoleID of the Vault AppRole. Secret Id Specifies the SecretID of the Vault AppRole. Teams Allows access of the AppRole to specific teams. - Save your changes.
The AppRole is added to the Vault AppRoles page.