identifier

A name or number that picks out exactly one thing, such as one container, one image or one database row.

In more detail

Computers give things identifiers so commands and programs can refer to them without confusion. An identifier is only unique within its own kind: a user ID names a user, a row ID names a row in one table. Many tools accept a short prefix of a long identifier when the prefix is unique.

Examples

User IDs make natural dict keys; derive cross-run IDs with hashlib, not hash().
In AWS: A name or number that picks out exactly one thing, such as one container, one image or one database row.
Availability zone IDs such as euw2-az1, access key IDs and account IDs are all identifiers.
docker stop 3f2a stops the container whose ID starts with 3f2a.
Kafka uses broker IDs, group IDs, producer IDs, transactional IDs, event IDs and schema IDs.
A release joins a build to one deploy config under a unique ID; action items get a tracking identity.
Last-Event-ID, trace ID, span ID, correlation ID, eventId
git rev-parse --short HEAD prints the abbreviated ID of the current commit.
@Id marks the identifier field of a JPA entity
/orders/{id}
Trace IDs, span IDs, order IDs and user IDs appear in logs and traces but never as metric labels.
Element ids must be unique on a page, so hardcoded IDs clash when a React component appears twice; useId produces unique ones and keys identify list items.
ATT&CK gives every tactic, technique and group an ID, such as T1053.005 or G0016.
local_file.greeting.id
null_resource.network.id
In Terraform: Every object a provider creates gets an identifier, such as a network ID, which Terraform stores in state and exposes as the id attribute. Data sources can look objects up by name, by identifier or by a filter, and import blocks name the identifier of the object to adopt.
In this course: ID is short for identifier. In pytest every test has a node ID and every parametrized case has a case ID; in the course's contract lesson the consumer needs an ID field in the response.
readonly id: string; keeps a record ID from being reassigned

Related terms

Taught in

References

Certification courses