gRPC resource with API key authentication

I have a use-case where I want to access a gRPC resource that's protected by an API key. How would I go about doing this? I only see options for OAuth authentication and custom auth flows.

I guess one way to do so is just by using the Metadata fields