--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_bedrockagentcore_payment_credential_provider Resource - terraform-provider-awscc" subcategory: "" description: |- Resource Type definition for AWS::BedrockAgentCore::PaymentCredentialProvider --- # awscc_bedrockagentcore_payment_credential_provider (Resource) Resource Type definition for AWS::BedrockAgentCore::PaymentCredentialProvider ## Schema ### Required - `credential_provider_vendor` (String) Supported vendor types for payment providers - `name` (String) Unique name for the payment credential provider ### Optional - `provider_configuration_input` (Attributes) Provider configuration input containing secrets for creation/update (see [below for nested schema](#nestedatt--provider_configuration_input)) - `tags` (Attributes List) Tags for the payment credential provider (see [below for nested schema](#nestedatt--tags)) ### Read-Only - `created_time` (String) The timestamp when the credential provider was created - `credential_provider_arn` (String) The Amazon Resource Name (ARN) of the payment credential provider - `id` (String) Uniquely identifies the resource. - `last_updated_time` (String) The timestamp when the credential provider was last updated - `provider_configuration_output` (Attributes) Provider configuration output containing secret ARNs (no raw secrets) (see [below for nested schema](#nestedatt--provider_configuration_output)) ### Nested Schema for `provider_configuration_input` Optional: - `amazon_pay_configuration` (Attributes) Amazon Pay configuration with merchant identifiers and a delegated authorization token (see [below for nested schema](#nestedatt--provider_configuration_input--amazon_pay_configuration)) - `coinbase_cdp_configuration` (Attributes) Coinbase CDP configuration with API credentials (see [below for nested schema](#nestedatt--provider_configuration_input--coinbase_cdp_configuration)) - `pay_pal_configuration` (Attributes) PayPal configuration with REST app credentials (see [below for nested schema](#nestedatt--provider_configuration_input--pay_pal_configuration)) - `stripe_configuration` (Attributes) Stripe configuration with a restricted key, supplied inline (MANAGED) or as a Secrets Manager reference (EXTERNAL) (see [below for nested schema](#nestedatt--provider_configuration_input--stripe_configuration)) - `stripe_privy_configuration` (Attributes) Stripe Privy configuration with credentials (see [below for nested schema](#nestedatt--provider_configuration_input--stripe_privy_configuration)) ### Nested Schema for `provider_configuration_input.amazon_pay_configuration` Optional: - `amazon_pay_region` (String) The Amazon Pay region the merchant's authorization token belongs to. AgentCore uses it to pick the Amazon Pay API host. - `authorization_token` (String) The delegated authorization token, supplied inline. Mutually exclusive with AuthorizationTokenConfig. - `authorization_token_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--amazon_pay_configuration--authorization_token_config)) - `authorization_token_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `environment` (String) The Amazon Pay API environment - `merchant_id` (String) The Amazon Pay merchant (seller) ID - `store_id` (String) The Amazon Pay store (client) ID ### Nested Schema for `provider_configuration_input.amazon_pay_configuration.authorization_token_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_input.coinbase_cdp_configuration` Optional: - `api_key_id` (String) The Coinbase CDP API key ID - `api_key_secret` (String) The Coinbase CDP API key secret - `api_key_secret_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--coinbase_cdp_configuration--api_key_secret_config)) - `api_key_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `wallet_secret` (String) The Coinbase CDP wallet secret - `wallet_secret_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--coinbase_cdp_configuration--wallet_secret_config)) - `wallet_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. ### Nested Schema for `provider_configuration_input.coinbase_cdp_configuration.api_key_secret_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_input.coinbase_cdp_configuration.wallet_secret_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_input.pay_pal_configuration` Optional: - `client_id` (String) The PayPal REST app client ID - `client_secret` (String) The PayPal REST app client secret, supplied inline. Mutually exclusive with ClientSecretConfig. - `client_secret_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--pay_pal_configuration--client_secret_config)) - `client_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `environment` (String) The PayPal API environment ### Nested Schema for `provider_configuration_input.pay_pal_configuration.client_secret_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_input.stripe_configuration` Optional: - `publishable_key` (String) The Stripe publishable key (pk_live_* or pk_test_*). Its mode must match the restricted key's. - `restricted_key` (String) The Stripe restricted key (rk_live_* or rk_test_*), supplied inline. Mutually exclusive with RestrictedKeyConfig. - `restricted_key_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--stripe_configuration--restricted_key_config)) - `restricted_key_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. ### Nested Schema for `provider_configuration_input.stripe_configuration.restricted_key_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_input.stripe_privy_configuration` Optional: - `app_id` (String) The app ID provided by Privy - `app_secret` (String) The app secret provided by Privy - `app_secret_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--stripe_privy_configuration--app_secret_config)) - `app_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `authorization_id` (String) The authorization ID for the Stripe Privy integration - `authorization_private_key` (String) The authorization private key for the Stripe Privy integration - `authorization_private_key_config` (Attributes) A reference to a customer-provided secret stored in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_input--stripe_privy_configuration--authorization_private_key_config)) - `authorization_private_key_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. ### Nested Schema for `provider_configuration_input.stripe_privy_configuration.app_secret_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_input.stripe_privy_configuration.authorization_private_key_config` Optional: - `json_key` (String) The JSON key within the secret that contains the credential value - `secret_id` (String) The ID or ARN of the secret in AWS Secrets Manager ### Nested Schema for `tags` Optional: - `key` (String) - `value` (String) ### Nested Schema for `provider_configuration_output` Read-Only: - `amazon_pay_configuration` (Attributes) Amazon Pay configuration output with the authorization token secret ARN (see [below for nested schema](#nestedatt--provider_configuration_output--amazon_pay_configuration)) - `coinbase_cdp_configuration` (Attributes) Coinbase CDP configuration output with secret ARNs (see [below for nested schema](#nestedatt--provider_configuration_output--coinbase_cdp_configuration)) - `pay_pal_configuration` (Attributes) PayPal configuration output with the client secret ARN (see [below for nested schema](#nestedatt--provider_configuration_output--pay_pal_configuration)) - `stripe_configuration` (Attributes) Stripe configuration output with the restricted key secret ARN (see [below for nested schema](#nestedatt--provider_configuration_output--stripe_configuration)) - `stripe_privy_configuration` (Attributes) Stripe Privy configuration output with secret ARNs (see [below for nested schema](#nestedatt--provider_configuration_output--stripe_privy_configuration)) ### Nested Schema for `provider_configuration_output.amazon_pay_configuration` Read-Only: - `amazon_pay_region` (String) The Amazon Pay region the merchant's authorization token belongs to. AgentCore uses it to pick the Amazon Pay API host. - `authorization_token_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--amazon_pay_configuration--authorization_token_arn)) - `authorization_token_json_key` (String) The JSON key within the secret that contains the authorization token value - `authorization_token_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `environment` (String) The Amazon Pay API environment - `merchant_id` (String) The Amazon Pay merchant (seller) ID - `store_id` (String) The Amazon Pay store (client) ID ### Nested Schema for `provider_configuration_output.amazon_pay_configuration.authorization_token_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_output.coinbase_cdp_configuration` Read-Only: - `api_key_id` (String) The Coinbase CDP API key ID - `api_key_secret_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--coinbase_cdp_configuration--api_key_secret_arn)) - `api_key_secret_json_key` (String) The JSON key within the secret that contains the API key secret value - `api_key_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `wallet_secret_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--coinbase_cdp_configuration--wallet_secret_arn)) - `wallet_secret_json_key` (String) The JSON key within the secret that contains the wallet secret value - `wallet_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. ### Nested Schema for `provider_configuration_output.coinbase_cdp_configuration.api_key_secret_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_output.coinbase_cdp_configuration.wallet_secret_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_output.pay_pal_configuration` Read-Only: - `client_id` (String) The PayPal REST app client ID - `client_secret_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--pay_pal_configuration--client_secret_arn)) - `client_secret_json_key` (String) The JSON key within the secret that contains the client secret value - `client_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `environment` (String) The PayPal API environment ### Nested Schema for `provider_configuration_output.pay_pal_configuration.client_secret_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_output.stripe_configuration` Read-Only: - `publishable_key` (String) The Stripe publishable key stored on the provider. Only present when one was supplied. - `restricted_key_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--stripe_configuration--restricted_key_arn)) - `restricted_key_json_key` (String) The JSON key within the secret that contains the restricted key value - `restricted_key_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. ### Nested Schema for `provider_configuration_output.stripe_configuration.restricted_key_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_output.stripe_privy_configuration` Read-Only: - `app_id` (String) The app ID provided by Privy - `app_secret_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--stripe_privy_configuration--app_secret_arn)) - `app_secret_json_key` (String) The JSON key within the secret that contains the app secret value - `app_secret_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. - `authorization_id` (String) The authorization ID for the Stripe Privy integration - `authorization_private_key_arn` (Attributes) Contains information about a secret in AWS Secrets Manager (see [below for nested schema](#nestedatt--provider_configuration_output--stripe_privy_configuration--authorization_private_key_arn)) - `authorization_private_key_json_key` (String) The JSON key within the secret that contains the authorization private key value - `authorization_private_key_source` (String) The source of the secret. Use MANAGED for service-managed secrets or EXTERNAL for customer-provided secrets. ### Nested Schema for `provider_configuration_output.stripe_privy_configuration.app_secret_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ### Nested Schema for `provider_configuration_output.stripe_privy_configuration.authorization_private_key_arn` Read-Only: - `secret_arn` (String) The ARN of the secret in AWS Secrets Manager ## Import Import is supported using the following syntax: In Terraform v1.12.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `identity` attribute, for example: ```terraform import { to = awscc_bedrockagentcore_payment_credential_provider.example identity = { credential_provider_arn = "credential_provider_arn" } } ``` ### Identity Schema #### Required - `credential_provider_arn` (String) The Amazon Resource Name (ARN) of the payment credential provider #### Optional - `account_id` (String) AWS Account where this resource is managed - `region` (String) Region where this resource is managed In Terraform v1.5.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `id` attribute, for example: ```terraform import { to = awscc_bedrockagentcore_payment_credential_provider.example id = "credential_provider_arn" } ``` The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: ```shell $ terraform import awscc_bedrockagentcore_payment_credential_provider.example "credential_provider_arn" ```