legacy_signing_keys
Creates, updates, deletes, gets or lists a legacy_signing_keys resource.
Overview​
| Name | legacy_signing_keys |
| Type | Resource |
| Id | supabase.config.legacy_signing_keys |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | (pattern: <code>^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$</code>) |
algorithm | string | (EdDSA, ES256, RS256, HS256) |
created_at | string (date-time) | (pattern: <code>^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:.\d+)?)?(?:Z))$</code>) |
public_jwk | | |
status | string | (in_use, previously_used, revoked, standby) |
updated_at | string (date-time) | (pattern: <code>^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:.\d+)?)?(?:Z))$</code>) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | ref | ||
create | insert | ref |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ref | string | Supabase project reference (the Project ID shown in the dashboard under Settings -> General; 20 lowercase letters). Resolved from the SUPABASE_PROJECT_ID environment variable when it is set (x-stackQL-envVar); otherwise it must be supplied on every project-scoped query as WHERE ref = '<ref>'. A WHERE value always takes precedence over the environment. (x-stackQL-envVar: SUPABASE_PROJECT_ID) |
SELECT examples​
- get
No description available.
SELECT
id,
algorithm,
created_at,
public_jwk,
status,
updated_at
FROM supabase.config.legacy_signing_keys
WHERE ref = '{{ ref }}' -- required unless SUPABASE_PROJECT_ID is set
;
INSERT examples​
- create
- Manifest
No description available.
INSERT INTO supabase.config.legacy_signing_keys (
ref
)
SELECT
'{{ ref }}'
RETURNING
id,
algorithm,
created_at,
public_jwk,
status,
updated_at
;
# Description fields are for documentation purposes
- name: legacy_signing_keys
props:
- name: ref
value: "{{ ref }}"
description: Required parameter for the legacy_signing_keys resource.