Edit the secrets.yaml File

Configure sensitive Virtual Appliance settings in the secrets.yaml file.

Run the following command to edit the secrets.yaml.encrypted file:

CODE
helm secrets edit /var/appd/config/secrets.yaml.encrypted
Note: Initially, the secrets.yaml file is at /var/appd/config/secrets.yaml, but after installing the Splunk AppDynamics services, the file is automatically encrypted and moved to /var/appd/config/secrets.yaml.encrypted.

The following sections explain the parameters in the secrets.yaml file

appdController

Enter the following parameters to access the Controller:

  • rootPassword : Reset the Root password to access Controller administration page. Default value is welcome .
  • adminUsername : Create and specify the administrator username. Default value is admin .
  • adminPassword : Create and specify the password for the admin user. Default value is welcome .
  • monitoringAgentUsername and monitoringAgentPassword: Use these credentials to authenticate Virtual Appliance with Controller APIs for:
    • creating and reconciling health rules.
    • updating associated policies.
    • performing Controller-related self-monitoring operations.
YAML
appdController:
	rootUsername: root
	rootPassword: welcome
	rootAccountname: system
	adminUsername: admin
	adminPassword: welcome
	monitoringAgentUsername: admin
	monitoringAgentPassword: welcome

mysql

Specify the MySQL bootstrap configuration. This includes the root user and EUM user configuration.

YAML
mysql:
	secret:
		rootUser: root
		rootPassword: <Password>
		rootHost: '%'
		eumDb: eum_db
		eumDbUser: eum_user
		eumDbPassword: <Password>

postgres

Specify the PostgreSQL credentials.

CODE
postgres:
  users:
    postgres:
      password: <postgres-password>
    pgtest:
      password: <pgtest-password>

tls

Specify the password to protect the keystore used by the Virtual Appliance services.

YAML
tls:
	keyStorePassword: changeit

hybrid

This section is only for hybrid deployment.

Provide the Controller and MySQL credentials.

YAML
hybrid:
	controller:
		controllerKey: <Controller-Key-Value>
		tenantAccountName: customer1
		rootUsername: root
		rootPassword: welcome
		rootAccountname: system
		adminUsername: admin
		adminPassword: welcome
	mysql:
		dbUser: secapp
		dbPassword: changeit

Elasticsearch

Specify the keystore password of Elasticsearch.

CODE
elasticsearch:
  secret:
    keystorePassword: <password>

Events

Obtain and specify the Events Service secret.

CODE
events:
  secret: <<get this value>>

Kafka

Specify the Kafka Controller user password.

CODE
kafka:
  controllerUser:
    password: <password>