Custom provider for datadog

How to create a custom provider for datadog which will hold both provider as well as api keys.