cybersecurity · non-human identities

Give each service account, API key and AI agent a named owner and a credential that expires.

The account that runs nightly billing. The token in a CI variable. The agent a team set up last month. None of them attend training or leave through HR. We find them, give each one an owner, and replace long-lived secrets with credentials that rotate or expire on their own.

platforms
cybersecurity / non-human-identities 6 platforms
01 · NON-HUMAN IDENTITIES 02 · CREDENTIALS 03 · GOVERNANCE Service accounts: AD · cloud IAM Serviceaccounts AD · cloud IAM Workloads and pipelines: CI · Kubernetes · VMs Workloads andpipelines CI · Kubernetes· VMs SaaS OAuth apps: Microsoft 365 · Salesforce SaaS OAuthapps Microsoft 365 ·Salesforce AI agents: Copilot Studio · custom agents AI agents Copilot Studio· custom agents Federated tokens: OIDC · SPIFFE Federated tokens OIDC · SPIFFE Secrets vault: HashiCorp Vault · Key Vault Secrets vault HashiCorp Vault · KeyVault Certificates: ACME · private CA Certificates ACME · private CA NHI inventory: owner · privilege · last used NHI inventory owner · privilege ·last used Access reviews: SailPoint · Entra ID Governance Access reviews SailPoint · Entra IDGovernance
HashiCorp VaultCyberArkSailPointOkta
in short·15-second read

Non-human identities are the accounts and credentials software uses, including service accounts, cloud roles, API keys, certificates, workload identities and AI agents.

Cohash discovers them across directories, clouds, CI/CD and SaaS, assigns owners, moves workloads to federated short-lived credentials, automates secret and certificate rotation, and brings service accounts and agents into the same governance your people already go through.

you probably need this if
  • Nobody can say who owns the service account that runs nightly billing.
  • Cloud access keys sit in CI variables and have never been rotated.
  • Teams are setting up AI agents on their own API keys.
Ask an engineer facts checked 2026-10-20 · 2 sources
how it runs
  1. 01Inventory
  2. 02Triage
  3. 03Fix the worst first
  4. 04Stop the regrowth
you keep
  • NHI inventory with owner, privilege and last-used data
  • Risk-ranked remediation backlog
  • Ownership and lifecycle standard for non-human identities
+ 2 more documents
who does it
NHI security architectSecrets management engineerWorkload identity engineer Vault Associate (003) Sentry - Secrets Manager
platforms
the story · non-human identities

From the first call to a setup your own team can run.

Here's what usually prompts a call about your Non-Human Identities, what we do about it and in which order, and where you end up.

  1. chapter 01 · where it hurts

    Why teams reach out

    • Nobody can say who owns the service account that runs nightly billing.
    • Cloud access keys sit in CI variables and have never been rotated.
    • Teams are setting up AI agents on their own API keys.
  2. chapter 02 · what we change

    How we solve it

    • Machine and workload identity
    • Secrets and certificate lifecycle
    • AI agent identity
    • Discovery and governance
    • Ownership model
  3. chapter 03 · how it runs

    Our approach

    • Inventory
    • Triage
    • Fix the worst first
    • Stop the regrowth
  4. chapter 04 · where you end up

    What changes

    • The scripts run as workload identities now, so the MFA enforcement doesn't apply to them.
    • This one is contained.
    • NHI inventory with owner, privilege and last-used data
    • Risk-ranked remediation backlog
what we do

Where we spend the hours

5 areas of work, each one done by an engineer who has run it in production.

  1. CI pipelines, Kubernetes pods and cloud workloads sign in with federated tokens, so there's no stored key to leak. We use OIDC federation, or SPIFFE where workloads span several clouds.

  2. We move secrets into a vault and rotate them. Certificate renewal is automated too, before public TLS lifetimes shrink to the point where renewing by hand is a monthly chore.

  3. Agents registered as identities with sponsors, scoped tokens and a way to switch them off, in Okta, Microsoft Entra Agent ID or your IGA platform.

  4. We build one inventory across Active Directory, cloud IAM, SaaS OAuth grants and code repositories. It records owners and last-used dates, and we put it on a review cycle.

  5. We set one rule: each non-human identity has a person and a team accountable for it. If that person moves on, ownership transfers as part of their exit.

capability 01 / 05in production

Machine and workload identity

CI pipelines, Kubernetes pods and cloud workloads sign in with federated tokens, so there's no stored key to leak. We use OIDC federation, or SPIFFE where workloads span several clouds.

capability 02 / 05in production

Secrets and certificate lifecycle

