Configure authentication for automatic usage reporting

This topic describes setting up the authentication of the agent with the Amplify Platform.

Create SSH public-private key pair

To authorize a service account with Amplify platform, you need a Secure Shell (SSH) public and private key pair in RSA format. Use openssl in the command-line interface (CLI) on the agent host computer to create. Run each command from the agent install directory.

To generate the private key:

openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048

To generate the public key:

openssl rsa -pubout -in private_key.pem -out public_key.pem

The key files are generated in the current directory.

Create a service account in Central

  1. Log on to the platform and click the Central tile.
  2. Click Access on the left side to open the Service Accounts page.
  3. Click + Service Account at top right to add an account.
  4. Type a name for the account.
  5. Open the public key file you generated. Copy and paste the public key in the provided space.
  6. Click Save at the top right. You are prompted to download the service account JSON file. This file contains details about the account just created.
  7. Click Download service account JSON file. You refer to this file when you configure automated usage reporting.

Related Links