Secrets Hub - Federated Identity Authentication for Azure Key Vault
Objective
SecretsHub has updated the main authentication method for Azure Key Vault Stores to 'Federated Identity.' Given this change, what is the procedure for creating new Secret Stores with either a new application or an existing one in Azure?
Environment
Secrets Hub
Procedure
To Create a new store, you can consider the following approaches :
1. Create a new app using the given script, and switch all the existing Secrets Stores to use this app
2. Manually Add a Federation Identity to the existing app using below listed steps -
a. Go to the Azure portal and navigate to the app registration
b. go to "Certificates & secrets" and choose "Federated credentials"
c. Click on "Add credential" and select "other issuer"
d. Fill in the required fields:
- Issuer: can be found in the settings page in secrets hub
- Type: Explicit subject identifier
- Value: SECRETS_HUB_AZURE_IDENTITY_APPLICATION_USER