project deploy cannot create payment credential providers; support Quick Create connectors first
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- aws, typescript
調査の方向性
まず src/projectSchemas/payment.ts と src/assets/cdk/lib/cdk-stack.ts から始め、agentcore project add credentials の背後にある支払い認証情報とコネクタのフローを調査します。サポートされている各ベンダーで Quick Create を利用できるか確認し、authorizationUrl と認証情報の作成がどのように動作すべきかを定義し、agentcore project deploy が支払いコネクタを拒否せずに選択されたパスを処理できることを検証します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 291
- フォーク
- 96
- 平均マージ
- 21時間 31分
- マージ済み PR(30日)
- 217
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/agentcore-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
aws/agentcore-cli#2395 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
aws/agentcore-cli#2392 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/agentcore-cli#2267 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2258 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2176 ·
aws/agentcore-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
bcgov/bc-wallet-mobile#4761 · コメント 1 件 ·
-
external-issue to-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100