ST_SetAKSecret
更新时间:
复制 MD 格式
Sets the AccessKey secret used to access a raster object stored in Alibaba Cloud Object Storage Service (OSS).
Prerequisites
The raster object must be stored in OSS.
Syntax
raster ST_SetAKSecret(raster raster_obj, text key, bool valid default true)Parameters
| Parameter | Description |
|---|---|
raster_obj | The name of the raster object. |
key | The AccessKey secret for logging on to OSS. If set to NULL, the previous AccessKey secret is used. |
valid | Specifies whether to verify the validity of the logon information. Default value: true. |
Examples
UPDATE raster_table
SET rast = ST_SetAKSecret(rast, 'OSS_ACCESSKEY_SECRET');该文章对您有帮助吗?