Skip to content

Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers

Description

Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.

Usage

bedrockagentcorecontrol_create_payment_credential_provider(name,
  credentialProviderVendor, providerConfigurationInput, tags)

Arguments

  • name

    [required] Unique name for the payment credential provider.

  • credentialProviderVendor

    [required] The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).

  • providerConfigurationInput

    [required] Configuration specific to the vendor, including API credentials.

  • tags

    Optional tags for resource organization.

Value

A list with the following syntax:

list(
  name = "string",
  credentialProviderVendor = "CoinbaseCDP"|"StripePrivy",
  credentialProviderArn = "string",
  providerConfigurationOutput = list(
    coinbaseCdpConfiguration = list(
      apiKeyId = "string",
      apiKeySecretArn = list(
        secretArn = "string"
      ),
      apiKeySecretJsonKey = "string",
      apiKeySecretSource = "MANAGED"|"EXTERNAL",
      walletSecretArn = list(
        secretArn = "string"
      ),
      walletSecretJsonKey = "string",
      walletSecretSource = "MANAGED"|"EXTERNAL"
    ),
    stripePrivyConfiguration = list(
      appId = "string",
      appSecretArn = list(
        secretArn = "string"
      ),
      appSecretJsonKey = "string",
      appSecretSource = "MANAGED"|"EXTERNAL",
      authorizationPrivateKeyArn = list(
        secretArn = "string"
      ),
      authorizationPrivateKeyJsonKey = "string",
      authorizationPrivateKeySource = "MANAGED"|"EXTERNAL",
      authorizationId = "string"
    )
  )
)

Request syntax

svc$create_payment_credential_provider(
  name = "string",
  credentialProviderVendor = "CoinbaseCDP"|"StripePrivy",
  providerConfigurationInput = list(
    coinbaseCdpConfiguration = list(
      apiKeyId = "string",
      apiKeySecret = "string",
      apiKeySecretSource = "MANAGED"|"EXTERNAL",
      apiKeySecretConfig = list(
        secretId = "string",
        jsonKey = "string"
      ),
      walletSecret = "string",
      walletSecretSource = "MANAGED"|"EXTERNAL",
      walletSecretConfig = list(
        secretId = "string",
        jsonKey = "string"
      )
    ),
    stripePrivyConfiguration = list(
      appId = "string",
      appSecret = "string",
      appSecretSource = "MANAGED"|"EXTERNAL",
      appSecretConfig = list(
        secretId = "string",
        jsonKey = "string"
      ),
      authorizationPrivateKey = "string",
      authorizationPrivateKeySource = "MANAGED"|"EXTERNAL",
      authorizationPrivateKeyConfig = list(
        secretId = "string",
        jsonKey = "string"
      ),
      authorizationId = "string"
    )
  ),
  tags = list(
    "string"
  )
)