WEBVTT

00:00:00.000 --> 00:00:06.000
How can the same code use different service settings?

00:00:06.000 --> 00:00:13.000
Environment variables provide named configuration values to a process.

00:00:13.000 --> 00:00:18.000
Understand the setting and its scope.
6 environment-variable basics.

00:00:18.000 --> 00:00:30.000
A variable has a name and value
The application reads the named setting when it needs it.
Setting name · Configured value · Application use

00:00:30.000 --> 00:00:42.000
Environments can differ
A test environment can use different values from production.
Local development · Preview settings · Production settings

00:00:42.000 --> 00:00:54.000
Check when the value is read
A value may be used during a build or while the application runs.
Build-time use · Runtime use · Framework behaviour

00:00:54.000 --> 00:01:06.000
Some values are sensitive
Tokens and credentials need protected storage and restricted access.
Private credentials · Protected storage · Limited access

00:01:06.000 --> 00:01:18.000
Browser values are public
A value included in downloaded website code can be inspected.
Browser bundle · Visible configuration · No private secrets

00:01:18.000 --> 00:01:30.000
Check how changes take effect
Follow the platform process and test the updated deployment.
Correct environment · Required rebuild · Verified behaviour

00:01:30.000 --> 00:01:39.000
Your checklist
A variable has a name and value · Environments can differ · Check when the value is read · Some values are sensitive · Browser values are public · Check how changes take effect

00:01:39.000 --> 00:01:47.000
Know which settings are public and which must stay private.
jerseyweb.je
