Class ManagerEnvKeys
java.lang.Object
com.cloudforge.core.manager.ManagerEnvKeys
Canonical environment / system-property keys for CloudForge Manager.
Deploy adapters (CloudForgeManagerOidcIntegration, DatabaseSpec wiring)
and the Manager runtime (Spring Boot or otherwise) share these names so
DeploymentConfig → container env → process config stays one contract.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAES key forSecretCipher'sAesGcmSecretCipher(cross-account connections' external IDs) — absent meansPlaintextSecretCipher(local dev only).static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe one real source for these two role-group defaults — every place that needs a fallback whencognitoAdminGroupName/cognitoUserGroupNamearen't explicitly set (cloudforge-manager's ownManagerRuntimeConfigurationandCognitoUserManagementService; cloudforge-manager-deployment'sCloudForgeManagerApplicationSpec, for alb-oidc specifically — application-oidc gets the real configured value fromCloudForgeManagerOidcIntegrationinstead, see that class's javadoc) references these constants instead of its own copy of the literal strings.static final Stringstatic final StringMatchesManagerRuntimeConfiguration.LicenseSeat's "stopgap" env-var path exactly (cloudforge-manager) — a deploy-time-supplied customer license key, delivered as a Secrets Manager-backed ECS Secret, never a literal value in the task definition.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringSpring property keys (application-local.properties).static final String"true"/"false"— whether THIS deployment's ALB HTTPS listener is wearing a publicly-trusted certificate (the imported-ARN or DNS-validated ACM paths inFargateRuntimeConfiguration) as opposed to the untrusted AWS Private CA fallback used when SSL is on but no domain/cert is configured, or absent entirely when SSL is off.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringmemory(default) orredis— seeSessionStore's javadoc.static final Stringstatic final intThe sidecar's own listen port, and the port every hardcoded fallback URL above must agree with —SynthServiceMain'sSYNTH_SERVICE_PORTenv-var default,LocalStackTemplateAdapter'shost.docker.internaloverride, andApplicationSpec's health-check command example all reference this one constant instead of repeating the literal, so a future port change can't drift out of sync in one of them.static final StringBase URL of thecloudforge-synth-servicesidecar (seeManagerSynthesisService, cloudforge-manager) — read directly by the sidecar HTTP client, not one of theCFC_MANAGER_*-prefixed keys, since it names the sidecar, not Manager itself.static final Stringstatic final Stringstatic final StringOverrides the trust-policy principalManagerIdentityResolverwould otherwise derive from Manager's ownsts:GetCallerIdentity— for deployments that front Manager with a different role than the one its own AWS calls run as.static final String -
Method Summary
-
Field Details
-
PORT
- See Also:
-
BIND
- See Also:
-
PUBLIC_URL
- See Also:
-
PUBLIC_TLS_TRUSTED
"true"/"false"— whether THIS deployment's ALB HTTPS listener is wearing a publicly-trusted certificate (the imported-ARN or DNS-validated ACM paths inFargateRuntimeConfiguration) as opposed to the untrusted AWS Private CA fallback used when SSL is on but no domain/cert is configured, or absent entirely when SSL is off. Set byContainerFactory, computed the same wayFargateRuntimeConfigurationitself decides which cert path to take — see that class for why Private CA certs can't answer "yes" here. Consumed by cloudforge-manager to decide whether embedding a real payment form (which requires the hosting page to be genuinely trusted) is safe on this installation, or whether to fall back to a redirect-based purchase flow instead.- See Also:
-
TARGET
- See Also:
-
SYNTH_SERVICE_URL
Base URL of thecloudforge-synth-servicesidecar (seeManagerSynthesisService, cloudforge-manager) — read directly by the sidecar HTTP client, not one of theCFC_MANAGER_*-prefixed keys, since it names the sidecar, not Manager itself. Unset on an AWS deploy (the code default,http://localhost:8090, is already correct there: Fargate'sawsvpcnetworking shares one ENI/loopback across every container in a task). LocalStack's and MiniStack's own ECS emulation gives each task container a separate Docker network namespace instead of sharing one — a divergence from AWS's own networking model, not a configuration gap — soLocalStackTemplateAdapter/MiniStackTemplateAdapterset this explicitly to a host-reachable address for those two targets only.- See Also:
-
SYNTH_SERVICE_DEFAULT_PORT
public static final int SYNTH_SERVICE_DEFAULT_PORTThe sidecar's own listen port, and the port every hardcoded fallback URL above must agree with —SynthServiceMain'sSYNTH_SERVICE_PORTenv-var default,LocalStackTemplateAdapter'shost.docker.internaloverride, andApplicationSpec's health-check command example all reference this one constant instead of repeating the literal, so a future port change can't drift out of sync in one of them.- See Also:
-
AUTH_MODE
- See Also:
-
DB_MODE
- See Also:
-
VERSION
- See Also:
-
SETUP_TOKEN
- See Also:
-
TRUST_ALB_OIDC_HEADERS
- See Also:
-
OIDC_ISSUER
- See Also:
-
OIDC_AUTHORIZATION_ENDPOINT
- See Also:
-
OIDC_TOKEN_ENDPOINT
- See Also:
-
OIDC_USERINFO_ENDPOINT
- See Also:
-
OIDC_JWKS_URI
- See Also:
-
OIDC_CLIENT_ID
- See Also:
-
OIDC_CLIENT_SECRET
- See Also:
-
OIDC_REDIRECT_URL
- See Also:
-
OIDC_SCOPES
- See Also:
-
OIDC_USERNAME_CLAIM
- See Also:
-
OIDC_EMAIL_CLAIM
- See Also:
-
OIDC_GROUPS_CLAIM
- See Also:
-
OIDC_ADMIN_GROUP
- See Also:
-
OIDC_MANAGER_GROUP
- See Also:
-
DEFAULT_OIDC_ADMIN_GROUP
The one real source for these two role-group defaults — every place that needs a fallback whencognitoAdminGroupName/cognitoUserGroupNamearen't explicitly set (cloudforge-manager's ownManagerRuntimeConfigurationandCognitoUserManagementService; cloudforge-manager-deployment'sCloudForgeManagerApplicationSpec, for alb-oidc specifically — application-oidc gets the real configured value fromCloudForgeManagerOidcIntegrationinstead, see that class's javadoc) references these constants instead of its own copy of the literal strings. Three independent copies of "ManagerAdmins"/"ManagerUsers" already drifted once — one hardcoded "admin"/"manager"/"viewer" instead, which meant every Cognito-backend-listed user resolved to "viewer" regardless of real group membership — this is what prevents that class of bug from recurring a fourth time.- See Also:
-
DEFAULT_OIDC_MANAGER_GROUP
- See Also:
-
DB_HOST
- See Also:
-
DB_PORT
- See Also:
-
DB_NAME
- See Also:
-
DB_USER
- See Also:
-
DB_ENGINE
- See Also:
-
DB_PASSWORD
- See Also:
-
DB_REPLICA_HOST
- See Also:
-
DB_REPLICA_PORT
- See Also:
-
SESSION_MODE
memory(default) orredis— seeSessionStore's javadoc.- See Also:
-
REDIS_HOST
- See Also:
-
REDIS_PORT
- See Also:
-
REDIS_AUTH_TOKEN
- See Also:
-
REDIS_TLS
- See Also:
-
ACCOUNT_SECRET_KEY
AES key forSecretCipher'sAesGcmSecretCipher(cross-account connections' external IDs) — absent meansPlaintextSecretCipher(local dev only). When Manager is deployed via CloudForge's own CDK pipeline, this is injected as an ECSSecretbound to a CDK-provisioned Secrets Manager entry, the same delivery mechanismDB_PASSWORDalready uses — never a literal env-var value in the task definition.- See Also:
-
TRUST_PRINCIPAL_ARN
Overrides the trust-policy principalManagerIdentityResolverwould otherwise derive from Manager's ownsts:GetCallerIdentity— for deployments that front Manager with a different role than the one its own AWS calls run as.- See Also:
-
LICENSE_KEY
MatchesManagerRuntimeConfiguration.LicenseSeat's "stopgap" env-var path exactly (cloudforge-manager) — a deploy-time-supplied customer license key, delivered as a Secrets Manager-backed ECS Secret, never a literal value in the task definition.- See Also:
-
LOCALSTACK_ENDPOINT
- See Also:
-
AWS_ENDPOINT_URL
- See Also:
-
AWS_DEFAULT_REGION
- See Also:
-
MINISTACK_ENDPOINT
- See Also:
-
PROP_TARGET
Spring property keys (application-local.properties).- See Also:
-
PROP_AUTH_MODE
- See Also:
-
PROP_PUBLIC_URL
- See Also:
-
PROP_BIND
- See Also:
-
PROP_DB_MODE
- See Also:
-
PROP_LOCALSTACK_ENDPOINT
- See Also:
-
PROP_MINISTACK_ENDPOINT
- See Also:
-
PROP_OIDC_REDIRECT_URL
- See Also:
-
PROP_AWS_ENDPOINT_URL
- See Also:
-
PROP_AWS_REGION
- See Also:
-