Astro Private Cloud (APC) uses TLS certificates for secure communication between components and for JWT token signing.
The APC API uses auto-generated JWT certificates to sign and verify authentication tokens. These certificates are created during installation.
The regenerateCaEachUpgrade flag controls whether APC regenerates the APC API certificate authority (CA) on each platform upgrade. This flag defaults to false:
Setting regenerateCaEachUpgrade to true regenerates the CA on every upgrade, which invalidates all existing JWT tokens and forces all users and service accounts to re-authenticate.
Astronomer recommends keeping this value set to false unless you have a specific security requirement to rotate the CA regularly.
Certificate syncing in APC operates at two levels:
Control plane to data plane certificate sync occurs only during data plane install or upgrade. During this process, the platform calls the APC API endpoint to decode the certificates and annotates them with the Config Syncer label to propagate the necessary secrets to Airflow namespaces.
Config Syncer is a CronJob that propagates annotated secrets from the platform namespace to Airflow Deployment namespaces within the same cluster. It runs on a configurable schedule to keep secret contents in sync across namespaces.
regenerateCaEachUpgrade: false to preserve sessions.