HashiCorp Vault
Create an integration to manage access to a HashiCorp Vault instance
HashiCorp Vault is a secrets management solution that provides secure storage, dynamic credentials, and cryptographic key management for your applications and infrastructure.
Through this integration, Apono helps you discover Vault secrets and keys, and securely manage just-in-time (JIT) access to them:
Securely broker access to secrets through access flows
Ensure sensitive information is only accessible to authorized users when it’s needed
Prevent exposure of static credentials or reliance on manual sharing
This integration has the following limitations:
If you request permissions for a specific key or secret, other items may still appear in the Vault UI but without granted permissions.
Only 10,000 secrets and keys are supported.
If you prefer to use HashiCorp secrets as a backend credential store for configuring other Apono integrations, see the Apono Integration Secret article.
Prerequisites
Apono connector
On-prem connection serving as a bridge between a HashiCorp instance and Apono:
HashiCorp Vault admin privileges
Admin access on Vault OSS, running in Kubernetes or a virtual machine
Vault CLI
Command-line interface used to interact with and manage HashiCorp Vault
Vault address
Production URL address of your Vault server
Set up Apono in HashiCorp Vault
Follow these steps to set up Apono access in HashiCorp Vault:
At the shell prompt, enable the
AppRoleanduserpassauthentication methods.
Apono uses AppRole for its own service access and userpass for just-in-time user accounts.
Enable the KV v2 and Transit secrets engines.
The KV v2 secrets engine allows Apono to manage stored secrets. The Transit secrets engine lets Apono list and manage cryptographic keys.
Create a management policy for Apono.
This policy allows the Apono plugin to create users, attach policies, and list secrets.
Create an
AppRolethat allows the Apono plugin to log in.
Fetch and save the
role_idvalue.
Fetch and save the
secret_idvalue.
Create a secret with the credentials from steps 5-6. Use the following key-value pair structure when generating the secret. Be sure to replace
#ROLE_IDand#SECRET_IDwith the actual values.
You can also input the user credentials directly into the Apono UI during the integration process.
You can now integrate Hashicorp Vault.
Integrate HashiCorp Vault

You can also use the steps below to integrate with Apono using Terraform.
In step 11, instead of clicking Confirm, follow the Are you integrating with Apono using Terraform? guidance.
Follow these steps to complete the integration:
On the Catalog tab, click HashiCorp Vault. The Connect Integration page appears.
Under Discovery, click one or more resource types to sync with Apono.
Apono automatically discovers and syncs all the instances in the environment. After syncing, you can manage Access Flows to these resources.
Click Next. The Apono connector section expands.
From the dropdown menu, select a connector. Choosing a connector links Apono to all the services available on the account where the connector is located.
If the desired connector is not listed, click + Add new connector and follow the instructions for creating a connector (AWS, Azure, GCP, Kubernetes).
Click Next. The Integration Config page expands.
Define the Integration Config settings.
SettingDescriptionIntegration Name
Unique, alphanumeric, user-friendly name used to identify this integration when constructing an access flow
Vault URL
Production URL address of your Vault server
Example: https://vault.company-name.com
Click Next. The Secret Store section expands.
If you select the Apono secret manager, enter the following values:
Vault Role ID: Enter the
role_idvalue from step 5 of the previous section.Vault Secret ID: Enter the
secret_idvalue from step 6 of the previous section.
Click Next. The Get more with Apono section expands.
Define the Get more with Apono settings.
Custom Access Details
(Optional) Instructions explaining how to access this integration's resources Upon accessing an integration, a message with these instructions will be displayed to end users in the User Portal. The message may include up to 400 characters. To view the message as it appears to end users, click Preview.
Integration Owner
(Optional) Fallback approver if no resource owner is found Follow these steps to define one or several integration owners:
From the Attribute dropdown menu, select User or Group under the relevant identity provider (IdP) platform.
From the Value dropdown menu, select one or multiple users or groups.
NOTE: When Resource Owner is defined, an Integration Owner must be defined.
Resource Owner
(Optional) Group or role responsible for managing access approvals or rejections for the resource Follow these steps to define one or several resource owners:
Enter a Key name. This value is the name of the tag created in your cloud environment.
From the Attribute dropdown menu, select an attribute under the IdP platform to which the key name is associated. Apono will use the value associated with the key (tag) to identify the resource owner. When you update the membership of the group or role in your IdP platform, this change is also reflected in Apono.
NOTE: When this setting is defined, an Integration Owner must also be defined.
Click Confirm.
💡Are you integrating with Apono using Terraform?
If you want to integrate with Apono using Terraform, follow these steps instead of clicking Confirm:
At the top of the screen, click View as Code. A modal appears with the completed Terraform configuration code.
Click to copy the code.
Make any additional edits.
Deploy the code in your Terraform.
Refer to Integration Config Metadata for more details about the schema definition.
Now that you have completed this integration, you can create access flows that grant permission to your HashiCorp Vault secrets and keys.
Last updated
Was this helpful?
