When running Ory Tunnel a temporary API key is cre...
# ory-network
r
When running Ory Tunnel a temporary API key is created, for example:
Copy code
ak: &{Id:9803f82c-e301-49a0-84a2-0d9ddd71c0e7 Name:Ory CLI Proxy / Tunnel - Temporary API Key OwnerId:fc9238c0-392d-4548-a4a1-db498b010e15 ProjectId:0x140000f1a40 Value:0x140000f1a10}
How to get the value of this API key? It's not accessible through the cloud console and I'm not sure how to work with the values printed to the console (shared above).
s
Why do you need to access it? You can just create a new one right?
r
If my understanding is correct, in order to access the API endpoints requiring the access token through Ory Tunnel you have to use the temporary key that is generated. How do I find that key once I run Ory Tunnel? I only see the log that I shared above, with what seems to be an address to the value but not the value itself.
s
You can use any PAT to access the API
the tunnel is only really meant for client-side browser requests, and those never need the PAT
on the server side you don't have to care about cross-origin requests so you can just use the API without tunnel for that