Skip to main content

ISO 27001 Annex A · Organisational control

ISO 27001 Control 5.17: Authentication information

ISO 27001 control 5.17 requires authentication information, such as passwords, keys and tokens, to be issued and managed securely, with users told how to handle it. Auditors check password rules, secure first-time delivery, password managers and how secrets are stored in code. Secrets in source code repositories are a frequent finding.

Written by Santhosh K, Lead Auditor, from audits our team has led. Last updated 30 November 2026.

What control 5.17 requires

Control 5.17 asks you to control the allocation and management of authentication information through a management process, including telling users how to handle it properly. It covers passwords, PINs, API keys, certificates and tokens.

  • Secure delivery of initial or temporary credentials, with a forced change on first use.
  • Password rules that follow current good practice, such as length over complexity.
  • Guidance to users not to share or reuse credentials, and to use a password manager.
  • Secrets for systems stored in a vault, never in code or chat.

What the auditor asks

  • How are new users given their first password?
  • What are your password rules, and where are they enforced?
  • How are API keys and database passwords stored?
  • Have you scanned your repositories for secrets?

Evidence that passes

  • Identity provider password and MFA settings
  • A company password manager with usage records
  • A secrets manager or vault configuration
  • Secret-scanning results for code repositories
  • User guidance on handling credentials

Common audit findings

  • API keys and passwords committed to Git repositories.
  • Initial passwords sent in plain email or chat.
  • Default passwords on network devices or admin panels.
  • Policy rules not actually enforced in the identity provider.

How it maps to SOC 2

  • CC6.1Logical access security

Frequently asked questions

What password length does ISO 27001 require?

The standard doesn't set a number. Auditors expect a justified rule; many companies follow current NIST guidance of long passphrases with MFA rather than forced frequent changes.

Are secrets in GitHub an ISO 27001 finding?

Usually, yes. Live secrets in repositories break control 5.17 and often 8.4 and 8.28. Rotate them, move them to a vault and turn on secret scanning.

How close are you to passing?Answer 15 questions on the controls auditors test most and get your free readiness score.Get my score

Want an auditor to check this control?

Book a free 30-minute call. We'll tell you what an auditor would find in your setup today and what to fix first.

Book a free 30-minute call

Our audit-ready guarantee: you will pass. If the auditor raises a finding on anything we implemented, we fix it at no extra cost until it's closed. How the guarantee works

Hi! I'm your AI Assistant 💬