aliyun-rds-supabase

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Category: service
分类:服务

Alibaba Cloud RDS Supabase (RDS AI Service 2025-05-07)

阿里云RDS Supabase(RDS AI服务 2025-05-07)

Manage RDS Supabase app instances and related configurations via RDS AI Service OpenAPI, including lifecycle, auth, storage, RAG, IP whitelist, and SSL.
通过RDS AI服务OpenAPI管理RDS Supabase应用实例及相关配置,包括生命周期、认证、存储、RAG、IP白名单和SSL。

Prerequisites

前置条件

  • Use least-privilege RAM user/role AccessKey and prefer environment variables for AK/SK.
  • OpenAPI uses RPC signing; prefer official SDKs or OpenAPI Explorer.
  • 使用权限最小化的RAM用户/角色AccessKey,优先通过环境变量存储AK/SK。
  • OpenAPI采用RPC签名机制,优先使用官方SDK或OpenAPI Explorer。

Workflow

工作流

  1. Confirm resource type: instance / auth / storage / RAG / security configuration.
  2. Locate operations in
    references/api_overview.md
    .
  3. Choose invocation method (SDK / OpenAPI Explorer / custom signing).
  4. After changes, verify state and configuration with query APIs.
  1. 确认资源类型:实例 / 认证 / 存储 / RAG / 安全配置。
  2. references/api_overview.md
    中查找对应操作。
  3. 选择调用方式(SDK / OpenAPI Explorer / 自定义签名)。
  4. 变更完成后,通过查询API验证状态和配置是否生效。

AccessKey Priority (Required)

AccessKey优先级(必填)

  1. Environment variables (preferred):
    ALICLOUD_ACCESS_KEY_ID
    /
    ALICLOUD_ACCESS_KEY_SECRET
    /
    ALICLOUD_REGION_ID
    Region policy:
    ALICLOUD_REGION_ID
    is optional default; if unset choose the most reasonable region and ask when unclear.
  2. Standard credentials file:
    ~/.alibabacloud/credentials
  1. 环境变量(优先):
    ALICLOUD_ACCESS_KEY_ID
    /
    ALICLOUD_ACCESS_KEY_SECRET
    /
    ALICLOUD_REGION_ID
    区域规则:
    ALICLOUD_REGION_ID
    为可选默认值,如未设置则选择最合理的区域,存在疑问时向用户询问。
  2. 标准凭证文件:
    ~/.alibabacloud/credentials

Default Region Strategy

默认区域策略

  • If region is not specified, choose the most reasonable region; ask the user when unclear.
  • Only run all-region queries when explicitly needed or user-approved (call
    ListRegions
    first, then query each region).
  • If user provides region, query only that region.
  • 若未指定区域,选择最合理的区域;存在疑问时询问用户。
  • 仅在明确需要或用户批准时运行全区域查询(先调用
    ListRegions
    ,再逐个查询每个区域)。
  • 若用户提供了区域,则仅查询该区域。

Common Operation Map

常用操作映射

  • Instance:
    CreateAppInstance
    /
    DeleteAppInstance
    /
    StartInstance
    /
    StopInstance
    /
    RestartInstance
  • Connectivity and auth:
    DescribeInstanceEndpoints
    /
    DescribeInstanceAuthInfo
    /
    ModifyInstanceAuthConfig
  • Storage:
    DescribeInstanceStorageConfig
    /
    ModifyInstanceStorageConfig
  • Security:
    ModifyInstanceIpWhitelist
    /
    DescribeInstanceIpWhitelist
    /
    ModifyInstanceSSL
    /
    DescribeInstanceSSL
  • RAG:
    ModifyInstanceRAGConfig
    /
    DescribeInstanceRAGConfig
  • 实例:
    CreateAppInstance
    /
    DeleteAppInstance
    /
    StartInstance
    /
    StopInstance
    /
    RestartInstance
  • 连接与认证:
    DescribeInstanceEndpoints
    /
    DescribeInstanceAuthInfo
    /
    ModifyInstanceAuthConfig
  • 存储:
    DescribeInstanceStorageConfig
    /
    ModifyInstanceStorageConfig
  • 安全:
    ModifyInstanceIpWhitelist
    /
    DescribeInstanceIpWhitelist
    /
    ModifyInstanceSSL
    /
    DescribeInstanceSSL
  • RAG:
    ModifyInstanceRAGConfig
    /
    DescribeInstanceRAGConfig

Clarifying questions (ask when uncertain)

澄清问题(不确定时询问)

  1. What is the target instance ID and region?
  2. Is this instance lifecycle management or configuration changes (auth/storage/RAG/IP whitelist/SSL)?
  3. Do you need batch operations or an initial state query first?
  1. 目标实例ID和区域是什么?
  2. 本次操作是实例生命周期管理还是配置变更(认证/存储/RAG/IP白名单/SSL)?
  3. 是否需要批量操作,或者先执行初始状态查询?

Output Policy

输出策略

If you need to save results or responses, write to:
output/database-rds-supabase/
若需要保存结果或响应,请写入以下路径:
output/database-rds-supabase/

Validation

验证

bash
mkdir -p output/aliyun-rds-supabase
echo "validation_placeholder" > output/aliyun-rds-supabase/validate.txt
Pass criteria: command exits 0 and
output/aliyun-rds-supabase/validate.txt
is generated.
bash
mkdir -p output/aliyun-rds-supabase
echo "validation_placeholder" > output/aliyun-rds-supabase/validate.txt
通过标准:命令退出码为0,且已生成
output/aliyun-rds-supabase/validate.txt
文件。

Output And Evidence

输出与凭证

  • Save artifacts, command outputs, and API response summaries under
    output/aliyun-rds-supabase/
    .
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.
  • 将产物、命令输出和API响应摘要保存到
    output/aliyun-rds-supabase/
    目录下。
  • 在凭证文件中包含关键参数(区域/资源ID/时间范围),以便复现操作。

Prerequisites

前置条件

  • Configure least-privilege Alibaba Cloud credentials before execution.
  • Prefer environment variables:
    ALICLOUD_ACCESS_KEY_ID
    ,
    ALICLOUD_ACCESS_KEY_SECRET
    , optional
    ALICLOUD_REGION_ID
    .
  • If region is unclear, ask the user before running mutating operations.
  • 执行前配置权限最小化的阿里云凭证。
  • 优先使用环境变量:
    ALICLOUD_ACCESS_KEY_ID
    ALICLOUD_ACCESS_KEY_SECRET
    ,可选
    ALICLOUD_REGION_ID
  • 若区域不明确,在执行变更操作前询问用户。

Workflow

工作流

  1. Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
  2. Run one minimal read-only query first to verify connectivity and permissions.
  3. Execute the target operation with explicit parameters and bounded scope.
  4. Verify results and save output/evidence files.
  1. 确认用户意图、区域、标识,以及操作是只读还是变更类型。
  2. 先运行一次最小化的只读查询,验证连通性和权限。
  3. 使用明确的参数和有限范围执行目标操作。
  4. 验证结果并保存输出/凭证文件。

References

参考资料

  • API overview and operation groups:
    references/api_overview.md
  • Core API parameter quick reference:
    references/api_reference.md
  • All-region query examples:
    references/query-examples.md
  • Official source list:
    references/sources.md
  • API概述与操作分组:
    references/api_overview.md
  • 核心API参数快速参考:
    references/api_reference.md
  • 全区域查询示例:
    references/query-examples.md
  • 官方资源列表:
    references/sources.md