NHI naming and tagging means giving every machine account a clear name and labels that show its owner and purpose.
This guide is for anyone who looks after accounts, cloud services or IT suppliers and wants to know why tidy names matter. You do not need to be technical. If your organisation uses apps that talk to each other, it has machine accounts that need names and owners.
In short
- A non-human identity (NHI) is an identity a program uses, with its own account and credentials.
- A clear name says what the account is for. Tags add the details a name cannot hold.
- Five tags cover most needs: owner, purpose, environment, system and review date.
- Without them, nobody knows who to ask, so old accounts stay switched on and risky.
What you will learn
- Explain why a machine account needs a clear name and an owner.
- Spot a badly named account with missing tags.
- Check that the five basic tags are filled in.
- Ask the right person to fix a gap before it causes trouble.
- Program identity (non-human identity, NHI)
- an identity used by software, with an account and the proof it shows to get in.
- Label (tag)
- a short note made of a name and a value, such as owner = Finance IT.
- Agreed pattern (naming convention)
- a set rule for how names are built, so they all look alike.
What is NHI naming and tagging?
Think of a key cabinet in a busy office. Each hook has a label saying which door the key opens and who signed it out. Without labels, nobody dares throw a key away.
Machine accounts work the same way. A non-human identity is an identity a program uses, with its own account and credentials. A credential is the proof it shows, such as a key, token or password. Some credentials are static and last for months. Others are dynamic and expire by themselves after a short time. AI agents that act with their own keys or tokens are NHIs too.
Naming means giving each account a name that follows one agreed pattern. Tagging means adding labels with the extra details. Many cloud platforms let you attach tags as pairs of a name and a value [2].
Where the comparison stops working: a key cabinet sits in one room. Machine accounts are spread across many clouds, apps and suppliers. They often outnumber staff, so labels have to be added when each account is made.
For the bigger picture, start with Non-Human Identities for Beginners. This page looks only at names and labels.
Why does it matter?
When something goes wrong, the first question is often "whose account is this?". Good names and tags help answer it quickly.
If you manage a team
What could happen: a team member leaves, and the accounts they set up keep running with nobody watching them.
Check this: ask for a list of accounts tagged with your team as owner.
If you are new to IT work
What could happen: you create an account called "test1", and months later nobody knows if it is safe to delete.
Check this: use your team's naming pattern and fill in every tag when you create an account.
If you respond to security alerts
What could happen: an alert names an account you do not recognise, and you lose hours finding its owner.
Check this: make sure alerts show the owner and system tags next to the account name.
What does it look like?
Here is a made-up record for one machine account, showing a clear name and the five basic tags.
Example only. All values are made up.
Account name: svc-payroll-sync-prd-01 (1) owner = EXAMPLE-person-0000 (2) purpose = copies pay data each night (3) environment = production (4) system = payroll-app-EXAMPLE (5) review-date = 0000-00-00 (6)
- The name shows the type, system, job, environment and a number.
- In a real file, this line would name one person, not a department.
- A short, plain reason the account exists.
- Whether it is for production, testing or practice.
- The app that uses it.
- In a real file, this line would hold the next check date.
Why this is risky: a name like "svc01" with no tags tells you nothing. Nobody knows what it does or who to ask.
The safer way: add the name and all five tags when the account is made. Keep passwords and keys out of tags.
How does it work?
- Agree a pattern. Pick the parts every name will have, in a fixed order. Common parts are the type, the system, the environment and a number [1].
- Keep the name to facts that stay the same. Many resource names cannot be changed after they are made, so put details that change in tags instead [1].
- Add the five tags. Owner, purpose, environment, system and review date. Use the same spelling and case every time [2].
- Keep secrets out of labels. Many tools and people can read tags, so they should not hold personal data, passwords or keys [2].
- Check them on a schedule. On each review date, the owner confirms the account is still needed. If it is not, it is switched off and removed.

Each tag answers one plain question. Together they let anyone find the right person and spot accounts that have outlived their job.

Container platforms use labels in a similar way. Kubernetes, a system that runs containers, suggests a shared set of labels so different tools can understand and search the same objects [3].