We move secrets into a vault and rotate them. Certificate renewal is automated too, before public TLS lifetimes shrink to the point where renewing by hand is a monthly chore.

capability 03 / 05in production

AI agent identity

Agents registered as identities with sponsors, scoped tokens and a way to switch them off, in Okta, Microsoft Entra Agent ID or your IGA platform.

capability 04 / 05in production

Discovery and governance

We build one inventory across Active Directory, cloud IAM, SaaS OAuth grants and code repositories. It records owners and last-used dates, and we put it on a review cycle.

capability 05 / 05in production

Ownership model

We set one rule: each non-human identity has a person and a team accountable for it. If that person moves on, ownership transfers as part of their exit.

typical situations

Situations we walk into

We pieced these together from Non-Human Identities situations that come up a lot. They're patterns. You won't find a specific client in them.

case file 01

Azure automation running as a user account when mandatory MFA arrives

composite · not a client story
  1. Beforethe situation

    Deployment scripts and a nightly clean-up job sign in to Azure PowerShell as a licensed user with a password stored in a scheduled task. Once Microsoft's phase 2 MFA enforcement reached the tenant, every write call from those scripts started to fail.

  2. What we dothe work

    Sign-in logs show which user accounts reach Azure Resource Manager without anyone using them interactively. Move each of those scripts to a managed identity or a service principal with a federated credential. Scope the role to the resources the script changes, then remove the user account.

  3. Afterwhere you end up

    The scripts run as workload identities now, so the MFA enforcement doesn't apply to them. Each one has a named owner and a narrower role than the user account held.

case file 02

A leaked GitHub token, and no inventory to show what else it reached

composite · not a client story
  1. Beforethe situation

    Secret scanning flagged a personal access token in a public fork. It belonged to an engineer who left last year and had admin on a dozen repositories, including one holding cloud deployment credentials.

  2. What we dothe work

    Revoke the token and rotate everything it could read, starting with the cloud credentials. Then build the inventory that would have answered this in minutes: tokens, deploy keys, GitHub Apps and CI secrets, each tied to an owner and a last-used date.

  3. Afterwhere you end up

    This one is contained. The next time a credential leaks, the inventory shows the owner and the blast radius, instead of a week of searching.

case studies

Non-Human Identities case studies

All case studies
migration Identity and access

SailPoint IdentityIQ to Identity Security Cloud

Leaving IdentityIQ for SailPoint Identity Security Cloud (formerly IdentityNow) with custom logic, certifications and audit history carried across.

read the case study
migration Identity and access

SAP Identity Management replacement with Entra ID or SailPoint

Replacing SAP Identity Management before its 2027 end of maintenance, with provisioning to SAP and non-SAP systems moved to Entra ID Governance or SailPoint.

read the case study
modernization Security operations

Service account, API key and non-human identity cleanup

Tracking down every service account, app registration, API key and AI agent, putting an owner on each and moving them to short-lived, federated credentials.

read the case study
migration Identity and access

On-premises Active Directory to cloud-first Microsoft Entra ID

We shrink on-premises Active Directory one application at a time, moving groups, users and app authentication to Microsoft Entra ID as each app is ready.

read the case study
migration Identity and access

AD FS federation to Entra ID authentication

Converting federated domains from AD FS to Entra ID cloud authentication, moving relying parties app by app and retiring the AD FS farm.

read the case study
upgrade Identity and access

Auth0 Rules and Hooks to Actions before end of life

Rewriting Auth0 Rules and Hooks as Actions before their 18 November 2026 end of life, with token claims compared before and after each change.

read the case study
architecture

Where non-human identities live and how they get governed

Service accounts, workloads, OAuth apps and agents are each given a credential pattern, such as federated tokens, vaulted secrets or certificates. Those systems report usage and metadata into one inventory. From there, owners and reviews flow into your IGA platform.

Where non-human identities live and how they get governed Service accounts, workloads, OAuth apps and agents are each given a credential pattern, such as federated tokens, vaulted secrets or certificates. Those systems report usage and metadata into one inventory. From there, owners and reviews flow into your IGA platform. 01 · NON-HUMAN IDENTITIES 02 · CREDENTIALS 03 · GOVERNANCE token exchange scoped token rotated secret mTLS certificate consent grants secret metadata usage logs owners and reviews Service accounts AD · cloud IAM Workloads and pipelines CI · Kubernetes · VMs SaaS OAuth apps Microsoft 365 · Salesforce AI agents Copilot Studio · customagents Federated tokens OIDC · SPIFFE Secrets vault HashiCorp Vault · KeyVault Certificates ACME · private CA NHI inventory owner · privilege · lastused SP Access reviews SailPoint · Entra IDGovernance
Read the diagram as text
  1. Workloads and pipelines → Federated tokens: token exchange
  2. AI agents → Federated tokens: scoped token
  3. Service accounts → Secrets vault: rotated secret
  4. Workloads and pipelines → Certificates: mTLS certificate
  5. SaaS OAuth apps → NHI inventory: consent grants
  6. Secrets vault → NHI inventory: secret metadata
  7. Federated tokens → NHI inventory: usage logs
  8. NHI inventory → Access reviews: owners and reviews
