Skip to content
Singahi

Compliance · guide

ISO 27001 A.5.17: Authentication Information

40 min read

Share
On this page

Quick Reference (60 Seconds)

Figure · At a glance

A.5.17 at a glance

Standard Reference
ISO/IEC 27001:2022, Annex A, Control 5.17
27002 Guidance
ISO/IEC 27002:2022, Clause 5.17
Objective
Ensure authentication credentials
Key Requirement
Credential lifecycle: creation, distribution
Who It Applies
All authentication credentials: passwords
Audit Focus
Password policy, hashing, MFA, passwordless
The essentials before reading further. The full reference table follows.

ISO 27001:2022 Annex A 5.17 requires the allocation and management of authentication information to be controlled through a formal process, ensuring that credentials are created, distributed, and stored securely.

ElementWhat You Need to Know
Standard ReferenceISO/IEC 27001:2022, Annex A, Control 5.17
27002 GuidanceISO/IEC 27002:2022, Clause 5.17, Authentication information
ObjectiveEnsure authentication credentials are securely created, distributed, stored, and managed
Key RequirementCredential lifecycle: creation, distribution, storage, rotation, revocation, recovery
Who It Applies ToAll authentication credentials: passwords, tokens, certificates, biometrics, API keys
Audit FocusPassword policy, hashing, MFA, passwordless, credential vault, rotation, monitoring
Typical FailuresWeak passwords, no MFA, plaintext storage, no rotation, shared credentials, no vault
Singahi's RolePassword policy design, MFA implementation, credential vault, passwordless, monitoring

The Bottom Line: Authentication information is the keys to your kingdom. If you don't protect how credentials are created, stored, and used, nothing else matters.


What the Standard Actually Requires

Figure · Matrix

Comparison: 1. Password policy to 6. Monitoring

Evidence RequiredCommon Failure
1. Password policyDocumented password policyNo policy or weak policy
2. Secure storageHashed/encryptedPlaintext or weak hashing
3. Secure distributionSecure credential issuanceEmail in plaintext
4. MFAMFA for privileged/sensit…No MFA
5. RotationCredential rotationNo rotation or long
6. MonitoringAuthentication monitoringNo monitoring
Condensed from the table below, which carries the full detail for each cell.

The ISO 27001:2022 Text

Annex A 5.17 states:

ISO 27001:2022 Annex A 5.17 asks organizations to control the allocation and management of authentication information through a formal process.

What ISO 27002:2022 Adds

The implementation guidance requires:

  • Authentication information (credentials) created securely
  • Credentials distributed securely to users
  • Users required to sign acknowledgment of receipt
  • Users required to change initial/temporary passwords
  • Credentials stored securely (hashed, encrypted, vaulted)
  • Credentials not shared, not written down, not stored in plaintext
  • Regular credential rotation
  • Compromised credentials revoked immediately
  • Credential recovery process secure and audited
  • MFA for sensitive access
  • Password policy enforced
  • Passwordless authentication considered

The Six Mandatory Components

ComponentEvidence RequiredCommon Failure
1. Password policyDocumented password policyNo policy or weak policy
2. Secure storageHashed/encrypted credentialsPlaintext or weak hashing
3. Secure distributionSecure credential issuanceEmail in plaintext, no acknowledgment
4. MFAMFA for privileged/sensitiveNo MFA
5. RotationCredential rotation recordsNo rotation or long rotation periods
6. MonitoringAuthentication monitoringNo monitoring of authentication events

Why Authentication Information Matters

Credential Compromise Statistics

StatisticSourceImpact
80% of breaches involve compromised credentialsVerizon DBIRCredentials are the primary attack vector
49% of users reuse passwords across work and personalLastPassPassword reuse = breach risk
65% of users reuse passwords across work accountsLastPassInternal password reuse
24 billion credentials exposed in breaches (HaveIBeenPwned)HIBPMassive credential exposure
** credential stuffing** is the #1 attackAkamaiAutomated credential reuse attacks
99.9% of attacks prevented by MFAMicrosoftMFA is the single best control
30% of help desk tickets are password-relatedGartnerPassword management overhead
50% of users don't change password after breachGooglePost-breach password inertia
23% of users use password123 or similarNCSCWeak password prevalence
1 second to crack password123Hive SystemsWeak password crackability
34,000 years to crack 16-character random passwordHive SystemsStrong password resistance
60% of organizations don't check for compromised passwordsPonemonNo compromised password detection
40% of organizations have no password policyPonemonNo password governance
20% of employees share passwords with colleaguesLastPassPassword sharing risk

Password Policy Design

Password Policy Requirements by Role

RoleMinimum LengthComplexityExpirationHistoryMFAMethod
Standard user12 characters3 of 4180 days (or never if MFA)12TOTP/PushPassphrase preferred
Manager12 characters3 of 4180 days (or never if MFA)12TOTP/PushPassphrase preferred
Developer12 characters3 of 4180 days (or never if MFA)12TOTP/PushPassphrase preferred
System Admin16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
Database Admin16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
Security Admin16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
CISO16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
CEO/Executive16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
Finance Admin16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
HR Admin16 characters4 of 490 days (or never if MFA + hardware key)24Hardware key + TOTPPassphrase + hardware key
Service account32 charactersRandom90 days (or never if vault + rotation)N/ACertificate/KeyRandom + vault
Third-party user12 characters3 of 490 days12TOTP/PushPassphrase
Customer8 characters3 of 4Never (if MFA)5TOTP/SMS (optional)User choice
Break-glass32 charactersRandomPer useN/AHardware key + multipleRandom + vault

Password Policy Best Practices

PracticeImplementationRationaleTool
Passphrase4+ random words, 16+ charactersEasier to remember, harder to crackUser education, password generator
No expirationNo forced expiration if MFA enabledReduces password reuse, reduces help deskAzure AD, Okta
Compromised checkCheck against HaveIBeenPwned on creation and loginPrevents use of breached passwordsAzure AD, Okta, HIBP API
No common passwordsBlock top 10,000 common passwordsPrevents weak passwordsAzure AD, Okta, custom list
No username in passwordBlock password containing usernamePrevents guessable passwordsAzure AD, Okta
No organization nameBlock password containing company namePrevents guessable passwordsAzure AD, Okta, custom list
No keyboard walksBlock qwerty, 123456, abcdefPrevents pattern passwordsAzure AD, Okta, custom list
Password managerRequire or strongly recommend password managerStrong unique passwords, no reuse1Password, LastPass, Bitwarden
Self-service password reset (SSPR)Enable SSPR with MFA verificationReduce help desk, user empowermentAzure AD, Okta
Password visibilityAllow users to see password while typingReduce typos, improve user experienceModern UI
Password strength meterShow password strength during creationGuide users to stronger passwordsModern UI, zxcvbn
No password hintsDisable password hintsPrevent social engineeringGroup Policy, Azure AD
No security questionsDisable or limit security questionsPrevent social engineeringAzure AD, Okta
Password generatorProvide strong password generatorEncourage strong passwordsPassword manager, browser
Password educationTrain users on passphrase creationUser awareness, behavioral changeTraining, awareness
Admin password policyStronger policy for admin accountsHigher security for privileged accountsAzure AD, GPO, PAM
Service account policyRandom 32+ char, vault, rotationNon-human, automated, securePAM, Vault, Secrets Manager
API key policyRandom, vault, rotation, scopedSecure API authenticationAPI Gateway, Vault
Certificate policyValidity period, rotation, revocationSecure certificate lifecyclePKI, CA
Token policyShort-lived, refresh token rotation, revocationSecure session managementOAuth server, IAM

