Introduction
Azure Key Vault is a tool for securely storing and accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, or certificates. A vault is logical group of secrets.
Use the Azure public cloud integration to discover and collect metrics against the Azure service.
External reference
Azure Key Vault basic concepts
Setup
To set up the Azure integration and discover the Key Vault
and related secrets, do the following:
- Create an Azure Integration if not available in your installed integrations. For more information on how to install the Azure Integration, refer to Install Azure integration.
- Create a discovery profile.
- Select
Key Vault
under the Filter Criteria on the Edit Discovery Profile page. - Save the discovery profile to make it available in the list of Discovery Profiles.
- Scan to discover the resources at any time independent of the predefined schedule.
- Once the scan is completed, you can view the
Key Vault
resources under Infrastructure > Resources > Microsoft Azure category. - Create a template with collector type Azure and applicable for Key Vault. See Create a Template for more information on how to create a template.
- Refer to Assign a Template on how to assign a template to a resource.
- Click the Metrics tab to view the monitoring data of Azure Key Vault.
Event support
OpsRamp supports Azure events for Azure Key Vault. Configure Azure Events in OpsRamp Azure integration discovery profile. See Process Azure Events for more information on how to configure Azure events.
Supported metrics
Azure key Vault
OpsRamp Metric | Azure Metric | Metric Display Name | Unit | Description | Aggregation Type |
---|---|---|---|---|---|
azure_keyvault_vaults_ServiceApiHit | ServiceApiHit | Total Service Api Hits | Count | Number of total service API hits. | Total |
azure_keyvault_vaults_ServiceApiLatency | ServiceApiLatency | Overall Service API Latency | Milliseconds | Overall Latency of service API requests. | Average |
azure_keyvault_vaults_ServiceApiResult | ServiceApiResult | Total Service API Results | Count | Number of total service API results. | Total |
cloud.instance.state | n/a | Status/State | n/a | Status/State | n/a |
Azure key Vault Secret
OpsRamp Metric | Azure Metric | Metric Display Name | Unit | Description | Aggregation Type |
---|---|---|---|---|---|
azure_key_vault_secret_expiry | Expiry | Secret Expiry Duration(Days) | n/a | The number of days remaining until the secret expires. | Average |