brash-raincoat-15175
06/15/2024, 8:19 PMchilly-king-10285
06/15/2024, 8:19 PMchilly-king-10285
06/15/2024, 8:20 PMory_apikey_
or ory_pat_
, which makes it easy to identify them when analyzing code. For example, when calling the Admin API at /admin/identities
, include the API Key in the Authorization
header: GET /admin/identities HTTP/1.1 Host: {project.slug}.<http://projects.oryapis.com|projects.oryapis.com> Accept: application/json Authorization: Bearer {API-Key}
Please note that to perform this operation, you must be authenticated by means of one of the following methods: oryNetworkCookie
. For more information, you can refer to the [Ory documentation](https://www.ory.sh/docs/concepts/personal-access-token#authorizing-ory-network-project-admin-apis).brash-raincoat-15175
06/15/2024, 8:20 PMchilly-king-10285
06/15/2024, 8:20 PMchilly-king-10285
06/15/2024, 8:21 PMbash export ORY_PAT=YOUR_API_KEY # API Key copied from the Ory Console, 'ory_pat' prefix included.
This command sets the ORY_PAT
environment variable to your API key, which can then be used by your application. For more detailed information or other methods of creating API keys, you may want to refer to the complete Ory documentation or the Ory API reference.magnificent-energy-493
brash-raincoat-15175
06/17/2024, 9:46 AMmagnificent-energy-493
magnificent-energy-493