Update Settings
Update the Settings
- Navigate to Admin settings → Foundry → Actions → Edit
- Change the settings, see below. Test checks a section's credentials before you roll it out.
- Click Preview, then Roll out
The Revisions tab lists earlier settings to revert to.
Certificates
| Property | Description |
|---|---|
| Let's Encrypt | Issue the certificates for the Foundry hostnames with Let's Encrypt's HTTP01 challenge. Port 80 of the Foundry VIP must be reachable from the internet. |
| Let's Encrypt Email | Let's Encrypt sends expiry notices here |
Identity Provider
| Property | Description |
|---|---|
| Identity Provider | How users sign in:
|
| Auth0 Domain | The domain of the Auth0 tenant, e.g. tenant.eu.auth0.com |
| Auth0 Client ID | The client ID of the Auth0 application |
| Auth0 Client Secret | The client secret of the Auth0 application. Leave empty to keep the current value |
| Session Idle Timeout (hours) Foundry 1.7.1+ | Hours without a request after which a user must sign in again, from 1 to 720. Default 24 |
| Session Maximum Age (days) Foundry 1.7.1+ | Days after signing in after which a user must sign in again, even if they stay active, from 1 to 365. Default 14 |
In the Auth0 application, allow the callback URL https://<Foundry domain>/auth/auth0/callback.
Invite an admin first
Before switching to Auth0, invite your Auth0 email to the admin Organization under Members → tab Invites. Otherwise Foundry refuses the change with Auth0 would lock everyone out.
Monitoring
| Property | Description |
|---|---|
| Log Level | Log level of the Foundry application (web and worker) |
| Sentry | Report errors of the Foundry application to Sentry |
| Sentry DSN | The DSN of the Sentry project. Leave empty to keep the current value |
| Sentry Environment | The environment the errors are reported under, e.g. production |
Terraform
terraform
# the nest installer creates the foundry, import it
import {
to = meltcloud_foundry.this
id = "foundry"
}
resource "meltcloud_foundry" "this" {
version = "1.5.0"
identity_provider = "auth0"
auth0_config = {
domain = "example.eu.auth0.com"
client_id = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
client_secret_wo = var.auth0_client_secret
client_secret_wo_version = 1
}
letsencrypt_config = {
enabled = true
email = "ops@example.com"
}
session_config = {
idle_timeout_hours = 8
max_age_days = 7
}
}
variable "auth0_client_secret" {
type = string
sensitive = true
}