Join our Newsletter — 33% off our NHI Course
Home› Guides› How Online Identity Works for Beginners: Accounts, identifiers,…
Guide Agent Identity & Access

How Online Identity Works for Beginners: Accounts, identifiers, credentials and trust explained

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 1 December 2026 10 min read
On this page

Online identity is how a website or app tells one user apart and checks it is really them.

This guide is for anyone who signs in to things and wants to know what is going on underneath. You do not need any technical knowledge. It also helps new staff in IT and security who hear words like identifier and credential every day.

In short

  • An account is the record a service keeps about you. Your digital identity is how that service tells you apart.
  • An identifier says who you claim to be. A credential proves it.
  • Many sites now trust another service to check you, which is why "Sign in with" buttons exist.
  • Software and AI agents have identities too, and they need the same care.

What you will learn

  • Tell the difference between an identity, an account, an identifier and a credential.
  • Explain why an email address alone does not prove anything.
  • Describe how one service can vouch for you to another.
  • Take simple steps to protect the identities you use most.
Name tag (identifier)
the label that says which account you mean, such as an email address.
Proof (credential)
the thing that shows you really own that account, such as a password or passkey.
Voucher (identity provider)
a service that checks you and then tells other sites it has done so.

What is online identity?

Think of a gym membership. The gym keeps a file on you, your card number points to that file, and the photo on the card proves the card is yours.

Online identity works the same way. The file is your account. The card number is your identifier, and the photo is your credential.

US government identity guidance says a digital identity is always unique within one online service [1]. The same guidance notes that one person may hold many digital identities, one per service [1].

It also points out that a service may not know the real person behind an identity at all [1]. A shop only needs to know you are the same customer as last time.

Where the comparison stops working: a gym photo is checked by a person who looks at you. Online, a computer checks the proof, so anyone holding your proof can pass as you.

Signing in has two parts. First you prove who you are, then the service decides what you may do. Our guide to Authentication vs Authorisation for Beginners explains that split.

Why does it matter?

Almost every attack on accounts is about pretending to be someone else. Knowing which part is the proof helps you guard the right thing.

If you use online accounts at home

What could happen: someone who knows your email address and guesses your password signs in as you.

Check this: turn on a second sign-in step for your email account first.

Next: Multi-Factor Authentication for Beginners

If you are new to IT or security work

What could happen: a leaver's account still works because nobody linked it to the staff list.

Check this: ask how accounts are switched off when people leave. The UK national cyber security agency advises a joiners, movers and leavers process for this [3].

Next: Identity and Access Management for Beginners

If your team uses automation or AI agents

What could happen: a script or agent uses a key nobody owns, and nobody notices when it leaks.

Check this: give each piece of software its own identity and a named owner.

Next: Non-Human Identities for Beginners

What does it look like?

Here is a made-up account record, like the one a service might keep behind the scenes.

Example only. All values are made up.

Account ID:    0000-EXAMPLE                       (1)
Identifier:    [email protected]                (2)
Credentials:   password (stored scrambled)        (3)
               passkey on phone "EXAMPLE-PHONE"
Signed in via: own sign-in page                   (4)
Created:       2026-01-01  Last used: 2026-11-01  (5)
  1. The service's own internal number for the account. Users rarely see it.
  2. The identifier. In a real file, this line would contain the email address or username you type.
  3. The credentials linked to the account.
  4. How you proved yourself. This could also say another service vouched for you.
  5. Dates help spot accounts that nobody uses any more.

Why this is risky: if the only proof is a password, anyone who learns it becomes "you" to the service.

The safer way: link two kinds of proof to accounts that matter, such as a password and a passkey.

How does it work?

  1. Sign up. The service creates an account and links an identifier to it, often your email address.
  2. Add proof. You set up a credential. NIST calls this an authenticator: something you have and control, such as a password [1].
  3. Claim. Next time, you type your identifier. That only says which account you mean.
  4. Prove. You show the credential. Asking for more than one type of proof is called multi-factor authentication [1]. The UK's NCSC advises it for online accounts, to protect against password guessing and theft [3].
  5. Get in. The service trusts you for a while, usually until you sign out or a timer runs out.
Diagram titled From claim to trust. Four boxes in a row joined by arrows. Box 1, Identifier: you say which account, such as an email address. Box 2, Credential: you prove it with a password, code or passkey. Box 3, Check: the service, or an identity provider it trusts, checks the proof. Box 4, Account: you are let in with that account's rights. A note says an identifier is not a secret, so the proof in box 2 is what attackers want.
Figure 1. An identifier makes the claim. The credential proves it.

Sometimes the site does not check you itself. A "Sign in with" button sends you to another service, called an identity provider, which checks you instead.