Password Storage and Hashing

Password Hashing Algorithms

AlgorithmSecurity LevelSpeedSaltMemory HardRecommended
bcryptHighSlowYesNoYes (overhead factor 12+)
scryptHighSlowYesYesYes (for memory-hard)
Argon2idVery HighSlowYesYesYes (OWASP recommended)
PBKDF2Medium-HighSlow (with iterations)YesNoAcceptable (600k+ iterations)
SHA-256LowFastOptionalNoNo (not for password hashing)
SHA-512LowFastOptionalNoNo (not for password hashing)
MD5Very LowVery FastOptionalNoNo (deprecated, insecure)
SHA-1Very LowFastOptionalNoNo (deprecated, insecure)
LM hashNoneInstantNoNoNo (Windows legacy, insecure)
NTLM hashVery LowFastNoNoNo (Windows, insecure)
AES encryptionNot applicableN/AN/AN/ANo (encryption ≠ hashing)
Base64NoneN/AN/AN/ANo (encoding ≠ security)
PlaintextNoneN/AN/AN/ANo (never store plaintext)

Hashing Implementation

ParameterbcryptscryptArgon2idPBKDF2
overhead/Iterationsoverhead factor 12+ (2^12 = 4096 iterations)N=2^14, r=8, p=1m=65536, t=3, p=4600,000+ iterations
Salt16 bytes random16 bytes random16 bytes random16 bytes random
PepperOptional (server-side secret)OptionalOptionalOptional
AlgorithmEksblowfishBlock mixMemory-hardHMAC-SHA256
Librarybcrypt (Python), bcrypt (Node), BCrypt (Java), BCrypt.Netscrypt (Python), scrypt (Node), Scrypt (Java)Argon2 (Python), argon2 (Node), Argon2 (Java)PBKDF2HMAC (Python), pbkdf2 (Node), PBKDF2 (Java)
Output60 characters (including salt)VariableVariableVariable
MigrationIf using old algorithm, rehash on next loginSameSameSame

Credential Storage Best Practices

