Skip to content

Latest commit

 

History

History
executable file
·
49 lines (37 loc) · 2.33 KB

amplify-central-integration.md

File metadata and controls

executable file
·
49 lines (37 loc) · 2.33 KB
title linkTitle weight date description
Integrate with Amplify Central Marketplace
Integrate with Amplify Central Marketplace
15
2022-04-26
Connect Streams to Amplify Central to leverage tools like the Amplify Marketplace, where you can expose your Streams assets.

Follow this section to integrate Streams with Amplify Central.

Prerequisites

  • You must know your Amplify Central organization ID.
  • You must have an environment in which you wish to publish the Streams assets. For more information on how to create a new environment, see Connect and manage your environment.
  • You must have a service account in Amplify Central with the following configuration:
    • Org Roles: Central Admin
    • Authentication method: Client Certificate

Create Kubernetes secret

Streams requires the certificates associated with your service account to authenticate to Amplify Central. The following is an example of how to create a secret containing those certificates:

export NAMESPACE="my-namespace"
export PRIVATE_KEY_PATH=""
export PUBLIC_KEY_PATH=""

kubectl -n "${NAMESPACE}" create secret generic central-auth-credentials \
    --from-file=private_key.pem="${PRIVATE_KEY_PATH}" \
    --from-file=public_key.pem="${PUBLIC_KEY_PATH}"

Update your custom Helm values

Add your organization ID, your environment name, and the clientID associated to your service account to your custom Helm values for the installation. For example:

discoveryAgent:
  enabled: true
central:
  organizationID: ""
  environment: ""
  auth:
    clientID: ""

You Streams installation is now connected to Amplify Central.

You can proceed with your Streams installation, or if you have already installed Streams without enabling this integration, you can perform a Helm upgrade instead. If upgrading the Helm chart, ensure to provide the same custom values you used for your original installation and that your Streams Helm chart contains the discoveryAgent section in its values.yaml file.