IBM Cloud Docs
Configure the IAM endpoint by using Helm

Configure the IAM endpoint by using Helm

When you deploy or upgrade the Logging agent, you can configure the logs-values.yaml file to set env.iamEnvironment to control the IAM endpoint that is used by the agent to exchange the tokens.

The default value is Production.

Valid values are: Production, PrivateProduction and Custom.

Update the file named logs-values.yaml that you use to deploy or upgrade the agent with the following content:

  • Set Production to use the iam.cloud.ibm.com default endpoint

    Sample logs-values.yaml file looks as follows:

    env:
      iamEnvironment: "Production"
    
  • Set PrivateProduction to use the private.iam.cloud.ibm.com endpoint

    Sample logs-values.yaml file looks as follows:

    env:
      iamEnvironment: "PrivateProduction"
    
  • Set Custom to use a custom IAM endpoint (for example private.eu-de.iam.cloud.ibm.com). You must also set env.iamHost.

    Sample logs-values.yaml file looks as follows:

    env:
      iamEnvironment: "Custom"
      iamHost: "private.eu-de.iam.cloud.ibm.com"
    

After you modify the logs-values.yaml, you can Upgrade the agent or continue modifying the file before applying all the changes.