---
title: "Cloud IAM for small teams: least privilege, MFA and tokens · CloudSat"
description: "An IAM checklist for teams on cloud servers: individual accounts, phishing-resistant MFA, scoped API tokens, SSH keys and certificates, and clean offboarding."
url: https://cloudsat.io/learn/cloud-iam-least-privilege-checklist
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Security](https://cloudsat.io/learn/topic/server-security)

# Cloud IAM for small teams: least privilege, MFA and tokens

An IAM checklist for teams on cloud servers: individual accounts, phishing-resistant MFA, scoped API tokens, SSH keys and certificates, and clean offboarding.

CloudSat team November 18, 2026 6 min read

In a small team, the cloud account is usually compromised through identity, not through an exotic exploit: an API token pasted into a public repository, a shared root password that three former contractors still know, an SSH key left on a server by someone who left a year ago. Identity and access management (IAM) is the discipline of deciding who and what can do which actions, and proving it afterwards. Large clouds wrap it in policy languages, but the principles work the same on any provider, a fleet of VPS servers and the SaaS tools around them.

## The principles on one page

| Principle | What it means | First practical step |
| --- | --- | --- |
| One identity per human | No shared logins, ever | Give each person their own account in every console and tool |
| Least privilege | Only the rights a task needs | Use read-only tokens for monitoring and reporting |
| Strong authentication | MFA everywhere, phishing-resistant for admins | Passkeys or security keys on admin accounts |
| Short-lived credentials | Access that expires on its own | Set an expiry on every token you create |
| Separation | Production apart from everything else | Separate accounts or projects for prod and test |
| Visibility | A record of who did what | Read the activity logs, and alert on sensitive events |

## Accounts: one human, one identity

Shared accounts destroy two things: the audit trail and the ability to remove one person without disrupting everyone else. When a tool supports multiple users, use them. When it truly does not, store the credential in a team password manager, protect it with MFA, and rotate it whenever someone with access leaves.

Keep exactly one **break-glass** account for emergencies: a long random password, its own security key, stored offline, used only when normal sign-in fails. Any use of it should trigger an alert and a written note explaining why.

## Authentication: MFA first, phishing-resistant MFA next

Any second factor stops most password-only attacks. The factors are not equal, though:

| Factor | Stops password reuse | Resists phishing |
| --- | --- | --- |
| SMS code | Yes | No; also exposed to SIM swapping |
| Authenticator app (TOTP) | Yes | No; a fake login page can relay the code |
| Push approval | Yes | Partly; vulnerable to approval fatigue |
| Passkey or FIDO2 security key | Yes | Yes; bound to the real site's domain |

Use authenticator apps as the minimum for everyone and passkeys or security keys for administrators. For passwords that remain, follow NIST SP 800-63B-4: at least 15 characters when a password is the only factor, no forced periodic changes, no arbitrary composition rules, and a check against known breached passwords. A password manager makes all of that painless.

Store recovery codes offline, and test one before you need it. On CloudSat, [two-factor authentication](https://cloudsat.io/docs/two-factor-authentication) works with authenticator apps and comes with recovery codes, and the console lists active sessions so you can end any you do not recognize.

## Authorization: least privilege in practice

Start every role at zero and add permissions for real tasks, not imagined ones. A simple matrix written down beats an elaborate policy nobody maintains:

| Role | Cloud console | Production servers | Billing | Source code |
| --- | --- | --- | --- | --- |
| Founder or owner | Full | Emergency only | Full | Admin |
| Ops engineer | Full | sudo | Read | Write |
| Developer | Read | Deploy pipeline only | None | Write |
| Accountant | None | None | Full | None |

Grant extra rights for a specific task and remove them afterwards, rather than leaving everyone with permanent admin "just in case". Keep production in its own account or project, so a mistake in a test environment cannot touch it.

## Machine credentials: tokens and keys

Automation needs credentials too, and they leak more often than human passwords because they get copied into scripts, CI variables and chat messages.

- **Scope every token.** A monitoring script needs read access, not the right to delete servers. CloudSat's [API tokens](https://cloudsat.io/docs/api-tokens) are scoped for read or write, so create one token per integration with the smallest scope that works.
- **Give tokens an owner and an expiry.** A token nobody owns is never rotated.
- **Keep secrets out of Git.** Use a secret manager such as HashiCorp Vault, OpenBao, Infisical or your CI system's encrypted variables, and scan commits for leaks before they are pushed.
- **Prefer federation in CI.** Where the target supports it, let the pipeline exchange a short-lived OpenID Connect token for access instead of storing a long-lived key.

## SSH access without shared keys

Every person gets their own key, created on their own device and protected by a passphrase:

```bash
ssh-keygen -t ed25519 -C "alice@laptop-2026"
```

Each public key goes into the personal account's `authorized_keys`, never into a shared `root` or `deploy` account that everybody uses. You can pin a key to a source range with an option in front of it:

```text
from="198.51.100.0/24" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... alice@laptop-2026
```

For more than a few servers, consider SSH certificates. An internal certificate authority signs each user's key for a limited time, and servers trust the CA instead of individual keys. Offboarding then means simply not signing again:

```bash
ssh-keygen -s /secure/ssh_user_ca -I alice -n alice -V +8h alice_ed25519.pub
```

On the servers, `TrustedUserCAKeys /etc/ssh/user_ca.pub` in `sshd_config` tells sshd to accept keys signed by that CA.

## Offboarding and regular access checks

Every quarter, list who has access to each system and remove anything without a current reason. When someone leaves, work through the same list the same day:

1. Disable their account in the identity provider, which cuts off every connected app at once.
2. Revoke the API tokens they created and the CI secrets they could read.
3. Remove their SSH keys from every server, or stop signing their certificates.
4. Rotate shared secrets they knew, such as database passwords and the break-glass credentials.
5. Transfer ownership of repositories, domains and DNS accounts registered in their name.
6. End their active sessions in every console.

## Logging: prove who did what

Keep the provider's activity log, your identity provider's sign-in log, and `sudo` logs on servers (`journalctl _COMM=sudo` shows them). Alert on a short list of events: a new administrator, a new API token, MFA switched off, and a login from a country where nobody on the team works. Logs only help if someone reads them, so send those alerts to a channel the team actually watches, and ship server logs to a separate machine where an intruder with root on one server cannot erase them.

## FAQ

### Is an authenticator app enough?

It is a solid baseline that blocks most automated attacks. Administrators and anyone with billing or production access should move to passkeys or hardware security keys, which a phishing page cannot relay.

### How often should we rotate passwords?

Not on a calendar. Current NIST guidance says to change a password when there is evidence of compromise. Tokens and keys are different: give them expiry dates and rotate them when people leave.

### When does a small team need a central identity provider?

Once you have more than a handful of people and tools, offboarding by hand starts missing things. A self-hosted provider, compared in the guide to [Keycloak, authentik, ZITADEL and Authelia](https://cloudsat.io/learn/keycloak-authentik-zitadel-authelia-sso), gives you one switch for every app.

**Run it on CloudSat.** Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. [See plans](https://cloudsat.io/plans) or [deploy a server](https://dash.cloudsat.io/console/deploy).

## Keep reading

[All guides in Security](https://cloudsat.io/learn/topic/server-security)

- [Self-hosted SSO: Keycloak, authentik, ZITADEL or Authelia](https://cloudsat.io/learn/keycloak-authentik-zitadel-authelia-sso): Security Self-hosted SSO: Keycloak, authentik, ZITADEL or Authelia 6 min read
- [DevSecOps for small teams: add security checks to CI](https://cloudsat.io/learn/devsecops-pipeline-security-checks): Security DevSecOps for small teams: add security checks to CI 6 min read
- [Incident response for cloud servers: the first 24 hours](https://cloudsat.io/learn/cloud-incident-response-plan): Security Incident response for cloud servers: the first 24 hours 6 min read
- [Change the SSH port without locking yourself out](https://cloudsat.io/learn/change-ssh-port-safely): Security Change the SSH port without locking yourself out 7 min read
