All Products
Search
Document Center

AnalyticDB:ST_AKId

Last Updated:Mar 28, 2026

Returns the AccessKey ID associated with a raster object stored in Object Storage Service (OSS).

Prerequisites

The raster object must be stored in OSS.

Syntax

text ST_AKId(raster raster_obj)

Return type: text — the AccessKey ID string associated with the raster object.

Parameters

ParameterDescription
raster_objThe raster object to query.

Examples

SELECT ST_AKId(rast) FROM raster_table;

Expected output:

     st_akid
------------------
 OSS_ACCESSKEY_ID

The output is the literal AccessKey ID string stored with the raster object.

Usage notes

  • Use ST_AKId together with the function that updates AccessKey IDs in batch to verify the AccessKey ID before and after an update.