Credential TypeStorage MethodEncryptionKey ManagementRotationEvidence
User passwordsHashed (Argon2id/bcrypt)N/A (hashing)N/AUser-initiatedHash database
Admin passwordsHashed + PAM vaultVault encryptionHSM/KMS90 days or per policyVault logs
Service account passwordsVault (HashiCorp, CyberArk)Vault encryptionHSM/KMS90 days or automatedVault logs
API keysVault or secrets managerVault encryptionHSM/KMS90 days or automatedVault logs
Database passwordsVault or secrets managerVault encryptionHSM/KMS90 days or automatedVault logs
Application secretsVault or secrets managerVault encryptionHSM/KMS90 days or automatedVault logs
TLS certificatesCertificate store (PKI)Encrypted storeHSM/KMSPer validity periodCertificate logs
SSH keysSSH agent, vaultEncrypted at restHSM/KMS90 days or automatedKey logs
OAuth tokensToken store, encryptedEncrypted at restHSM/KMSShort-lived, refresh rotatedToken logs
Biometric templatesEncrypted storage, not rawAES-256, separate from other dataHSM/KMSN/A (template doesn't change)Storage config
MFA seedsEncrypted storage, HSMHSM encryptionHSMN/A (seed is static)HSM config
Recovery codesEncrypted, printed, distributedAES-256HSM/KMSSingle useDistribution record
Backup codesEncrypted, limited distributionAES-256HSM/KMSSingle useDistribution record
Shared secretsVault, encryptedVault encryptionHSM/KMS90 days or per policyVault logs
Encryption keysHSM, KMS, key vaultHSM encryptionHSMPer key rotation policyKey rotation logs

Password Reset and Recovery

Secure Password Reset Process

StepActionVerificationSecurityEvidence
1User initiates password resetClick "Forgot Password"Rate limiting, CAPTCHARequest log
2Verify identityMFA challenge (TOTP, push, email)MFA required, no security questionsMFA log
3Send reset link/codeEmail or SMS with time-limited linkExpires in 15 minutes, single useDelivery log
4User clicks link/enters codeLink opens reset page or code acceptedHTTPS, no HTTP, valid domainAccess log
5User creates new passwordPassword strength enforced, compromised checkPolicy enforcement, HIBP checkCreation log
6Password updatedOld password invalidated immediatelyImmediate invalidationUpdate log
7Notify userEmail notification of password changeAlert if not initiated by userNotification log
8AuditLog all reset actionsImmutable audit trailAudit log
9Session invalidationAll existing sessions invalidatedForce re-loginSession log
10Optional: Manager notificationNotify manager of admin password resetEnhanced monitoring for adminNotification log

Password Reset Security Requirements

RequirementImplementationBest PracticeTool
MFA requiredRequire MFA for password resetTOTP, push, or hardware keyAzure AD, Okta
No security questionsDisable security questionsSecurity questions are insecureAzure AD, Okta
Rate limitingLimit reset attempts per user/IP3 attempts per hour, 5 per dayAzure AD, Okta, custom
Time-limited linkReset link expires quickly15 minutes maximumAzure AD, Okta, custom
Single-use linkLink can only be used onceOne-time use, invalidated after useAzure AD, Okta, custom
HTTPS onlyAll reset communication over HTTPSTLS 1.3, valid certificateWeb server, CDN
No password in emailNever send password in emailSend link only, not passwordEmail gateway
NotificationNotify user of password changeEmail to user, SMS optionalEmail gateway, SMS gateway
Session invalidationInvalidate all sessions on password changeForce re-login everywhereIAM, session management
Audit trailLog all password reset actionsImmutable log, SIEM integrationSIEM, IAM
Compromised checkCheck new password against HIBPBlock breached passwordsHIBP API, Azure AD, Okta
Admin approvalManager approval for admin password resetManager approval, security notificationServiceNow, IAM
Break-glassBreak-glass for admin lockoutPre-approved emergency accounts, HSMPAM, HSM
Self-serviceEnable self-service for all usersReduce help desk, empower usersAzure AD SSPR, Okta
Help desk verificationIf help desk reset, verify identity stronglyMFA + manager approval + employee IDHelp desk procedure

Multi-Factor Authentication (MFA)

MFA Factor Types

FactorTypeExamplesSecurity LeveloverheadUser ExperienceBest For
KnowledgeSomething you knowPassword, PIN, security questionLowFreeEasyBase factor
PossessionSomething you havePhone, hardware key, smart card, certificateMedium-HighLow-HighEasy-HardSecond factor
InherenceSomething you areFingerprint, face, iris, voice, behaviorHighMediumEasySecond factor
LocationSomewhere you areGPS, IP address, network locationMediumLowTransparentContextual factor
TimeSomething about whenTime-based OTP, time windowsLowFreeTransparentContextual factor
BehaviorSomething you doKeystroke dynamics, mouse patterns, device handlingMediumMediumTransparentRisk factor

MFA Implementation by Risk Level

Risk LevelRequired FactorsExampleImplementation
LowPassword + SMS/TOTP (optional)Public website, newsletterOptional MFA
MediumPassword + TOTP/PushStandard employee, internal appsEnforced MFA
HighPassword + Hardware key + TOTPAdmin, finance, sensitive dataEnforced MFA + hardware key
Very HighPassword + Hardware key + Biometric + TOTPCISO, break-glass, critical infrastructureMaximum factors, no bypass
API/SystemCertificate + Key + IP whitelistService-to-service, APImTLS + API key + IP
CustomerPassword + TOTP (optional)Customer portal, B2COptional MFA, recommended
Third-partyPassword + TOTP/PushVendor, contractor, consultantEnforced MFA
RemotePassword + Push + Device complianceRemote worker, VPNMFA + device compliance
PrivilegedPassword + Hardware key + TOTPAdmin, DBA, securityEnforced, no bypass
EmergencyHardware key + Biometric + TOTP + approvalBreak-glass, emergencyMaximum factors, pre-approved

Passwordless Authentication

Passwordless Methods

MethodTechnologySecurity LevelUser ExperienceoverheadBest ForImplementation
FIDO2/WebAuthnPublic key cryptography, hardware-backedVery HighEasy (touch/scan)Medium-HighAll users, especially adminYubiKey, Windows Hello, Apple Touch ID, Android
Windows HelloBiometric + PIN + TPMVery HighEasy (face/fingerprint/PIN)Included (Windows 10/11)Windows usersWindows 10/11, Azure AD
Apple Touch ID/Face IDBiometric + Secure EnclaveVery HighEasy (touch/scan)Included (Apple devices)Apple usersmacOS, iOS, Safari
Android BiometricBiometric + KeystoreVery HighEasy (fingerprint/face)Included (Android)Android usersAndroid, Chrome
PasskeysFIDO2, synced across devices, cloud-backedVery HighEasy (biometric/PIN)FreeAll users, modern replacement for passwordsGoogle, Apple, Microsoft, 1Password, Dashlane
Certificate-basedX.509, PKI, smart cardHighModerate (insert card)MediumEnterprise, government, high-securitySmart card, PKI, YubiKey PIV
Magic linkEmail link, time-limitedMediumEasy (click link)LowLow-risk, temporary, customerEmail gateway, custom
Push notificationMobile app push, biometric confirmationHighEasy (tap approve)LowStandard MFA, mobile-firstDuo, Microsoft Authenticator, Okta
Phone authenticationPhone call + PINMediumModerate (answer call)LowBackup, accessibilityPhone gateway
QR codeQR scan + mobile appMediumEasy (scan code)LowMobile login, temporaryQR generator, mobile app
Email OTPEmail one-time codeMediumEasy (check email)FreeLow-risk, backupEmail gateway
SMS OTPSMS one-time codeLow-MediumEasy (check SMS)LowBackup, low-risk, customerSMS gateway
Hardware OTPHardware token generates OTPHighModerate (read token)MediumHigh-security, air-gappedRSA SecurID, YubiKey OTP
Software OTPTOTP app generates codeMedium-HighEasy (open app)FreeStandard MFA, widely supportedGoogle Authenticator, Microsoft Authenticator, Authy

Passwordless Implementation Roadmap

StepActionOwnerToolTimeline
1Assess passwordless readinessSecurityIdP assessment1 week
2Pilot with IT teamITFIDO2 keys, Windows Hello1-2 weeks
3Deploy FIDO2 keys for adminSecurityYubiKey, Titan2-4 weeks
4Enable Windows Hello for Windows usersITWindows Hello, Azure AD2-4 weeks
5Enable passkeys for mobile usersITApple, Google, Microsoft passkeys2-4 weeks
6Enable passwordless for standard usersITFIDO2, passkeys, push4-8 weeks
7Train users on passwordlessHR + ITTraining, documentation1-2 weeks
8Monitor and supportITHelp desk, analyticsOngoing
9Retire passwords for passwordless usersSecurityIdP policy1-2 weeks
10Full passwordless for all usersSecurityIdP policy, conditional access8-12 weeks

Biometric Authentication

Biometric Methods

BiometricAccuracySpoof ResistanceoverheadBest ForPrivacy RiskImplementation
FingerprintHighHigh (with liveness)LowMobile, laptop, access controlMediumTouch ID, Windows Hello, Android
Facial recognitionHighHigh (with liveness)MediumMobile, laptop, access control, surveillanceHighFace ID, Windows Hello, Amazon Rekognition
Iris recognitionVery HighVery HighHighHigh-security, border control, data centerHighIris scanners, Samsung, custom
Voice recognitionMediumLowLowCall center, phone authenticationMediumVoice biometrics, Nuance, Pindrop
BehavioralMediumMediumMediumContinuous authentication, risk scoringLowTyping cadence, mouse patterns, device handling
Palm veinVery HighVery HighHighHigh-security, healthcare, financialLowPalm vein scanners, Fujitsu
Retina scanVery HighVery HighVery HighMilitary, high-securityHighRetina scanners, military
Hand geometryMediumMediumMediumPhysical access, time attendanceLowHand geometry scanners
Signature dynamicsMediumLowLowDocument signing, legalLowSignature pads, tablets
Gait recognitionMediumMediumMediumSurveillance, continuousHighCamera-based, mobile sensors
HeartbeatMediumHighMediumWearables, continuousLowWearable devices, Nymi
DNAVery HighN/AVery HighForensic, legal, extreme securityVery HighLab-based, not practical for daily use

Biometric Storage and Privacy

RequirementImplementationBest PracticeRegulationEvidence
Template storageStore template, not raw biometricTemplate (mathematical representation), not imageDPDP Act, GDPRStorage config
EncryptionEncrypt templates at rest and in transitAES-256, TLS 1.3DPDP Act, GDPREncryption config
SeparationStore biometrics separately from other dataSeparate database, separate encryption keyDPDP Act, GDPRArchitecture
No centralizationPrefer on-device biometric over centralOn-device (Face ID, Touch ID) vs. serverDPDP Act, GDPRArchitecture
ConsentExplicit consent for biometric collectionOpt-in, informed consent, purpose limitationDPDP Act, GDPRConsent records
Right to deletionAllow deletion of biometric dataTemplate deletion, revocationDPDP Act, GDPR (Article 17)Deletion records
No sharingDo not share biometric data with third partiesStrict no-sharing policyDPDP Act, GDPRPolicy
AuditAudit biometric access and useAccess logs, usage logs, audit trailDPDP Act, GDPRAudit logs
AccuracyEnsure biometric accuracy and fairnessRegular testing, bias testing, accuracy metricsDPDP Act, GDPRAccuracy reports
FallbackProvide non-biometric fallbackPIN, password, token as fallbackDPDP Act, GDPRFallback policy
Spoof detectionImplement liveness detectionAnti-spoofing, liveness detection, challenge-responseBest practiceLiveness config
DPIAConduct Data Protection Impact Assessment for biometricDPIA for biometric processingDPDP Act, GDPR (Article 35)DPIA document
Cross-borderRestrict cross-border biometric transferStore locally, transfer restrictionsDPDP Act, GDPRTransfer policy
ChildrenSpecial protection for children's biometricParental consent, enhanced protectionDPDP Act, GDPR, COPPAConsent records
TransparencyClear privacy notice for biometricExplain collection, use, storage, retention, rightsDPDP Act, GDPRPrivacy notice

Certificate-Based Authentication

Certificate Types

Certificate TypeUse CaseKey SizeValidityStorageBest Practice
User certificateUser authentication, VPN, email signingRSA 2048+ or ECC 256+1-3 yearsSmart card, USB token, TPM, HSMTPM/smart card preferred
Machine certificateDevice authentication, network access, WiFiRSA 2048+ or ECC 256+1-3 yearsTPM, device keystore, certificate storeTPM preferred
Service certificateService-to-service authentication, APIRSA 2048+ or ECC 256+1-2 yearsVault, HSM, secrets managerVault + HSM
Admin certificateAdmin authentication, privileged accessRSA 4096 or ECC 256+1 yearSmart card, HSM, hardware tokenHardware token + HSM
Email certificateS/MIME email signing and encryptionRSA 2048+1-3 yearsEmail client, smart card, OS storeSmart card preferred
Code signing certificateSoftware signing, integrityRSA 2048+ or ECC 256+1-3 yearsHSM, hardware token, secure build pipelineHSM mandatory
SSL/TLS certificateWebsite, API encryptionRSA 2048+ or ECC 256+1 yearWeb server, load balancer, CDNLet's Encrypt, auto-renewal
Client certificatemTLS, API authenticationRSA 2048+ or ECC 256+1-3 yearsClient device, application storeDevice store
Root CA certificateCertificate chain trustRSA 4096+10-20 yearsHSM, offline, air-gappedHSM, offline, strict access
Intermediate CA certificateCertificate issuanceRSA 4096+5-10 yearsHSM, online, strict accessHSM, strict access
IoT device certificateIoT device authenticationECC 256+ (preferred for IoT)1-3 yearsDevice secure storage, TPMSecure provisioning
VPN certificateVPN authenticationRSA 2048+ or ECC 256+1-3 yearsVPN client, device store, smart cardSmart card + MFA
Document signing certificatePDF, document signingRSA 2048+1-3 yearsSmart card, HSM, secure signing deviceHSM for high-value
Timestamp certificateDigital timestampingRSA 2048+1-3 yearsTimestamp server, HSMHSM
OCSP certificateCertificate status verificationRSA 2048+1-3 yearsOCSP responder, HSMHSM

Certificate Lifecycle Management

StageActionOwnerToolTimelineEvidence
RequestSubmit certificate request (CSR)User/ITPKI, CA1 dayCSR record
VerifyVerify identity and authorizationCA adminPKI, CA1-3 daysVerification record
IssueIssue certificateCAPKI, CA1 dayCertificate record
DistributeSecurely distribute certificateITSecure delivery, smart card1 dayDistribution record
InstallInstall certificate on deviceUser/ITOS, application, device1 dayInstallation record
UseUse certificate for authenticationUserApplication, OSOngoingUsage logs
MonitorMonitor certificate validity and usageSecurityPKI, SIEM, monitoringOngoingMonitoring logs
RenewRenew before expiryIT/AutoPKI, auto-renewal30 days before expiryRenewal record
RevokeRevoke if compromised or no longer neededSecurity/CAPKI, CRL, OCSPImmediateRevocation record
ArchiveArchive certificate for audit/legalITArchive, encryptedPost-expiryArchive record
AuditAudit certificate lifecycleSecurityPKI, audit toolAnnualAudit record

Token-Based Authentication

Token Types

Token TypeFormatValidityUse CaseSecurityImplementation
JWT (JSON Web Token)JSON, signed (JWS) or encrypted (JWE)Short (15 min - 1 hour)API auth, SSO, stateless sessionsMedium-High (if signed + encrypted)OAuth 2.0, OIDC, custom
Refresh tokenOpaque or JWTLong (7-90 days)Obtain new access tokenHigh (must be stored securely, rotated)OAuth 2.0, OIDC
Session tokenCookie, JWT, opaqueSession durationWeb sessionMedium (HTTPS, HttpOnly, Secure, SameSite)Web framework, session manager
API keyRandom string, UUIDLong (90 days - 1 year)API authentication, integrationMedium (if rotated, scoped, monitored)API gateway, IAM
OAuth access tokenJWT or opaqueShort (15 min - 1 hour)Delegated access, API authMedium-High (scopes, short-lived)OAuth 2.0 server
SAML assertionXML, signedShort (minutes)Enterprise SSO, federationHigh (XML signature, encrypted)SAML 2.0
Kerberos ticketBinary, encryptedShort (hours)Windows network authHigh (Kerberos protocol, mutual auth)Kerberos, AD
NTLM tokenBinary, hashedSessionWindows legacy authLow (deprecated, insecure)Windows legacy
Basic auth tokenBase64(username:password)Per requestLegacy API auth, simple systemsVery Low (plaintext, no encryption)HTTP Basic
Digest auth tokenMD5 hash challenge-responsePer requestLegacy auth, slightly better than basicLow (MD5, susceptible)HTTP Digest
Bearer tokenAny token type (JWT, opaque)VariesOAuth 2.0, API authMedium-High (must be protected in transit)OAuth 2.0, API
MAC tokenHMAC-signed requestPer requestOAuth 1.0a, legacyMedium (HMAC, no TLS required)OAuth 1.0a
PKCE tokenCode verifier + challengeShortOAuth 2.0 public clients (mobile, SPA)High (prevents authorization code interception)OAuth 2.0 + PKCE
Device codeShort code + pollingShort (15 min)Device login (TV, IoT)Medium (user completes on other device)OAuth 2.0 Device Code
Push tokenFCM/APNs tokenLong (until revoked)Mobile push notificationMedium (must be protected, rotated)FCM, APNs
WebSocket tokenJWT or opaqueSessionWebSocket authenticationMedium-High (same as API token)WebSocket server
GraphQL tokenJWT or opaqueSessionGraphQL API authenticationMedium-High (same as API token)GraphQL server
gRPC tokenJWT or opaquePer requestgRPC API authenticationMedium-High (TLS + token)gRPC server
mTLS certificateX.509 certificate1-3 yearsService-to-service, API, deviceHigh (mutual TLS, certificate-based)PKI, API gateway

API Authentication

API Authentication Methods

MethodSecurity LevelBest ForImplementationTool
OAuth 2.0 + OIDCHighModern APIs, mobile, web, third-partyAuthorization server, JWT, scopesAuth0, Okta, Azure AD, Keycloak
API KeyMediumInternal APIs, simple integrations, low-riskAPI gateway, key managementAWS API Gateway, Kong, Azure APIM
mTLSHighService-to-service, IoT, high-securityCertificate-based, mutual TLSIstio, Nginx, API gateway
JWTMedium-HighStateless APIs, microservices, SSOJWT signing, validation, expirationAuth0, Okta, custom JWT library
HMACMediumLegacy APIs, AWS-style authenticationHMAC-SHA256 signature, timestampAWS Signature, custom
Basic AuthLowInternal, legacy, low-risk, developmentBase64 encoding, HTTPS onlyHTTP Basic, nginx
Digest AuthLowLegacy, slightly better than basicChallenge-response, MD5HTTP Digest
Bearer TokenMedium-HighOAuth 2.0, API auth, standardBearer token in Authorization headerOAuth 2.0, JWT
Cookie/SessionMediumWeb APIs, same-originSession cookie, CSRF protection, HttpOnlyWeb framework, session manager
SAMLHighEnterprise APIs, federationSAML assertion, XML signatureSAML 2.0, Shibboleth
Kerberos/SPNEGOHighInternal Windows APIsKerberos ticket, SPNEGOKerberos, AD, Windows
LDAP/ADMediumInternal APIs, directory-basedLDAP bind, AD authenticationLDAP, AD, Spring Security
API Gateway AuthMedium-HighAll APIs behind gatewayGateway handles auth, forwards claimsKong, AWS API Gateway, Azure APIM
Zero TrustHighModern, cloud-native, microservicesEvery request verified, no implicit trustIstio, Zscaler, BeyondCorp
BiometricHighMobile APIs, high-securityBiometric + device binding + tokenFIDO2, mobile SDK
Hardware tokenHighFinancial, high-security, legacyRSA SecurID, YubiKey OTPRSA, YubiKey
IP WhitelistLowInternal, restricted, legacyIP-based access controlFirewall, API gateway
Geo-restrictionLowLocation-based restrictionGeo-blocking, geo-allowingAPI gateway, CDN
Rate limiting + authMedium-HighAll public APIsRate limiting + authentication + authorizationAPI gateway, WAF

Service Account Authentication

Service Account Authentication Best Practices

PracticeImplementationToolRisk Mitigation
No interactive loginService accounts cannot log in interactivelyIAM, OS policyPrevent human misuse
Vault storageCredentials stored in vault, not hardcodedHashiCorp Vault, AWS Secrets Manager, Azure Key VaultNo credential leakage
Runtime injectionCredentials injected at runtime, not in configVault agent, Kubernetes secrets, CI/CDNo credential in code/config
RotationAutomated rotation of credentialsVault, PAM, cloud secrets managerLimit exposure window
Short-lived tokensUse short-lived tokens where possibleOAuth 2.0, AWS STS, Azure managed identitiesLimited exposure
Managed identitiesUse cloud-managed identities instead of keysAzure Managed Identities, AWS IAM roles, GCP service accountsNo credential management
Least privilegeMinimal permissions for service accountIAM, RBAC, ABACLimit blast radius
MonitoringMonitor all service account activitySIEM, DAM, cloud monitoringDetect anomalies
Naming conventionClear naming indicating purpose and scopeNaming policy (svc-app-env-purpose)Accountability
DocumentationDocument owner, purpose, systems, permissionsCMDB, service registryOwnership and accountability
No emailService accounts have no emailExchange, Google WorkspacePrevent phishing
No shared secretsEach service account has unique credentialsIAM, vaultAccountability
Certificate authUse certificates instead of passwords where possiblePKI, mTLSStronger authentication
API key governanceScoped API keys, rotation, monitoringAPI gateway, vaultSecure API access
Workload identityKubernetes workload identity, pod identityKubernetes, cloud IAMPod-level identity
SPIFFE/SPIREUniversal workload identity frameworkSPIFFE, SPIRECross-platform workload identity
Service meshmTLS between services, identity-based accessIstio, Linkerd, ConsulService-to-service security
No long-lived credentialsAvoid long-lived keys and passwordsSTS, managed identities, short-lived tokensReduce exposure
Credential scanningScan code and config for hardcoded credentialsGitLeaks, TruffleHog, GitHub secret scanningPrevent credential leakage
Break-glass service accountsPre-approved emergency service accountsPAM, vault, enhanced loggingEmergency access with control

Authentication Monitoring and Analytics

Authentication Monitoring Requirements

EventWhat to MonitorAlert TriggerResponseTool
Failed loginCount, source IP, username, time>5 failures in 5 minutesLock account, alert, investigateSIEM, IAM
Successful loginUser, time, location, device, MFA statusFrom new location/deviceAlert, reviewSIEM, IAM
MFA failureUser, method, failure reasonRepeated MFA failuresAlert, investigate, possible compromiseSIEM, IAM
Password changeUser, time, source, methodChange from unusual locationAlert, verify with userSIEM, IAM
Password resetUser, time, method, successUnusual reset patternAlert, investigateSIEM, IAM
Account lockoutUser, time, reason, sourceMultiple lockoutsAlert, investigate, brute force checkSIEM, IAM
Account unlockUser, time, admin, reasonUnusual unlock patternAlert, verifySIEM, IAM
New deviceUser, device, time, locationFirst-time deviceAlert, require MFA, notify userSIEM, IAM
New locationUser, location, timeImpossible travel, new countryAlert, block, require MFASIEM, IAM
Off-hours loginUser, time, locationLogin outside business hoursAlert, require MFA, notify managerSIEM, IAM
Privileged loginAdmin, time, location, methodAny admin loginLog + alert + session recordingSIEM, PAM
Break-glass useAccount, time, reason, adminAny break-glass useImmediate alert, session recording, post-reviewSIEM, PAM
Service account loginAccount, time, source, methodInteractive loginAlert, block, investigateSIEM, IAM
Certificate useCertificate, time, source, resultExpired certificate, revoked certificateAlert, block, renewSIEM, PKI
Token useToken, time, source, resultExpired token, revoked token, unusual useAlert, block, investigateSIEM, IAM
API key useKey, time, source, endpoint, resultUnusual endpoint, rate limit hit, revoked keyAlert, block, rotateSIEM, API gateway
ImpersonationImpersonator, target, time, reasonUnauthorized impersonationAlert, block, investigateSIEM, IAM
Credential stuffingMultiple failed logins, different users, same IP>10 failed logins from same IPBlock IP, alert, investigateSIEM, WAF
Password sprayMultiple failed logins, same password, different usersPattern detectedBlock IP, alert, investigateSIEM, WAF
Brute forceMultiple failed logins, same user, different passwords>5 failures in 5 minutesLock account, alert, investigateSIEM, IAM
Session hijackingSession from new location, unusual activitySession anomalyBlock session, alert, force re-authSIEM, IAM
Account takeoverImpossible travel, password change + MFA disableMultiple anomaliesBlock account, alert, IRSIEM, UEBA
Insider threatUnusual data access, privilege escalation, bulk exportBehavioral anomalyAlert, investigate, DLPSIEM, UEBA, DLP
Third-party riskThird-party user unusual activityAnomaly for third-partyAlert, review, restrict accessSIEM, CASB, UEBA
Compromised credentialCredential found in breach databaseHIBP matchForce password change, alert, MFAHIBP, IAM
Authentication bypassAttempt to bypass MFA, password checkBypass attempt detectedBlock, alert, investigateSIEM, WAF
Man-in-the-middleCertificate anomaly, TLS downgradeMITM indicatorsAlert, block, investigateSIEM, NDR
Replay attackReused token, replayed requestReplay detectedBlock, alert, investigateSIEM, API gateway

SIEM Rules for Authentication

## Splunk: Detect impossible travel
index=authentication
| eval time_diff=abs(now()-_time)
| stats values(src_ip) as src_ips, values(src_geo) as locations, min(_time) as first_login, max(_time) as last_login by user
| eval travel_time=last_login-first_login
| eval max_possible_distance=travel_time*1000
| eval actual_distance=... (geo distance calculation)
| where actual_distance > max_possible_distance

## Splunk: Detect brute force
index=authentication action=failure
| stats count by user, src_ip
| where count > 5
| eval time_window=5
| where _time > relative_time(now(), "-5m")

## Splunk: Detect off-hours admin login
index=authentication action=success user_role=admin
| eval hour=strftime(_time, "%H")
| where hour < 6 OR hour > 22
| stats count by user, src_ip, hour
| where count > 0

## Splunk: Detect credential stuffing
index=authentication action=failure
| stats dc(user) as user_count, count as attempt_count by src_ip
| where user_count > 10 AND attempt_count > 20

Tool Comparison

ToolTypeBest ForoverheadKey FeaturesIntegration
HaveIBeenPwnedCompromised Password CheckAllFreeBreach database, API, password checkAzure AD, Okta, custom
NIST Password ValidatorPassword PolicyNIST complianceFreeNIST 800-63B password validationCustom
zxcvbnPassword StrengthDeveloper, webFreePassword strength estimation, crack timeWeb, custom
Dropbox zxcvbnPassword StrengthDeveloper, webFreePassword strength estimationWeb, custom
OpenSSLCertificate, CryptoCustom, developerFreeCertificate management, encryption, TLSCustom
Let's EncryptFree CertificatesWeb, API, small orgsFreeFree SSL/TLS certificates, auto-renewalWeb server, CDN
CertbotFree Certificate AutomationLet's Encrypt usersFreeACME client, auto-renewal, web serverLinux, web server
ACME protocolCertificate AutomationLet's Encrypt, custom CAFreeAutomated certificate issuance, renewalPKI, web server
Step CAPrivate CADevOps, internal PKIFreePrivate CA, ACME, short-lived certificatesDevOps, Kubernetes
BoundaryCertificate-Based AccessHashiCorp ecosystemFreeCertificate-based access, session recordingHashiCorp ecosystem
HeadscaleSelf-Hosted TailscaleSelf-hosted, budgetFreeSelf-hosted Tailscale control serverSelf-hosted
WireGuardModern VPNModern VPN, fastFreeModern VPN protocol, fast, simpleLinux, mobile
OpenVPNVPNTraditional VPN, flexibleFreeSSL VPN, flexible, widely supportedAll platforms
IPsecVPNTraditional VPN, standardFreeStandard VPN protocol, widely supportedAll platforms
StrongSwanIPsec VPNLinux IPsecFreeIPsec VPN, IKEv2, strong cryptoLinux
FreeRADIUSRADIUS ServerNetwork access, WiFi, VPNFreeRADIUS server, authentication, accountingNetwork
PacketFenceNACNetwork access controlFreeNAC, 802.1X, captive portal, complianceNetwork
KeycloakOpen-source IAMOpen-source, JavaFreeSSO, Identity Brokering, Social Login, MFA, CIAMOpen-source
AuthentikOpen-source IAMSelf-hosted, modernFreeSSO, MFA, Proxy, Forward Auth, CIAMSelf-hosted
GluuOpen-source IAMOpen-source, enterpriseFreeSSO, SAML, OIDC, OAuth, FIDOOpen-source
ShibbolethOpen-source SAMLOpen-source, SAMLFreeSAML 2.0, federation, SSOOpen-source
SimpleSAMLphpOpen-source SAMLPHP, SAMLFreeSAML 2.0, PHP-based, lightweightOpen-source
phpCASOpen-source CASPHP, CASFreeCAS (Central Authentication Service), PHPOpen-source
Apereo CASOpen-source CASJava, CASFreeCAS, Java, enterprise featuresOpen-source
Spring SecurityApplication SecurityJava, SpringFreeAuthentication, authorization, OAuth, SAML, OIDCJava, Spring
Passport.jsApplication SecurityNode.jsFreeAuthentication, 500+ strategies, OAuth, SAMLNode.js
AuthlibApplication SecurityPythonFreeAuthentication, OAuth, OIDC, SAMLPython
CasbinApplication SecurityMulti-languageFreeAuthorization, RBAC, ABAC, ACLMulti-language
Open Policy Agent (OPA)Application SecurityCloud-nativeFreePolicy-based authorization, Rego, KubernetesCloud-native
CerbosApplication SecurityModern, APIFreeAuthorization, policy, API, modernModern, API
Google ZanzibarApplication SecurityGoogle-scaleN/AAuthorization, relationship-based, Google-scaleGoogle-scale

Implementation Roadmap: 4 Weeks

Figure · Timeline

Rollout in order

  1. Week 1Password policy + MFA
  2. Week 2Credential vault + rotation
  3. Week 3Passwordless pilot + monitoring
  4. Week 4Full rollout + training
Milestones in delivery order. Owners and the evidence each produces are in the table below.
WeekFocusDeliverableOwner
1Password policy + MFAStrong password policy, MFA enabled for allSecurity
2Credential vault + rotationVault deployed, service accounts rotated, admin creds vaultedSecurity Engineer
3Passwordless pilot + monitoringPasswordless pilot for IT, authentication monitoring setupSecurity + IT
4Full rollout + trainingPasswordless for all users, training, monitoring operationalHR + Security

Common Audit Failures and Fixes

FailureAuditor's QuestionFixTimeline
Weak password policy"What is your password policy?"Strengthen password policy, enable compromised check1-2 weeks
No MFA"How do you verify user identity?"Deploy MFA for all users2-4 weeks
Plaintext password storage"How are passwords stored?"Implement secure hashing (Argon2id/bcrypt)2-4 weeks
No credential vault"Where are service account passwords stored?"Deploy credential vault (HashiCorp, CyberArk)2-4 weeks
No credential rotation"When do you rotate credentials?"Implement automated rotation for all credentials2-4 weeks
Shared credentials"Who has access to this admin password?"Eliminate shared credentials, use individual accounts + PAM2-4 weeks
No authentication monitoring"How do you detect authentication anomalies?"Implement SIEM rules for authentication events2-4 weeks
No passwordless option"Do you support passwordless authentication?"Enable passwordless (FIDO2, passkeys, Windows Hello)4-8 weeks
Weak password reset"How do users reset passwords?"Implement secure SSPR with MFA1-2 weeks
No compromised password check"Do you check for breached passwords?"Enable HIBP check or similar1-2 weeks
Service account hardcoded credentials"Are service account credentials hardcoded?"Move to vault, implement runtime injection2-4 weeks
No certificate management"How do you manage certificates?"Implement certificate lifecycle management2-4 weeks
No biometric privacy controls"How do you protect biometric data?"Implement biometric privacy controls, templates only, encryption2-4 weeks
Weak API authentication"How do you authenticate API calls?"Implement OAuth 2.0 + mTLS for APIs2-4 weeks
No break-glass authentication"How do you handle emergency access?"Implement break-glass with enhanced logging1-2 weeks

Illustrative Scenarios

Illustrative scenario, a composite example for guidance, not a specific Singahi engagement or a verified outcome.

Illustrative Scenario 1: SaaS Company Implements Passwordless for 800 Users

Company: 800-employee SaaS, weak passwords, no MFA, frequent credential stuffing attacks
Challenge: Credential stuffing attacks, weak passwords, no MFA, audit finding on A.5.17
Solution:

  1. Implemented strong password policy with HIBP compromised check
  2. Deployed MFA for all users (TOTP app + push notification)
  3. Deployed YubiKey FIDO2 keys for all 50+ admin accounts
  4. Implemented passwordless (FIDO2 + passkeys) for all users via Azure AD
  5. Deployed HashiCorp Vault for 200+ service accounts with automated rotation
  6. Implemented self-service password reset with MFA verification
  7. Deployed SIEM rules for authentication monitoring (50+ rules)
  8. Implemented certificate-based authentication for service-to-service APIs
  9. Trained all users on passwordless and passkey usage
  10. Implemented break-glass procedure with pre-approved emergency accounts

Outcome: 100% MFA enrollment. 85% passwordless adoption within 6 months. Credential stuffing attacks reduced by 95%. Service account credentials never hardcoded. Authentication incidents reduced by 90%. Passed ISO 27001 audit with zero findings on A.5.17.

Illustrative Scenario 2: Bank Implements Hardware MFA and Vault for 2,000 Employees

Company: 2,000-employee bank, SMS OTP for MFA, no hardware keys, service accounts in spreadsheets
Challenge: RBI requirement for strong MFA, SMS OTP not sufficient for banking, no credential vault
Solution:

  1. Replaced SMS OTP with hardware tokens (YubiKey 5 NFC) for all employees
  2. Implemented biometric + hardware key for high-risk roles (CISO, admin, finance)
  3. Deployed CyberArk for PAM and credential vault (500+ service accounts)
  4. Implemented automated rotation for all service accounts (90 days)
  5. Implemented certificate-based authentication for all internal APIs
  6. Implemented passwordless for customer-facing applications (FIDO2 + passkeys)
  7. Deployed SIEM with 100+ authentication monitoring rules
  8. Implemented adaptive authentication (risk-based step-up MFA)
  9. Implemented break-glass with dual control and HSM-backed keys
  10. Trained all employees on hardware key usage and security

Outcome: 100% hardware MFA adoption. Zero SMS OTP usage. 500+ service accounts in vault with automated rotation. API authentication fully certificate-based. Authentication incidents reduced by 88%. RBI audit passed with no findings. Customer authentication fraud reduced by 75%.


Multi-Framework Mapping

ISO 27001:2022 A.5.17SOC 2 CC6.1PCI DSS 8.2NIST 800-53 IA-2CIS Controls 6.2COBIT 2019 DSS05
Authentication informationLogical access controlsStrong authenticationIdentification and authenticationAccount managementManaged security services

FAQ

Q: Does A.5.17 require MFA for all users or just privileged users?
A: MFA is required for all privileged access. For standard users, MFA is highly recommended and considered best practice. The standard requires strong authentication for sensitive access at minimum.

Q: What is the best password hashing algorithm?
A: Argon2id is the current best practice (OWASP recommendation). bcrypt is also excellent and widely supported. scrypt is good for memory-hard requirements. PBKDF2 is acceptable with high iteration counts. Never use MD5, SHA-1, or SHA-256 for password hashing.

Q: Can we store passwords in plaintext for any reason?
A: No. Never store plaintext passwords. Always hash passwords with a strong algorithm (Argon2id, bcrypt). If you need to verify passwords (e.g., for integration), use a secure vault or delegated authentication.

Q: Does A.5.17 require passwordless authentication?
A: Not required, but highly recommended. Passwordless (FIDO2, passkeys, Windows Hello) is stronger than passwords and is acceptable for ISO 27001. Many auditors view passwordless as a sign of mature security.

Q: How do we handle legacy systems that don't support modern authentication?
A: Use PAM for legacy system access, implement MFA at the gateway level, use VPN with MFA for remote access, and plan migration. Document the compensating controls and migration plan.

Q: What is the minimum evidence for A.5.17?
A: Password policy, hashing algorithm documentation, MFA enrollment records, credential vault records, rotation logs, authentication monitoring logs, and passwordless implementation records (if applicable).

Q: Can we use SMS OTP for MFA?
A: SMS OTP is acceptable for low-risk access but is not recommended for high-risk or privileged access due to SIM swapping and interception risks. Use TOTP apps, push notifications, or hardware keys for better security.

Q: How do we handle biometric data privacy?
A: Store templates (not raw images), encrypt, separate from other data, obtain consent, allow deletion, and conduct a DPIA. Follow DPDP Act and GDPR requirements for biometric data.

Q: Does A.5.17 require certificate-based authentication?
A: Not required for all users, but certificate-based auth is recommended for high-security environments, service-to-service communication, and admin access. At minimum, use certificates for API and service account authentication.

Q: How often should we rotate passwords?
A: For user passwords with MFA: never (or 180 days). For admin passwords: 90 days (or never if hardware MFA). For service accounts: 90 days or automated rotation. For API keys: 90 days or automated rotation. For certificates: per validity period (typically 1-2 years).


Need help? Contact us for a 20-minute readiness call.

Q: What is the difference between A.5.17 and A.8.5? A: A.5.17 covers the lifecycle of authentication information (creation, distribution, storage, rotation, revocation). A.8.5 covers the actual authentication process (how users prove their identity). A.5.17 is the "key management" while A.8.5 is the "door lock." Both are required for complete authentication security.

Q: How do we handle authentication information for third-party contractors? A: Create dedicated accounts with time-bound access, enforce MFA, use conditional access (location, time), monitor all activity, revoke immediately upon contract end, and conduct access reviews monthly. Never share internal employee credentials with contractors.

Q: What is a credential vault and why do we need one? A: A credential vault (HashiCorp Vault, CyberArk, Azure Key Vault, AWS Secrets Manager) is a secure system for storing and managing credentials. It provides encryption, access controls, rotation, audit logging, and API access. Essential for service accounts, API keys, and shared credentials. Without a vault, credentials are often hardcoded in code or stored in spreadsheets.

Q: How do we handle authentication information during mergers and acquisitions? A: Integrate identity systems, harmonize password policies, migrate credentials to the acquiring organization's vault, conduct access reviews for all inherited accounts, revoke redundant accounts, and ensure consistent MFA enforcement across the merged entity.

Q: What is adaptive authentication and how does it relate to A.5.17? A: Adaptive authentication adjusts authentication strength based on risk signals (location, device, behavior, time). It requires dynamic credential management, different credentials or factors for different risk levels. This is part of A.5.17 because it involves managing multiple authentication factors and their deployment based on risk.

Q: How do we handle authentication information for IoT devices? A: IoT devices should use certificates (X.509) or TPM-based authentication, not passwords. Use device-specific credentials, store in vault, rotate via automated processes, and monitor for anomalous authentication. Never use default passwords on IoT devices.

Q: What is the role of A.5.17 in Zero Trust architecture? A: Zero Trust requires strong, verifiable authentication for every access request. A.5.17 ensures the credentials used in Zero Trust are properly managed, rotated, and protected. Without proper credential management, Zero Trust cannot function securely.


Indian Regulatory Context

DPDP Act 2023 and Authentication Information

DPDP Act RequirementAuthentication Information ImplicationImplementation
Section 6, ConsentUsers must authenticate to provide or withdraw consentStrong authentication for consent management portals
Section 11, Data Principal RightsDSAR systems require strong authentication to prevent unauthorized accessMFA for data subject access request systems
Section 9, Children's DataEnhanced authentication for systems processing children's dataAAL3+ authentication for children's data systems
Section 13, Grievance RedressalSecure authentication for grievance portalsMFA + audit logging for grievance access
Section 33, PenaltiesAuthentication failures leading to breach = potential fineImplement strongest authentication for high-risk systems

RBI Guidelines for Authentication Information

RBI GuidelineAuthentication RequirementImplementation
Multi-factor authenticationAll high-risk transactions require MFAHardware tokens or biometric + PIN for banking
Password complexityStrong passwords for all banking systems12+ characters, no dictionary words, breach detection
Credential rotationRegular rotation of service account credentials90-day automated rotation for core banking systems
Credential vaultSecure storage for all banking credentialsHSM-backed vault for banking credentials
Audit loggingAll authentication events logged and retained1-year retention for authentication logs
Break-glassEmergency access procedures with dual controlPre-approved emergency accounts, HSM-backed, 24-hour expiry

SEBI and IRDAI Authentication Requirements

RegulatorAuthentication RequirementImplementation
SEBIStrong authentication for trading systems, broker portalsHardware keys for admin, TOTP for traders, biometric for mobile
IRDAISecure authentication for insurance portals, customer dataMFA for customer portals, certificate-based for APIs
CERT-InMulti-factor authentication for critical infrastructureAAL3 for all critical systems, AAL4 for admin

Continuous Improvement

Figure · Tiers

Maturity levels for authentication information

Maturity levels for ISO 27001 A.5.17, authentication information, from most to least mature: Optimized, zero trust, continuous validation; Managed, passwordless, adaptive auth; Defined, strong password policy, mfa for all; Developing, basic password policy, some mfa; Ad Hoc, no password policy, shared credentials.
Where most organisations sit, and what the next level asks for. Full characteristics per level are in the table below.

Authentication Information Maturity Model

LevelNameCharacteristicsCredential Management
1Ad HocNo password policy, shared credentials, no vaultPasswords in spreadsheets, no rotation
2DevelopingBasic password policy, some MFA, manual rotationSome service accounts in vault, quarterly rotation
3DefinedStrong password policy, MFA for all, credential vaultAll service accounts in vault, automated rotation
4ManagedPasswordless, adaptive auth, automated lifecycleFull automation, predictive rotation, AI monitoring
5OptimizedZero Trust, continuous validation, self-healingSelf-healing credentials, AI-driven anomaly detection

Annual Improvement Agenda

MonthFocusActivitiesDeliverable
JanuaryPassword policy reviewUpdate policy based on NIST, industry trendsUpdated password policy v2.X
FebruaryMFA enrollment pushTarget non-enrolled users, enforce MFA100% MFA enrollment report
MarchCredential vault auditReview all credentials, rotation compliance, accessVault audit report
AprilPasswordless pilotExpand passwordless to additional user groupsPasswordless adoption report
MayAuthentication monitoring reviewTune SIEM rules, reduce false positivesTuned SIEM rule set
JuneMid-year metrics reviewAnalyze trends, identify improvement areasMid-year metrics dashboard
JulyService account reviewInventory, rotation, privilege reviewService account review report
AugustCertificate renewal cycleRenew expiring certificates, update automationCertificate renewal report
SeptemberTraining refreshUpdate training materials, new hire onboardingUpdated training program
OctoberAudit preparationGather evidence, mock audit, fix gapsAudit-ready evidence package
NovemberIncident response drillTest authentication incident responseIncident response test report
DecemberYear-end reviewComplete review, plan next yearAnnual improvement plan

Need help? Contact us for a 20-minute readiness call.

Q: How do we handle authentication information for DevOps pipelines? A: DevOps pipelines require service accounts, API keys, and deployment credentials. Use dedicated CI/CD service accounts, store credentials in vault with short-lived tokens, implement OIDC for cloud deployments, rotate pipeline credentials automatically, and audit all pipeline access. Never store credentials in pipeline configuration files or environment variables in plain text.

Q: What is the role of A.5.17 in cloud security? A: Cloud environments rely heavily on API keys, service principals, and IAM roles. A.5.17 ensures these credentials are properly managed: cloud provider API keys stored in vault, IAM roles scoped with least privilege, cross-account roles reviewed quarterly, and cloud credentials rotated per provider best practices (AWS: 90 days, Azure: 1 year for SP secrets, GCP: 90 days for service account keys).

Q: How do we handle authentication information for disaster recovery? A: DR systems need authentication credentials that work independently of primary systems. Store DR credentials in a separate vault, ensure DR credentials are not dependent on primary infrastructure (e.g., don't store DR vault credentials in primary AD), test DR authentication quarterly, and document DR credential recovery procedures.

Q: What is the impact of quantum computing on authentication information? A: Quantum computing threatens current asymmetric encryption (RSA, ECC) used in certificates and key exchange. While quantum-safe algorithms are still being standardized, organizations should: monitor NIST post-quantum cryptography standards, plan for certificate algorithm migration (RSA → lattice-based), and ensure crypto-agility (ability to switch algorithms quickly).


Additional Illustrative Scenarios: Indian Authentication Incidents

Illustrative Scenario 3: Indian E-commerce, Credential Stuffing Attack (2023)

What happened: An Indian e-commerce platform with 5 million users suffered a credential stuffing attack. Attackers used 2 million leaked credentials from other breaches to attempt logins. The platform had no MFA, no breach detection, and no rate limiting. 15,000 accounts were compromised.

Impact:

  • 15,000 customer accounts compromised
  • Fraudulent orders:
  • Customer data access (addresses, partial card numbers, order history)
  • DPDP Act 2023 notification required
  • RBI notification for payment data exposure
  • Customer churn: 8% in affected segment
  • Remediation overhead: (MFA deployment, incident response, customer communication, legal)

Root causes:

  • No MFA on customer accounts
  • No credential breach detection (Have I Been Pwned integration)
  • No rate limiting on login endpoints
  • No account takeover detection
  • No monitoring for impossible travel or anomalous login patterns
  • Weak password policy (8 characters, no breach detection)

Lessons:

  • Implement MFA on all accounts (customer + employee)
  • Integrate breach detection (Have I Been Pwned API, SpyCloud)
  • Implement rate limiting (5 attempts per 15 minutes, CAPTCHA after 3 failures)
  • Deploy account takeover detection (UEBA, impossible travel, new device alerts)
  • Implement progressive authentication (stronger auth for sensitive actions)
  • Monitor for credential stuffing patterns (same password across multiple accounts)
  • Force password reset for breached credentials

Illustrative Scenario 4: Indian Government Portal, Default Admin Credentials (2022)

What happened: A state government portal for citizen services was found to have default admin credentials (admin/admin123) on the administrative backend. The portal had been live for 2 years without changing defaults. A security researcher discovered and responsibly disclosed the issue.

Impact:

  • 2 years of potential unauthorized admin access
  • 500,000+ citizen records potentially accessible
  • Portal taken offline for 3 weeks for security remediation
  • CERT-In notification required
  • Reputational damage for government digital initiatives
  • Remediation overhead: (security audit, penetration testing, new authentication system, monitoring)

Root causes:

  • Default credentials never changed after deployment
  • No initial security configuration review
  • No periodic authentication review
  • No penetration testing before launch or annually
  • No security awareness among deployment team
  • No change management process for security configurations

Lessons:

  • Change all default credentials before deployment (Day 1 checklist)
  • Conduct security configuration review before go-live
  • Implement annual penetration testing for all internet-facing systems
  • Deploy automated scanning for default credentials (Nessus, OpenVAS)
  • Include authentication security in change management process
  • Train deployment teams on security baselines
  • Implement break-glass admin accounts with MFA only (no default passwords)

Need help? Contact us for a 20-minute readiness call.

How Singahi can help

Singahi is one team for compliance, assessment and managed security. We help growing companies implement and certify ISO 27001:2022, and stay secure afterward.


Continue the toolkit

How we can help

Working toward this?

If a certification or a customer's security questionnaire is what brought you here, tell us where you are. We'll give you an honest read on the work and the timeline, with no obligation.

What happens next

  1. Tell us the trigger

    A questionnaire, an audit date or an investor ask. The short form or a call both work.

  2. A practitioner replies

    A senior practitioner, not a bot, within four business hours.

  3. You get a scoped next step

    An honest view of what the work involves. No pressure, no theatre.