Skip to content
Back to Blog
·9 min read·compliance

Aadhaar Data Handling: UIDAI Security Rules for Indian Businesses

Learn what UIDAI security rules require for Aadhaar data handling in India — VID, tokenization, consent, biometric prohibitions, and DPDP Act obligations.

BR

Bachao.AI Research Team

Cybersecurity Research

Check DPDP Compliance

Compliance risk for Indian SMBs

Non-compliance with the DPDP Act 2023 carries penalties up to ₹250 crore. This post explains what's at stake and what action to take.

Businesses in India that use Aadhaar for KYC or authentication must follow strict rules under the Aadhaar Act 2016 and UIDAI regulations. The core requirement: you cannot store the full 12-digit Aadhaar number — use a Virtual ID (VID) or tokenized UID instead. Biometric data must never be stored by any private entity. Consent is mandatory before every Aadhaar transaction. Violations carry serious penalties under both the Aadhaar Act and the Digital Personal Data Protection (DPDP) Act 2023. This guide covers exactly what you must do, what is forbidden, and how to build a compliant Aadhaar data-handling architecture.


Who Can Use Aadhaar for Authentication

Not every business can call the UIDAI authentication API. The ecosystem is built on a licensed-entity model:

    1. AUA (Authentication User Agency): UIDAI-licensed; submits Yes/No authentication requests against CIDR (Central Identities Data Repository).
    2. KUA (KYC User Agency): UIDAI-licensed; retrieves eKYC data (name, address, DOB, photo) from CIDR with the holder's consent.
    3. Sub-AUA / Sub-KUA: Businesses that integrate through a licensed AUA or KUA.
Following the Supreme Court's Puttaswamy judgment (2018), private entities were significantly restricted from using Aadhaar-based authentication. Private companies generally cannot compel it — use is permitted only where the Aadhaar Act explicitly allows or where the individual gives voluntary consent.
⚠️
WARNING
Using Aadhaar authentication without a valid AUA/KUA licence — or without consent — is a direct violation of the Aadhaar Act 2016 and may result in criminal prosecution.

RBI, SEBI, and IRDAI have issued separate circulars permitting their regulated entities to use Aadhaar-based eKYC. Check the latest circular at uidai.gov.in and your regulator's site before designing your KYC flow.


The Golden Rules: What UIDAI Prohibits

UIDAI regulations and the Aadhaar Act set absolute prohibitions — legal mandates with prosecution risk, not guidelines.

ProhibitedCompliant Alternative
Storing full 12-digit Aadhaar numberStore VID or tokenized UID only
Storing biometric dataNever capture or store; transmit directly to CIDR
Collecting Aadhaar without consentExplicit, informed, time-stamped consent before every transaction
Sharing data with unauthorised third partiesShare only within the original consent scope
Using eKYC data beyond stated KYC purposeLimit use to the declared purpose
Displaying full Aadhaar number in UI or documentsDisplay only Masked Aadhaar (last 4 digits)

Virtual ID and Tokenization: The Only Safe Storage Path

UIDAI's Virtual ID (VID) system eliminates the need to store or handle raw Aadhaar numbers. The Aadhaar holder generates a 16-digit VID from the UIDAI portal or mAadhaar app and uses it in place of their Aadhaar number. UIDAI resolves the VID to the real number internally at CIDR — the AUA never sees it. AUAs instead receive a tokenized UID: a one-way, AUA-specific hash that cannot re-derive the Aadhaar number.

Store only the tokenized UID. Even if your database is breached, no Aadhaar number is exposed.

💡
TIP
If a user presents their physical Aadhaar card for offline verification, accept only a Masked Aadhaar (issued by UIDAI, showing X-X-X-X-X-X-X-X-NNNN) or scan the offline XML / QR code that UIDAI provides. The Offline Aadhaar XML is digitally signed by UIDAI and verifiable without a server call — making it suitable for non-internet environments.

Know your vulnerabilities before attackers do

Run a free VAPT scan — takes 5 minutes, no signup required.

Book Your Free Scan

Biometric Data: An Absolute No-Store Zone

No entity other than UIDAI may capture, store, process, or transmit biometric data (fingerprints, iris scans, or any biometric modality UIDAI designates).

When a registered biometric device (RD service) captures a fingerprint or iris, the capture is encrypted at hardware level and transmitted directly to CIDR. The AUA only receives the authentication response — never the raw biometric. No intermediate log, buffer, or temporary file should ever touch the biometric payload. Your application must never sit in this data path.


The Aadhaar Act requires consent before every authentication or eKYC transaction. The DPDP Act 2023 reinforces this with its own consent framework. Combined requirements:

    1. Explicit and informed: The individual must know what data is accessed, why, and by whom.
    2. Free and voluntary: Consent cannot be a precondition for services where Aadhaar is not legally mandated.
    3. Specific and time-stamped: Each transaction needs its own consent record — blanket one-time consent is insufficient.
    4. Auditable: Your system must produce a consent trail on demand: timestamp, purpose, and UIDAI authentication reference number.
