vw_server_keys
Creates, updates, deletes, gets or lists a vw_server_keys
resource.
Overview
Name | vw_server_keys |
Type | View |
Id | azure.sql.vw_server_keys |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
kind as kind,
JSON_EXTRACT(properties, '$.subregion') as "subregion",
JSON_EXTRACT(properties, '$.serverKeyType') as "server_key_type",
JSON_EXTRACT(properties, '$.uri') as "uri",
JSON_EXTRACT(properties, '$.thumbprint') as "thumbprint",
JSON_EXTRACT(properties, '$.creationDate') as "creation_date",
JSON_EXTRACT(properties, '$.autoRotationEnabled') as "auto_rotation_enabled",
subscriptionId,
resourceGroupName,
serverName,
keyName
FROM azure.sql.server_keys
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me';
SELECT
location as location,
kind as kind,
json_extract_path_text(properties, '$.subregion') as "subregion",
json_extract_path_text(properties, '$.serverKeyType') as "server_key_type",
json_extract_path_text(properties, '$.uri') as "uri",
json_extract_path_text(properties, '$.thumbprint') as "thumbprint",
json_extract_path_text(properties, '$.creationDate') as "creation_date",
json_extract_path_text(properties, '$.autoRotationEnabled') as "auto_rotation_enabled",
subscriptionId,
resourceGroupName,
serverName,
keyName
FROM azure.sql.server_keys
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me';