AWS bedrock-agentcore documentation change
Summary
Restructured CLI documentation sections, added automation tip, and moved CLI examples earlier in the document
Security assessment
Changes involve documentation restructuring and added convenience tips about automation tools. No security vulnerabilities, fixes, or new security features are mentioned. References to credentials remain unchanged from previous documentation.
Diff
diff --git a/bedrock-agentcore/latest/devguide/payments-create-manager.md b/bedrock-agentcore/latest/devguide/payments-create-manager.md index 08f7a9787..017b51b4d 100644 --- a//bedrock-agentcore/latest/devguide/payments-create-manager.md +++ b//bedrock-agentcore/latest/devguide/payments-create-manager.md @@ -14,0 +15,4 @@ This guide walks you through creating a Payment Manager and attaching a Payment +###### Tip + +You can automate the steps on this page with the AgentCore Payments skill in the AWS agent toolkit. The skill is part of the **aws-agents** plugin and lets an AI coding agent create your Payment Manager, connector, credential provider, payment instrument, and session using the `agentcore` CLI, and add an x402 payment tool to your agent. For details, see the [quickstart](./payments-getting-started.html) and the [AWS agent toolkit on GitHub](https://github.com/aws/agent-toolkit-for-aws/tree/main). + @@ -176,0 +181,51 @@ The Payment Manager details page includes sections for **Payment connectors** , +AgentCore CLI + + +The AgentCore CLI creates the credential provider, Payment Manager, and Payment Connector together from your project directory. Requires CLI v0.19.0 or later. + +**Interactive wizard:** + + + agentcore add payment-manager + +The wizard prompts for manager name, pattern, auto-payment toggle, spend limit, and optionally walks through adding a connector with provider credentials. + +**Non-interactive (Coinbase CDP):** + + + agentcore add payment-manager \ + --name MyPaymentManager \ + --auto-payment \ + --default-spend-limit 10.00 + + agentcore add payment-connector \ + --manager MyPaymentManager \ + --name CoinbaseConnector \ + --provider CoinbaseCDP \ + --api-key-id <YOUR_API_KEY_ID> \ + --api-key-secret <YOUR_API_KEY_SECRET> \ + --wallet-secret <YOUR_WALLET_SECRET> + + agentcore deploy + +**Non-interactive (Stripe/Privy):** + + + agentcore add payment-manager \ + --name MyPaymentManager \ + --auto-payment \ + --default-spend-limit 10.00 + + agentcore add payment-connector \ + --manager MyPaymentManager \ + --name StripePrivyConnector \ + --provider StripePrivy \ + --app-id <YOUR_APP_ID> \ + --app-secret <YOUR_APP_SECRET> \ + --authorization-id <YOUR_AUTHORIZATION_ID> \ + --authorization-private-key <YOUR_PRIVATE_KEY_BASE64> + + agentcore deploy + +Running `agentcore deploy` provisions IAM roles, stores credentials in AgentCore Identity, and creates the Payment Manager and Connector. + @@ -513,51 +567,0 @@ The AgentCore SDK provides a convenience method `create_payment_manager_with_con -AgentCore CLI - - -The AgentCore CLI creates the credential provider, Payment Manager, and Payment Connector together from your project directory. Requires CLI v0.19.0 or later. - -**Interactive wizard:** - - - agentcore add payment-manager - -The wizard prompts for manager name, pattern, auto-payment toggle, spend limit, and optionally walks through adding a connector with provider credentials. - -**Non-interactive (Coinbase CDP):** - - - agentcore add payment-manager \ - --name MyPaymentManager \ - --auto-payment \ - --default-spend-limit 10.00 - - agentcore add payment-connector \ - --manager MyPaymentManager \ - --name CoinbaseConnector \ - --provider CoinbaseCDP \ - --api-key-id <YOUR_API_KEY_ID> \ - --api-key-secret <YOUR_API_KEY_SECRET> \ - --wallet-secret <YOUR_WALLET_SECRET> - - agentcore deploy - -**Non-interactive (Stripe/Privy):** - - - agentcore add payment-manager \ - --name MyPaymentManager \ - --auto-payment \ - --default-spend-limit 10.00 - - agentcore add payment-connector \ - --manager MyPaymentManager \ - --name StripePrivyConnector \ - --provider StripePrivy \ - --app-id <YOUR_APP_ID> \ - --app-secret <YOUR_APP_SECRET> \ - --authorization-id <YOUR_AUTHORIZATION_ID> \ - --authorization-private-key <YOUR_PRIVATE_KEY_BASE64> - - agentcore deploy - -Running `agentcore deploy` provisions IAM roles, stores credentials in AgentCore Identity, and creates the Payment Manager and Connector. - @@ -579,0 +584,6 @@ State | Description +AgentCore CLI + + + + agentcore status + @@ -609 +619 @@ AgentCore SDK -AgentCore CLI +## List Payment Managers @@ -610,0 +621 @@ AgentCore CLI +###### Example @@ -611,0 +623 @@ AgentCore CLI +AgentCore CLI @@ -613 +624,0 @@ AgentCore CLI - agentcore status @@ -615 +625,0 @@ AgentCore CLI -## List Payment Managers @@ -617 +627 @@ AgentCore CLI -###### Example + agentcore status @@ -645 +655 @@ AgentCore SDK -AgentCore CLI +## Delete a Payment Manager @@ -646,0 +657 @@ AgentCore CLI +###### Example @@ -647,0 +659 @@ AgentCore CLI +AgentCore CLI @@ -649 +660,0 @@ AgentCore CLI - agentcore status @@ -651 +661,0 @@ AgentCore CLI -## Delete a Payment Manager @@ -653 +663,5 @@ AgentCore CLI -###### Example + agentcore remove payment-connector --manager MyPaymentManager --name CoinbaseConnector --yes + agentcore remove payment-manager --name MyPaymentManager --yes + agentcore deploy + +The `remove` commands update local configuration. The follow-up `deploy` tears down the payment infrastructure in your account. @@ -682,10 +695,0 @@ AgentCore SDK -AgentCore CLI - - - - agentcore remove payment-connector --manager MyPaymentManager --name CoinbaseConnector --yes - agentcore remove payment-manager --name MyPaymentManager --yes - agentcore deploy - -The `remove` commands update local configuration. The follow-up `deploy` tears down the payment infrastructure in your account. -