Aurora Data API support

Đang mở
#2,506 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
aws, mysql, postgresql, swift
Lĩnh vực
database

Hướng nghiên cứu

Start by reading the DynamoDB plugin paths mentioned in the issue to understand how profile and role authentication are handled. Then investigate the MySQL and PostgreSQL connection forms and the Aurora Data API operations listed here; the issue does not name specific files or tests. Done means supporting the requested connection fields, IAM auth, query and transaction operations, and clearly stating the API limits in the form.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement platform-macos
Problem

An Aurora cluster in a private VPC with no public endpoint cannot be reached without a bastion. The RDS Data API exists exactly for that case, over HTTPS with IAM auth and no network path to the database, and TablePro cannot use it.

TablePro already signs AWS requests and resolves AWS profiles: AWSSigV4 and AWSCredentialResolver in apple/Plugins/TableProPluginKit/AWS/ serve RDS IAM authentication (connections/aws-iam.mdx), the DynamoDB plugin and Import from AWS (#2852). Nothing calls rds-data.

Proposed solution
  • A Data API transport option on the MySQL and PostgreSQL connection forms, taking a cluster ARN, a Secrets Manager secret ARN and a database name instead of a host and port.
  • AWS credentials through the same profile resolution IAM authentication uses: named profiles, IAM Identity Center, role_arn chains and credential_process (connections/aws-iam.mdx, Profiles).
  • ExecuteStatement for queries, and BeginTransaction, CommitTransaction and RollbackTransaction for transactions.
  • State the API's limits in the form rather than letting the user find them: no streaming, a cap on the result size, and no cursor. A result over the cap fails with that reason, and table tabs page within it.
  • Import from AWS offers Data API for a cluster that has it enabled.

Done means a connection to an Aurora PostgreSQL cluster with no route from the Mac lists its tables and runs a query, with only an AWS profile and the two ARNs.

Alternatives considered

A bastion host and an SSH tunnel.

Platform

macOS

Related database type

PostgreSQL

Ngôn ngữ chính
Swift
Star
6.2k
Fork
412
Merge trung bình
3 giờ 56 phút
Pull request đã merge (30 ngày)
669

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TableProApp/TablePro

Tất cả issue của TableProApp/TablePro

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.