the config instance
pointer to size of data
the binary API key, size will reflect the size of the buffer