The identity provider then sends the site a signed message, called an assertion, saying who you are [2]. The site that trusts it is called the relying party [1].

This means you do not need separate proof at every site [2]. NIST notes this is sometimes known as single sign-on [2].

A worked example

This story is made up to show the idea.

Reza Yeboah runs a small online shop. One morning a customer emails to say she got an order confirmation she never placed.

Reza looks at her account record. The identifier is her email address, which is printed on every receipt she has ever sent. The only credential is a password.

He realises the email address was never a secret. Anyone could type it. The password was the only real proof, and she had used the same one on another site that was breached.

Reza resets her password and cancels the order. Then he looks at the bigger picture. His shop lets customers add a passkey, but almost nobody has.

He adds a short prompt after checkout asking customers to set one up. He also adds a "Sign in with" option, so customers can let a large identity provider do the checking.

For his own admin account, he turns on a second sign-in step. His payment tool uses a separate key, so he writes down who owns it and where it is kept.

A month later, two more customers report password reuse warnings from other sites. Their accounts with Reza stay safe because they had added a passkey.

Reza learned that the name tag and the proof are different things. Guarding the proof is what keeps an identity safe.

Myths and mistakes

What people thinkWhat is true
My email address proves who I am.An email address is an identifier. It says which account you mean, but anyone can type it.
I have one online identity.Most people have many, one for each service, and each is separate[1].
A service always knows my real name.Many services only know they are dealing with the same user as before[1].
"Sign in with" buttons share my password with the site.The identity provider checks you and sends the site a message about you, not your password[2].
Only people have identities.Apps, scripts and AI agents also have identities and credentials, and they can be stolen too.

What can I do this week?

  • List your five most important accounts, starting with your main email.
  • Turn on a second sign-in step for each one where you can.
  • Check whether any of them let you add a passkey.
  • Look at which sites you sign in to with a "Sign in with" button, and remove any you no longer use.

Checklist

  • I can explain the difference between an account and an identifier.
  • I know an identifier is not a secret.
  • I treat my credentials as the thing to protect.
  • My main email account has more than one kind of proof.
  • I know what an identity provider does for a "Sign in with" button.
  • I know software and AI agents have identities too.
  • At work, I know who to tell when someone leaves.

Common questions

Is my username the same as my identity?

No. Your username is an identifier, a label that points to your account. Your identity at that service is the full set of details it uses to tell you apart. The username helps the service find you, but it proves nothing on its own.

What counts as a credential?

Anything you use to prove you own the account. Common examples are passwords, one-time codes and passkeys. NIST describes this proof as something you have and control. Using two different kinds together is much stronger than using one alone.

Are "Sign in with" buttons safe?

They can reduce the number of passwords you keep. The catch is that one account now opens many doors. If you use them, protect that main account with strong proof, and remove sites you no longer use from its settings.

Why should I care about machine identities?

Apps, scripts and AI agents sign in to other systems too, often with keys or tokens. If one of those leaks, an attacker can act as that software. They need owners and care, just like staff accounts.

Why do services want my phone number?

Often to send codes or help you recover your account. A phone number is still mainly an identifier, though, not strong proof on its own. Our guide to phone numbers as identity explains the risks.

Where next?

Ready for the detail? Read the practitioner guide: AI Agent Identity Security Buyer's Guide. It shows how the same ideas apply when the user is an AI agent, and what to look for in tools that manage those identities.

Also useful:

Related NHI Mgmt Group resources: Identity and Access Management for Beginners, Non-Human Identities for Beginners and Account Takeover for Beginners.

Key terms

Digital identity
The details a service uses to tell one user apart from every other user of that service.
Account
The record a service keeps about one user, with details and the ways that user proves it is them.
Identifier
A label, such as a username or email address, that points to one account. It is not a secret.
Credential
The proof used to show you are the real owner, such as a password, a code or a passkey.
Identity provider
A service that checks who you are and then vouches for you to other sites.
Relying party
A site or app that accepts an identity provider's message about you instead of checking you itself.
Multi-factor authentication
Signing in with more than one kind of proof, such as a password plus a code.

Sources and further reading

  1. National Institute of Standards and Technology, "Digital Identity Guidelines", NIST SP 800-63-4. https://pages.nist.gov/800-63-4/sp800-63.html (accessed 30 Nov 2026).
  2. National Institute of Standards and Technology, "Digital Identity Guidelines: Federation and Assertions", NIST SP 800-63C-4. https://pages.nist.gov/800-63-4/sp800-63c.html (accessed 30 Nov 2026).
  3. National Cyber Security Centre, "Identity and access management", 10 Steps to Cyber Security. https://www.ncsc.gov.uk/collection/10-steps/identity-and-access-management (accessed 30 Nov 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.