how it runs

A typical engagement

We don't start a step until the last one has produced something you can check.

  1. step 01

    Inventory

    Automated discovery from directories, cloud accounts, vaults, CI systems and SaaS admin APIs.

  2. step 02

    Triage

    Identities sorted by privilege, exposure and whether anyone owns them.

  3. step 03

    Fix the worst first

    Exposed secrets rotated, and unused high-privilege identities disabled after a monitored grace period.

  4. step 04

    Stop the regrowth

    Creation routed through templates and approvals that require an owner and an expiry date.

you keep

What you're left with

We write these for your Non-Human Identities setup, and they're working documents. Your team should be able to keep things running from them long after we've gone.

  • inventory01

    NHI inventory with owner, privilege and last-used data

    yours to keep
  • plan02

    Risk-ranked remediation backlog

    yours to keep
  • guide03

    Ownership and lifecycle standard for non-human identities

    yours to keep
  • guide04

    Credential pattern guide per workload type

    yours to keep
  • document05

    Governance integration for service accounts and agents

    yours to keep
talent and delivery · non-human identities

Certified engineers, wherever you need them.

Some clients want a project team, some want a couple of engineers on theirs. Either works. Onsite, nearshore or offshore, with handovers across time zones that keep things moving.

Onsite

Engineers at your sites in the US

Nearshore

Overlapping hours with US teams

Offshore

Overnight progress on your backlog

All time zones

Coverage handed over across time zones

24-hour coverage · US Central time
OnsiteUS business hours
Nearshoreoverlapping US hours
Offshoreovernight progress
Combinedhandover, not hand-off
roles we staff
  • NHI security architect
  • Secrets management engineer
  • Workload identity engineer
  • IGA engineer for service accounts
  • PAM engineer
01What counts as a non-human identity?

Anything that authenticates without a person typing a password at that moment. That includes service accounts, Entra service principals and managed identities, and AWS IAM roles and access keys. OAuth apps, API tokens, SSH keys, TLS certificates and AI agents count too.

02Where should we start?

With exposed and unowned credentials. Secrets sitting in source code or CI logs, and high-privilege service accounts nobody claims, carry the most risk and are often the cheapest to fix. Ownership comes next, because every later control needs someone accountable.

03Do we need a dedicated NHI security tool?

Sometimes. Your IdP, cloud providers, vault and IGA platform already hold most of the data. A dedicated tool earns its cost when you run many SaaS platforms and clouds and need correlation across them. We start with what you own and recommend a tool only when the gaps justify one.

04Does this belong to the IAM team or to platform engineering?

Both, which is why it so often falls between them. We usually set it up so platform engineering owns the credential patterns and IAM owns the inventory, ownership and reviews.

05Does Microsoft's mandatory Azure MFA affect our service accounts?

Only the ones that are really user accounts. Microsoft's enforcement for Azure CLI, PowerShell, infrastructure-as-code tools and REST calls applies to user identities making create, update or delete calls. Managed identities and service principals aren't affected. If your scripts run as users, that's a good nudge to move them to workload identities.

related

Often paired with

Projects on Non-Human Identities usually end up touching one of these, so they're worth a look.

sources 2 sources linked last checked 2026-10-20 content fingerprint 08c33574
  1. 01Microsoft Learn: Microsoft Entra Agent IDlearn.microsoft.com ↗
  2. 02Microsoft Learn: Plan for mandatory Microsoft Entra MFA (phase 2 from 1 Oct 2025, workload identities exempt)learn.microsoft.com ↗
Reviewed by the Cohash team Product names are trademarks of their owners. how we handle facts and data →
next step

Tell us what you're running. We'll tell you what we'd do first.

A 30-minute working session with a senior engineer. No slides.

useful to bring
  • The platform and the version you're on
  • Where you need to get to, and by when
  • What's custom: rules, plugins, integrations
  • Any audit finding or deadline driving it