ℹ️
INFO
Under the DPDP Act 2023, Aadhaar-linked data is personal data. Depending on what is accessed (biometrics, health, inferred financial status), it may also be sensitive personal data — requiring heightened safeguards. See the DPDP compliance page for details.

Compliant Aadhaar KYC Data Flow

The diagram below shows the architecturally compliant path for Aadhaar-based KYC.

graph TD A[User Initiates KYC] --> B[Display Consent Screen
State purpose scope and data] B --> C{User Gives Consent?} C -- No --> D[Abort KYC Flow
Log refusal] C -- Yes --> E[Record Consent
Timestamp purpose AUA ref] E --> F[User Provides VID or Offline XML] F --> G[AUA Submits Auth Request
VID or signed XML to UIDAI API] G --> H[UIDAI CIDR Validates
Returns Yes-No or eKYC token] H --> I[AUA Receives Tokenized UID
Never receives raw Aadhaar number] I --> J[Store Tokenized UID Only
Never store full Aadhaar or biometrics] J --> K[KYC Record Complete
Data minimised masked display only] D --> L[User Notified
Alternate KYC path offered] style A fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style B fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style C fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style D fill:#5f1e1e,stroke:#EF4444,color:#e2e8f0 style E fill:#1e3d2f,stroke:#10B981,color:#e2e8f0 style F fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style G fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style H fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 style I fill:#1e3d2f,stroke:#10B981,color:#e2e8f0 style J fill:#1e3d2f,stroke:#10B981,color:#e2e8f0 style K fill:#1e3d2f,stroke:#10B981,color:#e2e8f0 style L fill:#5f1e1e,stroke:#EF4444,color:#e2e8f0

eKYC Data Retention: What Licensed KUAs May Store

A licensed KUA that receives eKYC data (name, address, date of birth, gender, photo) from UIDAI may store it subject to: the purpose stated at consent; UIDAI licence retention limits; data minimisation principles; AES-256 encryption at rest and in transit; role-based access controls; and a defined deletion workflow once the retention period lapses.

🚨
DANGER
Using eKYC data for secondary purposes — profiling, marketing, credit scoring — without separate explicit consent, or sharing it with unlicensed third parties, is a direct breach of UIDAI licence conditions and the DPDP Act. Licence revocation and criminal proceedings are among the consequences.

Encryption and Technical Security Requirements

UIDAI publishes detailed technical specifications at uidai.gov.in. Key mandatory controls for AUAs and KUAs:

Control AreaRequirement
Data in transitTLS 1.2+ for all UIDAI API calls; end-to-end encryption for biometric packets
Data at restAES-256 or equivalent for stored Aadhaar-linked data
Key managementKeys managed separately from encrypted data; HSM recommended in production
Audit loggingAll auth transactions logged with UIDAI reference numbers and timestamps
Access controlRole-based; minimum necessary access to Aadhaar data
Registered devicesBiometric devices must be UIDAI-registered; use the RD service layer
Vulnerability managementPeriodic security assessments of all systems touching Aadhaar data

Aadhaar Compliance vs DPDP Act: How They Interact

The DPDP Act 2023 (notified by MeitY) and the Aadhaar Act 2016 (governed by UIDAI) are not duplicates — they layer on top of each other. Businesses must satisfy both.

pie title Aadhaar Data Obligations by Category "Consent and Notice" : 25 "Data Minimisation and Storage Limits" : 20 "No Biometric Storage" : 20 "Encryption and Access Control" : 20 "Audit Trail and Grievance" : 15

Key intersections:

    1. Personal data scope: Any Aadhaar-linked datum (tokenized UID, eKYC fields) is personal data under DPDP. Biometrics, if mistakenly captured, would be sensitive personal data with heightened obligations.
    2. Data Principal rights: Individuals have the right to access, correct, and erase their personal data — your architecture must support eKYC deletion workflows.
    3. Breach notification: DPDP mandates notification to the Data Protection Board. A breach of Aadhaar-linked data is automatically high-severity.
    4. Penalties: Both laws carry serious financial and criminal consequences. DPDP penalties can reach significant crore-level amounts for failures to safeguard personal data; the Aadhaar Act additionally provides for imprisonment for willful misuse.

Offline Aadhaar: The Privacy-Friendly Alternative

UIDAI's Offline Aadhaar mechanism — a digitally signed XML download or the QR code on the Aadhaar card — allows identity verification without a server call to UIDAI and without requiring an AUA licence. The XML contains masked Aadhaar (last 4 digits only), name, address, photo, and DOB, signed by UIDAI. Your application verifies the signature locally. This path suits use cases where a business needs identity assurance without the operational overhead of full AUA licensing.


