Resource Drivers are used to establish the connection between Humanitec and your infrastructure. There is a growing number of Resource Drivers available out-of-the-box in Humanitec.
You can also write your own Resource Drivers if you need to connect exotic infrastructure to your Internal Developer Platform. This section is intended to describe how to create and customize Resource Drivers.
When creating a Resource Driver you will need to consider two elements:
The Resource Driver itself and
the related Resource Account.
In general, Resource Drivers are code that fulfills the Humanitec Resource Driver Interface. This interface allows for certain actions to be performed on resources such as creation and destruction. Resource Drivers typically call APIs associated with managed services. They use the credentials provided by Resource Accounts in order to manipulate resources provided via managed services.
Resource Accounts are identities that are used to provision and manage resources via Dynamic Resource Definitions. They can represent a range of identities including Cloud Provider Service Accounts, VPN Accounts and SSH accounts.