NULLWIRE / TECHNICAL LIBRARYDOC ID: KNW-011
CLOUD / EXPLAINER

Cloud IAM & Least Privilege

Understand identity boundaries, scoped permissions, service credentials and auditability in cloud systems.

STARTER FIELD NOTE / REVIEW REQUIRED

Educational reference drafted for the Nullwire archive. This is not a claim of completed training or original research; verify examples and customise before presenting it as finished work.

START OF FILEMARKDOWN / PUBLIC DOCUMENT

Objective

Design access so that identities can perform only the actions they need, for only as long as necessary.

Three questions

  1. Who? A human, application, workload or automated build.
  2. What? The exact resources and operations permitted.
  3. When and under what conditions? Scope, duration, device or network requirements.

An identity that can read logs may not need to modify access policies. A deployment job that writes site assets should not automatically receive permission to delete unrelated storage buckets.

Avoid broad grants

Policies such as unrestricted administrative access can be convenient during experiments, but they dramatically increase the impact of a compromised credential. Start with the resources and actions a workflow requires, then expand only where tests show a legitimate need.

Service credentials

Prefer short-lived workload identities where supported. Store necessary secrets in a proper secret manager or managed runtime configuration, not inside repositories, screenshots or Markdown files.

Audit trail

Good access design includes:

  • Who or what used a permission.
  • Which resource was accessed.
  • Whether a sensitive change was approved.
  • How permission revocation is tested.

Lab exercise

Create a fictional service with three components: a public site, a private document store and a deployment worker. Write an access matrix showing which component can read or write each resource. Then review every unnecessary permission.

Nullwire connection

A protected CV should live in private storage, and only an authorised server route should retrieve it. A public static asset URL should never bypass that check.

Related: Web Authentication & Session Security.

⌁END OF KNOWLEDGE RECORDEOF // KNW-011