1.39 billion+ Aadhaar numbers issued as of 2024Scale of system at risk (UIDAI Annual Report 2023-24)
100 crore+ authentication transactions in a single monthTransaction volume (UIDAI Dashboard 2024)
DPDP Act penalties for failure to safeguard data reach hundreds of croresPenalty scale (MeitY DPDP Act 2023)

Aadhaar Data Handling Compliance Checklist

🎯Key Takeaway
The most common Aadhaar compliance failure is assuming that "we use Aadhaar for KYC" means everything is in order. The law requires a licensed path, explicit per-transaction consent, no storage of the full Aadhaar number, and zero storage of biometrics — and the DPDP Act adds data rights and breach-notification obligations on top. A security assessment of your KYC pipeline is the right starting point before any audit.

Use before your next compliance review or regulator audit:

#ControlStatus
1Verified AUA/KUA licence status (own or via licensed intermediary)
2Consent screen implemented — explicit, purpose-specific, time-stamped
3No storage of full 12-digit Aadhaar number in any database or log
4No biometric data captured, buffered, or stored anywhere
5VID or tokenized UID used as the sole Aadhaar-linked identifier
6Masked Aadhaar used wherever Aadhaar number must be displayed
7eKYC data encrypted at rest (AES-256 or stronger)
8eKYC data access restricted by role-based controls
9Authentication transaction audit log maintained with UIDAI reference numbers
10Retention policy defined and enforced; deletion workflow implemented
11Breach notification procedure covers Aadhaar-linked data
12Vulnerability assessment of KYC pipeline conducted in last 12 months
A free VAPT scan from Bachao.AI by Dhisattva AI Pvt Ltd (DPIIT Recognized Startup) can surface insecure storage patterns, missing encryption, and API exposure in your KYC pipeline — the exact gaps regulators look for during audits.
🛡️
SECURITY
If your organisation has not conducted a security assessment of its Aadhaar KYC pipeline in the last 12 months, treat that as a P0 gap. Regulators — RBI, SEBI, IRDAI, and UIDAI's own audit mechanism — increasingly require evidence of periodic security reviews, not just policy documents.

References: UIDAI official portal | MeitY — DPDP Act 2023 | DPDP compliance guide | the Bachao.AI blog


Frequently Asked Questions

Can a private company store the full Aadhaar number for KYC records?
No. UIDAI regulations prohibit private entities from storing the full 12-digit Aadhaar number. Store only the tokenized UID returned by UIDAI after authentication, or display only the last 4 digits (Masked Aadhaar). Storing the full number constitutes unauthorized use under the Aadhaar Act.
What is the difference between VID and tokenized UID?
A Virtual ID (VID) is a 16-digit temporary number generated by the Aadhaar holder in place of their Aadhaar number during authentication. A tokenized UID is the one-way, AUA-specific hash UIDAI returns after authentication — it cannot be reverse-engineered to the Aadhaar number. Businesses should store the tokenized UID only.
Does the DPDP Act 2023 replace Aadhaar Act obligations?
No — both laws apply simultaneously. The DPDP Act governs all personal data processing and adds consent, data-rights, and breach-notification obligations. The Aadhaar Act governs Aadhaar-specific use, licensing, and prohibitions. Businesses must comply with both.
Is Offline Aadhaar a valid alternative to UIDAI API authentication?
Yes. The Offline Aadhaar XML or QR code is digitally signed by UIDAI and verifiable locally — no server call and no AUA licence required. It exposes only the last 4 digits and is a privacy-respecting path for voluntary, consent-based verification.
Can we use Aadhaar eKYC data for purposes beyond the original KYC?
No. Both UIDAI licence conditions and the DPDP Act require data to be used only for the stated purpose. Using eKYC fields for credit scoring, marketing, or profiling without separate explicit consent violates both frameworks.
What should we do if we find we have been storing Aadhaar numbers in our database?
Treat it as an urgent compliance incident — assess scope, delete or tokenize the stored numbers, audit access logs, notify your DPO and legal counsel, and evaluate DPDP breach-notification obligations. Engage a CERT-In empanelled partner for the forensic review to close the gap fully.
BR

Bachao.AI Research Team

Cybersecurity Research

AI-powered security research and threat intelligence from the Bachao.AI team. Covering the latest vulnerabilities, CVEs, and cybersecurity developments affecting Indian businesses.

Get cybersecurity insights for Indian SMBs

Weekly vulnerability alerts, DPDP compliance tips, and security guides. No spam — unsubscribe anytime.

We respect your privacy. Your email is never shared.

See if your business is DPDP Act compliant

Free automated scan — risk score in under 2 hours. No credit card required.

Check DPDP Compliance
Find your vulnerabilitiesStart free scan →