GetSupabaseProjectApiKeys
Queries the API keys and JWT secrets for a Supabase instance.
Operation description
This operation queries the API keys and JWT secrets for a Supabase instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:GetSupabaseProjectApiKeys |
get |
*SupabaseProject
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to view the available region IDs. |
cn-hangzhou |
| ProjectId |
string |
Yes |
The Supabase instance ID. |
sbp-481**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D**** |
| ApiKeys |
array<object> |
A list of API keys. |
|
|
object |
An API key. |
||
| Name |
string |
The name of the API key, such as anon key, service role key, or JWT secret. |
anon key |
| ApiKey |
string |
The value of the API key. |
Tmz2Z59caMDeq/Xi9vuc**** |
Examples
Success response
JSON format
{
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D****",
"ApiKeys": [
{
"Name": "anon key",
"ApiKey": "Tmz2Z59caMDeq/Xi9vuc****"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.