I have created a PubSub schema
I have created an API key with no restrictions
I wish to cURL/Get this schema from an address outside of GCP
I tried the below request but it's denied as per below
me@J-5CG2200NLY:~/go/$ curl https://pubsub.googleapis.com/v1/projects/myprojetc199/schemas/pbschema_1?key=mylongkeyxxxxxxxxxxxx { "error": { "code": 403, "message": "User not authorized to perform this action.", "status": "PERMISSION_DENIED" } } How can I authenticate my request?
Thanks in advance