Details
Description
See https://documentation.cpanel.net/display/66Docs/Manage+API+Tokens
cPanel has deprecated the Remote Access Key that has historically been used for API access. This is being replaced by API tokens. We should add support for API Tokens, while maintaining backwards compatibility for Remote Access Keys if possible.
If maintaining support for remote access keys, API Tokens should remain the default option. When upgrading the module, continue to use remote access keys, but allow these to be changed out for API Tokens by editing the module row.