resource handle

The address and credentials an app uses to reach a backing service, such as a database URL, kept in config.

In more detail

Because the handle is config, replacing a failed database is changing a handle, not editing the app. Keep one code path for local and remote services, or the two paths will drift.

Example

DATABASE_URL=postgres://quotes/prod

Related terms

Taught in

References