Setting the secret environment variables

Pass secrets to the installer as environment variables, which keeps them out of the configuration files and out of the saved profile.

Secrets are never stored in configuration files. Pass them as environment variables instead, which keeps them out of the files and out of the saved profile. The following table lists the variables:

Table 1. Secret environment variables
Variable Supplies
LCM_SECRET_OCI_REGISTRY_TOKEN The password or token for the source registry account
LCM_SECRET_OCI_SITE_REGISTRY_TOKEN The password or token for the site registry account, for a split registry layout
LCM_SECRET_ROUTE53_AWS_ACCESS_KEY_ID The access key for DNS automation, in the Route 53 certificate mode
LCM_SECRET_ROUTE53_AWS_SECRET_ACCESS_KEY The secret key for DNS automation, in the Route 53 certificate mode
LCM_SECRET_VALIDATION_OS_PASSWORD The password that the verification stage uses
LCM_SECRET_OBSERVABILITY_OTLP_AUTH The authorization header value for an off-cluster telemetry export, when one is configured
Export the variables that your site needs before you run the installer.
export LCM_SECRET_OCI_REGISTRY_TOKEN="registry-token"
export LCM_SECRET_OCI_SITE_REGISTRY_TOKEN="site-registry-token"
export LCM_SECRET_ROUTE53_AWS_ACCESS_KEY_ID="access-key-id"
export LCM_SECRET_ROUTE53_AWS_SECRET_ACCESS_KEY="secret-access-key"