HashiCorp Cloud Platform
Certificates inventory reporting
Using Vault to manage certificates can increase security, and reduce operational overhead to protect sensitive data. However, it is critical to set the right permissions to control access to those data.
Vault certificates inventory reporting increases visibility into the certificates Vault manages through the UI and API. The reporting services use telemetry to collect and surface data that shows when users access, modify, or allow certificates to expire.
Prerequisites
To view the inventory reports, make sure to enable the reporting on your HCP Vault Dedicated clusters.
View certificates inventory report
The admin role has access to certificates and secrets inventory reporting. For non-admin users, you need the Report reader role for Vault reporting service in addition to view the certificates inventory report.
This grants access to certificates reporting as well as secret inventory reporting, and the ability to use a cluster's saved views but not modify them.
In the HCP Portal, select Vault Dedicated.
Select Certificates Inventory.

You can filter the data using the saved views. Also, you can order the
Common nameandValid untiltimestamps in ascending or descending dates.
Available column data
You can select or deselect the column fields to display.
The table below lists available column fields and their description.
| Table Column | Description |
|---|---|
| Common name | The identifier for the certificate |
| Status | Indicates if the certificate is active or expired. |
| Role | The Vault role used to issue the certificate. |
| Valid until | The timestamp of when the certificate expires. |
| Issuer | The parent issuer of the certificate. |
| Serial Number | The unique identifier assigned to this certificate by the Certificate Authority. Use this number to reference, audit, or revoke the specific certificate. |
| Certificate type | The type of certificate (Root, Intermediate, or Leaf). |
| Valid from | Refers to Not Before certificate attribute. This is the start date and time when the certificate becomes valid and ready for use. |
| Mountpath | The path of the certificates engine or authentication method was enabled at. |
| Algorithim | The algorithm used for the private key (RSA, ECDSA, Ed25519). |
| Algorithim strength | The number of bits used to generate the key. This value will vary depending on the algorithm used. |
| Mount accessor | The identifier of the mount which the certificate is apart of. |
| Revoked at | The timestamp of when the certificate was revoked. |
| Revoked by | Specifies the ID of the entity that requested the certificate authority to revoke the certificate. |
| Stored in vault | Indicates if the certificate is stored in Vault. |
Saved views
Saved views are a combination of filters and fields applied to the certificates inventory report to return a specific set of data. When you enable reporting on your cluster, it creates two default saved views:
- Expired certificates that have passed the designated validity period
- Revoked certificates that are now invalid by the issuing certificate authority
You can rearrange those saved views and modify them to your specific organization's needs. As an administrator, you can edit and modify existing saved views which are available to any report reader or other admins on the Vault cluster to use. Project members with the report reader role will be able to use saved views that admins create but cannot modify them.
Create a saved view
- Create a saved view by making selections from the Role, Filters or Fields drop-downs.
- Click on saved view to the right of the Fields drop-down.
- Give your saved view a name which describes the data it is surfacing and a description of how to use that saved view.
- Click Save and your saved view will appear in the carousel in the last position.
Modify a saved view
- Click on the three dots to the right of the saved view title.
- Select Rename, and make edits.
- Click Update.
Rearrange your saved views by clicking on the three dots to the right of the saved view title and selecting Rearrange. Drag and drop the saved views in your preferred order and click save.
Download certificates inventory report
You can export the certificates inventory report data with filters applied.
- From the Certificate Inventory page, click Export.
- Select the desired file format: JSON, or CSV.
- Click Continue.
- Click Download records, and select the download location.