project deploy cannot create payment credential providers; support Quick Create connectors first
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
- Sôi nổi
- Công nghệ
- aws, typescript
Hướng nghiên cứu
Bắt đầu với src/projectSchemas/payment.ts và src/assets/cdk/lib/cdk-stack.ts, sau đó kiểm tra các luồng thông tin xác thực và connector thanh toán phía sau agentcore project add credentials. Xác nhận liệu Quick Create có khả dụng cho từng vendor được hỗ trợ hay không, xác định authorizationUrl và việc tạo thông tin xác thực sẽ hoạt động như thế nào, đồng thời xác minh rằng agentcore project deploy xử lý đường dẫn đã chọn mà không từ chối payment connector.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
agentcore project deploy refuses any project declaring a PaymentCredentialProvider credential:
Error: Credential 'my-pay' is a PaymentCredentialProvider, which 'agentcore project deploy'
cannot create: CloudFormation has no payment credential provider resource, and a payment
provider needs vendor configuration (API key, wallet and authorization secrets) that
agentcore.json has no fields for. Remove the credential and any payment connector referencing
it to deploy the rest of the project.
That is deliberate — see #2089, which moved credential providers into CloudFormation. Failing fast beats half-creating a provider. This issue is the follow-up to actually support payments under project deploy.
A payment credential can only reach agentcore.json by hand today: agentcore project add credentials offers only api-key and oauth. So no documented flow produces this error yet.
Two paths, and the cheap one is already released
Quick Create — needs no credential provider at all
agentcore-l3-cdk-constructs#324 ("feat(payments): support Quick Create connectors") is on the L3's main and shipped in 0.1.0-alpha.49. A Quick Create connector needs no credentialProviderArn — the customer completes authorization out of band via a returned URL.
This is the path to do first. It closes the common case without touching the credential schema at all:
- make
credentialNameoptional insrc/projectSchemas/payment.ts - add a Quick Create connector variant to the spec
- surface the returned
authorizationUrlso the user knows how to finish setup src/assets/cdk/lib/cdk-stack.tsskips the credential-map lookup for those connectors
Unverified: whether Quick Create is Coinbase-specific. If StripePrivy has no Quick Create equivalent, it still needs the Manual path below. Confirm before scoping.
Manual — needs real work
The Manual path is what the fail-fast message describes, and the gap is genuine:
-
No CloudFormation resource. Unlike
ApiKeyCredentialProviderandOAuth2CredentialProvider, there is no payment credential provider type usable from the stack, so the pattern #2089 established (CFN owns the provider, the CLI syncs the secret post-deploy) does not apply. -
PaymentCredentialSchemahas nowhere to put vendor configuration. It carries only{authorizerType, name, provider}. The API wants vendor identifiers and secrets:- CoinbaseCDP: API key ID + secret, wallet secret
- StripePrivy: app ID, authorization ID, and their secrets
The non-secret identifiers need schema fields. The secrets need the same
.env.local-or-secretRefstory the other two credential kinds have, which means extendingcredentialEnvVarNamebeyond its current one-suffix shape (_CLIENT_SECRET) to several per credential.
Also worth deciding here
agentcore project add credentials payment does not exist. Whichever path lands, the credential should be creatable without hand-editing agentcore.json.
Related
- #2089 — moves credential providers into CloudFormation; adds the fail-fast this issue removes
- #2093 — the original credential-deploy issue and its remaining open items
- Ngôn ngữ chính
- TypeScript
- Star
- 291
- Fork
- 96
- Merge trung bình
- 21 giờ 31 phút
- Pull request đã merge (30 ngày)
- 217
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/agentcore-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
aws/agentcore-cli#2395 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
aws/agentcore-cli#2392 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws/agentcore-cli#2267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/agentcore-cli#2258 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
aws/agentcore-cli#2176 ·
Tất cả issue của aws/agentcore-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
bcgov/bc-wallet-mobile#4761 · 1 bình luận ·
-
external-issue to-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100