Skip to content
System access
ASD ISMISM-2143

ASD ISM 2143 Unique per-application credentials not shared across environments

What it says

Applications and workloads use unique credentials that are not shared with other applications or workloads, or across development, testing, staging and production environments.

Quoted as published. Everything else on this page is written by Control Stack.

What it means

In plain English

Every application and workload gets its own credentials, never reused by another application or workload, and never carried between development, testing, staging and production.

Applications and workloads, such as services, containers, batch jobs and integrations, sign in to other systems with credentials like passwords, keys, tokens or certificates. This control requires those credentials to be unique in two ways:

  • Per application or workload: no other application or workload uses the same credentials.
  • Per environment: the development, testing, staging and production versions of an application each have their own.

Why it matters

A single leaked or compromised credential could grant access to several applications or workloads at once, or turn a development or test compromise into a production breach. Non-production environments usually have weaker protection, so a production credential reused there (on developer laptops, in test data or in build logs) is more likely to leak. Investigations cannot reliably attribute actions to a specific application, and revoking a compromised credential forces outages across every application that shared it.

How to implement

  1. Application owners and platform engineers inventory every application and workload, together with the databases, APIs, queues and service accounts each one authenticates to, and record which credential is used in each of development, testing, staging and production so that any credential appearing more than once is visible.

  2. Platform engineers configure the secrets manager (or vault) with a separate entry for each application in each environment, using a naming scheme such as app/environment/purpose, and have deployment pipelines inject the credential by reference so the value never needs to be copied between configurations.

  3. Platform engineers scope access to secrets by environment, granting development and testing pipelines and developers read access only to their own environment's secrets, and restricting production secrets to the production deployment identity.

  4. Development teams update environment build and onboarding procedures so that creating a new environment or new workload always generates new credentials (new service account, new API key, new client secret) instead of cloning environment variables or configuration files from an existing environment.

  5. Application owners split any credential found to be shared, by issuing a fresh credential for each additional application or environment, updating each consumer to its own credential, then revoking the previously shared one once all consumers are migrated.

Keep it running

Day to day, this control lives in how new applications, workloads and environments are provisioned. Whenever a team stands up a new service, integration, scheduled job or environment, the request should create a fresh credential for that application in that environment, rather than copying one that already exists. Secrets management tooling makes this practical: store credentials per application and per environment, reference them by name from deployment configuration, and prevent the production secret path from being readable by development or test pipelines.

Watch for the common ways sharing creeps back in: a "generic" service account reused by several jobs because it already has the right permissions, a production connection string copied into a test config to reproduce a bug, environment variables cloned when a new environment is spun up from an existing one, or a vendor integration that reuses one API key across every tenant or environment. Include a credential-uniqueness check in change reviews and environment build checklists, and reconcile the secrets inventory against the list of applications and workloads periodically so that orphaned or shared entries are found and split. When an application is decommissioned, its credentials are revoked without affecting anything else, which is itself a useful sign the control is working.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    The inventory or secrets manager listing of application and workload credentials, mapped to the applications and environments that use them.

    Look at

    Check whether any single credential, service account, API key or certificate is listed against more than one application or workload.

    Good evidence

    Each application or workload has its own distinct credential, and the listing shows no credential consumed by two or more applications.

  2. Check 2 of 5What an auditor asks for

    Ask for

    The credential entries for one application across its development, testing, staging and production environments.

    Look at

    Compare the credentials (or their identifiers and fingerprints, not the secret values) across the four environments to see whether the same one is reused.

    Good evidence

    The application uses a different credential in each environment, and the production credential does not appear in any non-production configuration.

  3. Check 3 of 5What an auditor asks for

    Ask for

    The deployment pipeline configuration and the access policy on the secrets store.

    Look at

    Look at how credentials are supplied to each environment and which identities can read the production secrets.

    Good evidence

    Pipelines pull environment-specific secrets by reference, and non-production pipelines and developers cannot read production credentials.

  4. Check 4 of 5What an auditor asks for

    Ask for

    The procedure used to stand up a new environment or a new workload, and a recent example of it being followed.

    Look at

    Check whether the procedure requires new credentials to be created, or whether it clones configuration and environment variables from an existing environment.

    Good evidence

    The procedure creates fresh credentials for every new workload and environment, and the recent example shows a new credential was issued rather than an existing one reused.

  5. Check 5 of 5What an auditor asks for

    Ask for

    Records of the last review that reconciled credentials against applications and environments, and any remediation that followed.

    Look at

    Look for shared credentials that were identified, the fresh credentials issued to replace them, and revocation of the previously shared credential.

    Good evidence

    Shared credentials are found and split as part of a repeatable review, with evidence that the old shared credential was revoked after each consumer moved to its own.

Mappings

Closest match in ISO/IEC 27001: A.5.17, Authentication information, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.5.17Authentication informationPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.