This page is auto-generated from the settings classes in diracx.core.settings.
Settings for the authentication service.
Optional, default value: myDIRACClientID
OAuth2 client identifier for DIRAC services.
This should match the client ID registered with the identity provider.
Optional, default value: []
List of allowed redirect URLs for OAuth2 authorization flow.
These URLs must be pre-registered and should match the redirect URIs configured in the OAuth2 client registration. Example: ["http://localhost:8000/docs/oauth2-redirect"]
Optional, default value: 600
Expiration time in seconds for device flow authorization requests.
After this time, the device code becomes invalid and users must restart the device flow process. Default: 10 minutes.
Optional, default value: 300
Expiration time in seconds for authorization code flow.
The time window during which the authorization code remains valid before it must be exchanged for tokens. Default: 5 minutes.
Optional, default value: 60
Retention time in minutes for completed flow.
The maximum retention time of flow after being completed and before they are deleted. Default: 60 minutes.
Required
Encryption key used to encrypt/decrypt the state parameter passed to the IAM.
This key ensures the integrity and confidentiality of state information during OAuth2 flows. Must be a valid Fernet key.
Required
The issuer identifier for JWT tokens.
This should be a URI that uniquely identifies the token issuer and matches the 'iss' claim in issued JWT tokens.
Required
Keystore containing the cryptographic keys used for signing JWT tokens.
This includes both public and private keys for token signature generation and verification.
Optional, default value: ['RS256', 'EdDSA', 'Ed25519']
List of allowed cryptographic algorithms for JWT token signing.
Supported algorithms include RS256 (RSA with SHA-256) and Ed25519 (Edwards-curve Digital Signature Algorithm). Default: ["RS256", "Ed25519"]
Optional, default value: 20
Expiration time in minutes for access tokens.
After this duration, access tokens become invalid and must be refreshed or re-obtained. Default: 20 minutes.
Optional, default value: 60
Expiration time in minutes for refresh tokens.
The maximum lifetime of refresh tokens before they must be re-issued through a new authentication flow. Default: 60 minutes.
Optional, default value: 43200
Retention time in minutes for revoked refresh tokens.
The maximum retention time of refresh tokens after being revoked and before they are deleted. Default: 43200 minutes (30 days).
Optional
Set of security properties available in this DIRAC installation.
These properties define various authorization capabilities and are used for access control decisions. Defaults to all available security properties.
Settings for the sandbox store.
Required
Name of the S3 bucket used for storing job sandboxes.
This bucket will contain input and output sandbox files for DIRAC jobs. The bucket must exist or auto_create_bucket must be enabled.
Required
Configuration parameters passed to the S3 client.
Optional, default value: False
Whether to automatically create the S3 bucket if it doesn't exist.
Optional, default value: 300
Validity duration in seconds for pre-signed S3 URLs.
This determines how long generated download/upload URLs remain valid before expiring. Default: 300 seconds (5 minutes).
Optional, default value: SandboxSE
Logical name of the Storage Element for the sandbox store.
This name is used within DIRAC to refer to this sandbox storage endpoint in job descriptions and file catalogs.
Optional, default value: 50
Maximum number of connections in the S3 client connection pool.
Higher values allow more parallel S3 requests (e.g. during bulk sandbox deletion).
Optional, default value: 50000
Number of sandbox candidates to select per batch during cleaning.
Each batch runs SELECT → S3 delete → DB delete sequentially.
Optional, default value: 1000
Number of sandbox DB rows to delete per chunk during cleaning.
Smaller chunks mean shorter transactions and less lock contention.
Optional, default value: 10
Maximum number of concurrent DB delete chunks during cleaning.
Controls parallelism of database DELETE operations.
Settings for the Open Telemetry Configuration.
Optional, default value: False
Optional, default value: diracx
Optional, default value: ``
Optional, default value: True
Optional, default value: None