A worked example
This story is made up to show the idea.
Amira Haddad runs IT for a group of dental surgeries. One Monday, the cloud bill is higher than normal. Ben Okafor, who helps her part time, finds an account called "svc01" that has been busy all weekend.
Nobody knows what svc01 does, because it has no tags. Ben asks around, but the person who set it up left a year ago.
Amira does not want to switch it off blind, because it might run the booking system. She asks the booking supplier, Chloe Pritchard, to check. Chloe confirms it is an old test account from a project that ended.
Ben disables the account, waits a week to see if anything breaks, then deletes it. Nothing breaks, and the odd weekend use stops.
The search took three days. Amira wants the next search to be much quicker. She writes a one-page rule with Dev Malhotra, the surgeries' cloud supplier.
Every new machine account gets a name like "svc-booking-reminders-prd-01". Every one gets five tags: owner, purpose, environment, system and review date. Dev sets the cloud console to flag any new account with a missing tag.
Then they tag the older accounts, and two more turn out to have no owner. Amira gives one to the booking team and removes the other.
Six months later, an alert names an account. Ben reads the owner tag and has the right person on the phone the same morning.
Myths and mistakes
| What people think | What is true |
|---|---|
| Naming is just tidiness. | Names and tags tell you who to call and what will break. They speed up every fix and every clean-up. |
| The person who created the account is the owner. | The creator may move on, and accounts can stay active with no new owner [4]. The owner should be a named person who answers for the account now. |
| A team mailbox is a good owner. | A mailbox cannot make decisions. Name a person, and add the team as a separate tag if you like. |
| We can put the password in a tag so it is easy to find. | Tags are widely readable. Keep passwords and keys in a vault, never in a label. |
| We can fix old names later. | Many names cannot be changed after creation, so get them right at the start and use tags for anything that may change. |
What can I do this week?
- Pick one system and list five of its machine accounts.
- Check whether each one has an owner, purpose, environment, system and review date.
- Ask about any account where you cannot tell what it does.
- Write down your team's naming pattern, even if it is only one line.
- Read NHI Ownership for Beginners to learn what an owner is expected to do.
Checklist
- Every machine account name follows one agreed pattern.
- Names hold only facts that will not change.
- Every account has a named person as owner.
- Every account has purpose, environment, system and review date tags.
- Tags use the same spelling and case everywhere.
- No tag holds a password, key or personal data.
- Accounts with a passed review date are checked and kept, changed or removed.
- When an owner leaves, their accounts get a new owner.
Common questions
What is the difference between a name and a tag?
A name is the account's main label and is often hard to change later. A tag is an extra note made of a name and a value, such as owner and a person's name. Use the name for facts that stay fixed, and tags for details that may change.
Who should be the owner of a machine account?
One named person who can answer for it today. They decide whether it is still needed, approve changes and act if it is misused. The person who created it may not be the right owner if they have moved on.
Do AI agents need names and tags too?
Yes. An AI agent that connects to tools with its own keys or tokens is a non-human identity. It needs a clear name, an owner and a purpose, like any other machine account. That way people can see what it is for.
Why add a review date?
A review date makes someone check the account again. Without one, accounts tend to stay switched on long after their job ends. On the date, the owner confirms it is still needed, or it is removed.
What if we already have hundreds of badly named accounts?
Start with tags, because they are usually easy to add. Begin with the most powerful accounts and those in the live system. New accounts follow the pattern from now on, and old ones are renamed or replaced when they are next changed.
Where next?
Ready for the detail? Read the practitioner template: Machine Identity Naming and Tagging Standard Template. It goes further into a full naming pattern with type codes, a longer list of required tags and how to map them on each cloud platform.
Also useful:
- NHI Discovery and Inventory for Beginners
- Orphaned Machine Credentials for Beginners
- NHI Ownership Guide
- Cloud Resource Tagging Standard Template
Related NHI Mgmt Group resources: Non-Human Identities for Beginners, NHI Governance for Beginners and How to assign owners to orphaned service accounts.
Key terms
- Non-Human Identity (NHI)
- An identity used by software, such as an app, service account, bot or AI agent, with its own account and credentials.
- Service account
- An account made for a program to use, not a person.
- Naming convention
- An agreed rule for how names are built, so every name follows the same pattern.
- Tag
- A label made of a name and a value that adds details to an account or resource.
- Identity ownership
- Naming one responsible person for each identity's purpose, access, review and removal.
- Orphaned NHI
- A machine identity that is still active but has no clear owner or purpose.
Sources and further reading
- Microsoft, "Define your naming convention", Cloud Adoption Framework, Microsoft Learn. https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-naming (accessed 4 Dec 2026).
- Amazon Web Services, "Best practices and strategies", Tagging AWS Resources and Tag Editor user guide. https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html (accessed 4 Dec 2026).
- The Kubernetes Authors, "Recommended Labels", Kubernetes documentation. https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/ (accessed 4 Dec 2026).
- OWASP, "NHI1:2025 Improper Offboarding", OWASP Non-Human Identities Top 10. https://owasp.github.io/www-project-non-human-identities-top-10/2025/1-improper-offboarding/ (accessed 4 Dec 2026).