All Products
Search
Document Center

PolarDB:ST_AKId

Last Updated:Mar 28, 2026

Queries the AccessKey ID used to access a raster object stored in Alibaba Cloud Object Storage Service (OSS). This function can be used with the function that modifies multiple AccessKey IDs at a time.

Prerequisites

The raster object must be stored in OSS.

Syntax

text ST_AKId(raster raster_obj)

Parameters

ParameterDescription
raster_objThe name of the raster object.

Return value

Returns the AccessKey ID associated with the raster object as a text value.

Example

SELECT ST_AKId(rast) FROM raster_table;

Output:

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