Skip to content
PRO-13 Identity, credential and access management
ASD EssentialsIT.PRO-13.2

ASD Essentials IT.PRO-13.2 Store keys, secrets and tokens in approved, access-controlled repositories with MFA

What it says

Store authentication keys, secrets and tokens in approved secure repositories with access controls, including MFA.

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

What it means

In plain English

Keep authentication keys, secrets and tokens in approved secure repositories, not spreadsheets or scripts, behind access controls that include MFA.

Your organisation must store authentication keys, secrets and tokens in secure repositories it has approved, with access controls on those repositories that include MFA (multi-factor authentication, which needs more than one proof of identity). These items are the stored values people and systems use to prove who they are, such as API keys, private keys and service account passwords. A repository here is a purpose-built store, such as a secrets manager or key vault, not a spreadsheet, shared drive or script.

Where this action applies

What's in each domain?

ASD orders the work by domain: apply this action to each ticked domain, phase by phase.

Phase 3

Why it matters

A token or key found in a script, spreadsheet or shared drive works for whoever finds it, with no sign-in prompt to pass. An approved repository behind access controls and MFA means a single stolen password no longer gets an attacker to them.

How to implement

  1. Approve the repositories and what each may hold.

    Choose purpose-built stores, such as a secrets manager, key vault or hardware security module (a tamper-resistant device for keys). Record each approved repository and its intended use, so an improvised store stands out.

  2. Turn on access controls and MFA for people.

    Use role-based access so each team reads only its own secrets. Require MFA on every route a person can use, including the web console, command line and API, and remove local accounts that skip it. IT.PRO-13.4 requires this MFA to be phishing-resistant, since a repository is a system. Log reads and changes.

  3. Give applications and pipelines a scoped machine identity.

    Software cannot answer an MFA prompt, so MFA covers people, and each application's access control is its own identity, limited to its own secrets. Have it fetch them at run time rather than keep copies in configuration. Log its reads so misuse shows.

  4. Move existing secrets in, then replace their values.

    Find them through your credential records (IT.IDE-01.2) and scan results (IT.PRO-13.3). After moving each one, rotate it and delete old copies, because the old value may survive in backups and version history.

  5. Treat anything that cannot move as an open risk.

    Where a bought product reads a secret only from its own configuration, restrict who can read that file or setting. Record the risk under your risk management methodology (IT.GOV-03.1), with an owner, and ask the vendor for repository support.

Keep it running

Use the scan results from IT.PRO-13.3 to spot secrets that have landed outside a repository. Re-check access rules when a new application, pipeline or cloud service goes live, or a team's work changes.

Evidence and audit

  1. Check 1 of 4What an auditor asks for

    Ask for

    A sample of production applications and integrations, chosen from cloud consoles and sign-in records rather than the repository's client list, with their running configuration.

    Look at

    Where each one actually gets its keys, secrets and tokens, including scripts and local files.

    Good evidence

    Each sampled application reads them from an approved repository. Anything stored elsewhere fails this check and is reported as an open gap, even if it is on the risk record with an owner.

  2. Check 2 of 4What an auditor asks for

    Ask for

    Live sign-ins to each repository by every route a person can use, including the web console, command line and API.

    Look at

    Whether MFA is required on each route, and whether a local account or long-lived personal token skips it.

    Good evidence

    MFA is required on every route a person can use, and no local account or personal token reaches secrets without it.

  3. Check 3 of 4What an auditor asks for

    Ask for

    The repository's access rules, and a test read using an account outside a team's role.

    Look at

    Whether people and applications can read only the secrets they need, and who can read everything.

    Good evidence

    The test read is refused, access is scoped by role or attribute, and any role able to read everything is limited to named administrators.

  4. Check 4 of 4What an auditor asks for

    Ask for

    Cloud and platform inventories of key vaults and secret stores, compared with the approved list.

    Look at

    Any store in use that is not on the list, and the approval record for those that are.

    Good evidence

    Every store found is on the approved list with a recorded approval, and no team is using an unapproved one.

ASD indicators of good practice (9)

The indicators below are quoted as published from ASD's Assessment evidence guide for enterprise IT. These optional indicators help an assessor judge the action in each domain where it applies: if any not effective statement is true, the action is rated not effective; if every applicable fully effective statement is true and no other statement is, it is rated fully effective; otherwise it is rated partially effective. ASD says the indicators "do not replace expert judgement, nor are they intended to serve as a checklist".

Not effective(4)

  • NE-1Credentials are stored in plaintext, spreadsheets, shared drives or other unapproved locations as standard practice.
  • NE-2No approved secure repository is in use to store authentication keys, secrets and tokens.
  • NE-3Access to credential stores is neither controlled nor audited.
  • NE-4Access controls such as MFA are not enabled for authentication to secure repositories.

Partially effective(3)

  • PE-1An approved secure repository is in use but does not cover all authentication keys, secrets and tokens within scope.
  • PE-2Access controls for secure repositories are in place but access logging is not enabled or not reviewed.
  • PE-3MFA is enforced for some, but not all, applicable users, repositories or authentication pathways, and the remaining exceptions are documented and subject to remediation.

Fully effective(2)

  • FE-1Authentication keys, secrets and tokens within scope are stored in approved secure repositories, with any authorised exceptions documented, risk-assessed and managed in accordance with organisationally defined requirements.
  • FE-2Access to secure repositories is restricted using attribute or role-based access controls, MFA is enforced for all applicable authentication pathways, and access is logged and reviewed and investigated where necessary.

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
  • A.8.24Use of cryptographyPartially overlaps
Essential Eight

ASD Essential Eight: 2 mappings

ASD ISM

ASD Information Security Manual: 2 mappings

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