Join our Newsletter — 33% off our NHI Course
Home› Guides› Pure Storage FlashArray Hardening Guide: Lock Down Snapshots,…
Guide Privacy & Data Protection

Pure Storage FlashArray Hardening Guide: Lock Down Snapshots, Admin Roles and API Tokens

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 20 November 2026 14 min read
On this page

Hardening a Pure Storage FlashArray comes down to three things: making snapshots impossible to eradicate early, keeping administrative roles narrow, and treating every API token as a privileged non-human identity. Storage arrays sit underneath almost everything else in the data centre, so an attacker who reaches the array management plane with administrator rights can destroy primary volumes and their snapshots in one pass. This guide walks through the FlashArray controls that stop that from happening, with SafeMode at the centre, and shows how to govern the automation accounts and tokens that scripts, backup tools and configuration management use to talk to the array.

The guide is written for storage administrators, infrastructure security engineers and identity teams who own the service accounts that touch storage. It assumes you already run FlashArray in production and want a repeatable baseline rather than an introduction to the product.

This is an independent guide from NHI Mgmt Group, based on Pure Storage's public documentation as of November 2026. It is not sponsored or reviewed by Pure Storage. Product features change, so confirm settings against Pure Storage's current documentation.

Key takeaways

  • Without SafeMode, an attacker holding array administrator rights can eradicate volumes and snapshots. With SafeMode enabled, Pure Storage states that the attacker cannot remove data from the eradication bucket, even with admin privileges.
  • SafeMode is enabled through Pure Support, which issues a six-digit PIN to each authorised contact (up to five additional contacts). Those contacts and PINs are a human control that sits outside the array's own credential store, so protect them accordingly.
  • The eradication timer defaults to 24 hours. Pure Storage says most customers settle on 14 days and that the timer can be extended up to 30 days.
  • SafeMode only protects what you snapshot. Pure Storage calls a snapshot policy for SafeMode "imperative", so build protection groups with schedules and retention that match your recovery objectives.
  • Local users take one of four roles: readonly, ops_admin, storage_admin and array_admin. Give automation the lowest role that works and reserve array_admin for a small, named group.
  • API tokens are bound to a user and can be given a validity period. Set an expiry on every token, store tokens in a secrets manager and rotate them on a schedule.

Why the storage management plane is a ransomware target

Ransomware operators have learned that encrypting servers is only half the job. If the victim can roll back to a clean snapshot in minutes, the extortion fails. That is why MITRE ATT&CK lists Inhibit System Recovery (T1490) alongside Data Encrypted for Impact (T1486): attackers routinely try to delete backups, shadow copies and snapshots before they trigger encryption.

A storage array is an attractive place to do that. One authenticated session or API call can destroy many volumes and every snapshot attached to them. The credentials that allow it are often not human at all. They belong to backup software, orchestration scripts, monitoring tools and configuration management runs, and they tend to be long lived, broadly scoped and stored in places that are easier to reach than the array itself. Abuse of legitimate credentials maps to Valid Accounts (T1078), and it is the path that the controls in this guide are designed to close.

FlashArray gives you a layered answer. Destroyed objects first go to an eradication bucket instead of disappearing at once. SafeMode then stops anyone, including an administrator, from emptying that bucket early. Narrow roles and short-lived tokens reduce the chance that an attacker gets administrator rights in the first place. Each layer matters, and none of them replaces the others.

How destruction, eradication and SafeMode work

On FlashArray, destroying a volume or snapshot is a two-stage process. A destroyed object goes into what Pure Storage calls the eradication bucket, where it waits for the eradication timer to run out before the space is permanently reclaimed. During that window the object can be recovered. Pure Storage's technical brief notes that instant restore of objects still pending eradication does not require a call to support.

Without SafeMode, an administrator can manually eradicate objects from the bucket and skip the wait. That is useful during a migration, and dangerous if the administrator is an attacker. Pure Storage's brief is explicit: without SafeMode, an attacker with admin rights can eradicate volumes and snapshots.

SafeMode removes that shortcut. Once it is enabled, the brief states that "the attacker cannot remove the volume data from the eradication bucket, even with admin privileges". Snapshots are described as immutable. If you genuinely need to reclaim space early, for example after moving workloads to another array, it takes a conference call with Pure Support in which two authorised contacts take part and give their PINs.

The Ansible module for the eradication timer shows that the array can hold separate delays for objects protected by SafeMode and for objects that are not, each accepting a value from 1 to 30 days. Check how your Purity version presents these settings before you script against them.

Enabling SafeMode and governing the authorised contacts

Pure Storage describes SafeMode as a no-extra-cost feature that you turn on by contacting Pure Support. When you call, you name up to five additional authorised contacts, and support issues a six-digit PIN to each one. Those PINs are then needed for any future change to SafeMode.

This design moves the final say on data destruction outside your own identity systems. An attacker who has taken over your directory, your privileged access tooling and the array administrator account still cannot shorten the timer or empty the eradication bucket without passing a support verification that depends on people and PINs. That is the point of the control, so treat the contact list with the same care as a break-glass procedure.

Recommended practice for authorised contacts

  • Choose contacts from at least two teams, for example storage operations and security, so that no single team can approve a reduction in protection alone.
  • Do not store PINs in the same password vault, ticketing system or chat channel that array administrators use day to day. A sealed offline record or a separate vault with its own access control is a better fit.
  • Review the contact list whenever someone on it changes role or leaves, and record the review. A departed employee who still holds a PIN is a gap.
  • Write down how a support request to change SafeMode will be verified internally before anyone dials in, including who must agree.
  • Treat any unexpected request to change SafeMode, or to reclaim space early, as a possible sign of compromise and route it to your incident process.

Setting the eradication timer

The timer decides how long you have to notice an attack and recover. Pure Storage's brief says the default is 24 hours, that most customers settle on 14 days, and that the timer can go up to 30 days.

A 24-hour window is short. Many intrusions are found days or weeks after the first foothold, and an attacker who destroys snapshots on a Friday evening may have the window expire before anyone is looking. NHI Mgmt Group recommends sizing the timer against your realistic detection time rather than the default, and confirming that you have the capacity headroom to hold destroyed data for that long.

Questions to settle before you pick a value:

  • How long, in practice, does it take your team to notice unusual destruction activity on the array, including weekends and holidays?
  • How much capacity would a mass destruction event hold in the eradication bucket, and can the array absorb it without affecting production?
  • Do any workflows routinely destroy and recreate volumes, such as test refreshes, that would fill the bucket under a long timer?
  • Who approves a change to the timer, and how is that approval recorded?

Snapshot policies and protection groups

SafeMode protects snapshots that exist. It cannot protect data you never captured. Pure Storage's brief says that "it is imperative to create a snapshot policy for SafeMode to protect your data".

FlashArray uses protection groups to snapshot hosts, volumes, volume groups, files and directories automatically on a schedule, with frequency and retention you choose. A protection group can also send snapshots to a target, which the brief lists as another FlashArray, a cloud service or a FlashBlade.

Building a snapshot baseline

  • Map every production workload to a protection group. Volumes outside any group are the ones most likely to be lost.
  • Set frequency from the recovery point objective of the most demanding application in each group, and retention from how far back you might need to go after a slow-burning intrusion.
  • Replicate snapshots to a second target under separate administrative control where possible, so that compromise of one array does not reach both copies.
  • Monitor for new volumes created outside protection groups, and for any change to schedules or retention on existing groups.
  • Test restores on a schedule. A snapshot that has never been restored is an assumption, not a recovery plan.

For broader guidance on immutability and backup design across platforms, see the Backup Security and Immutable Backup Guide.

Administrative roles and least privilege

FlashArray local users are assigned one of four access levels. The Ansible user module lists them as readonly, ops_admin, storage_admin and array_admin, with readonly as the default. The same module shows that users can be local or directory based, and that an SSH public key can be attached to a user for shell access.

Role choice is the main lever you have over the blast radius of a stolen credential. NHI Mgmt Group recommends the following baseline:

Who or whatSuggested roleNotes
Monitoring and capacity reporting toolsreadonlyThese tools only need to read state. Do not grant more because it is convenient.
Help desk or operations staffops_admin or readonlyConfirm in your Purity documentation what each role can change before assigning.
Provisioning automation and backup integrationsstorage_adminCreate a separate account per integration so each one can be revoked alone.
Named storage engineersarray_adminKeep this group small, use directory accounts and review membership quarterly.

Map directory groups to array roles so that joiners, movers and leavers are handled by your identity lifecycle rather than by hand on each array. Keep local accounts to a documented minimum, such as break-glass access for when the directory is unavailable, and store their credentials under privileged access controls. The Backup Identity Isolation Guide covers why storage and backup administration should not share the same domain trust as the workloads it protects.

API tokens as non-human identities

Most automation talks to FlashArray through its REST API using an API token. The Ansible modules make the model clear. The token module creates or deletes an API token for an existing admin user, using that user's username and password, and accepts a timeout that sets how long the token is valid, in weeks, days, hours, minutes or seconds. The user module can also create a token for a user, and its timeout defaults to "0".

Two practical points follow. First, a token carries the role of the user it belongs to, so a token for an array_admin user is an array administrator credential that never prompts for a second factor. Second, if you do not set a validity period, assume the token will live until someone deletes it. Long-lived tokens copied into scripts and pipeline variables are exactly the kind of credential that turns up in an attacker's harvest.

Token hygiene baseline

  • One user and one token per integration. Never share a token across tools or teams.
  • Bind each token to the lowest role that works, using a dedicated service user rather than a person's account.
  • Always set an explicit validity period, and rotate before it ends using the recreate option or your own process.
  • Keep tokens in a secrets manager and inject them at run time. The Ansible modules can read PUREFA_URL and PUREFA_API from environment variables, which is better than hard-coding values in playbooks.
  • The user module documentation warns that a token can be exposed through the debug module. Mark token outputs as sensitive in automation logs and check CI logs for leaks.
  • Keep an inventory of every array user that holds a token: owner, purpose, role, creation date and expiry.

For the general lifecycle of service credentials, see the Service Account Security Guide.

Management network, logging and monitoring

Pure Storage's brief closes its recovery steps by telling customers to investigate the attack vector and act to prevent a recurrence. That requires evidence. NHI Mgmt Group recommends the following controls around the array, all of which are standard practice for storage management planes:

  • Put array management interfaces on a dedicated management network that ordinary servers and user devices cannot reach, and allow access only from jump hosts or automation runners.
  • Forward array audit and alert events to your central logging platform so they survive if the array or its administrators are compromised.
  • Alert on mass destruction of volumes or snapshots, changes to protection group schedules or retention, new users or tokens, and role changes.
  • Alert on any SafeMode or eradication timer change, and confirm each one against an approved change record.
  • Correlate array activity with the identity of the calling service account, so you can tell a backup job from an attacker using the backup job's token.

The Storage Infrastructure Security Guide covers storage network segmentation and monitoring in more depth.

Recovering after an attack

Pure Storage's brief describes a short recovery path. If the attacker's encrypted volumes are still in the eradication bucket, eradicate them and restore the volumes instantly to their pre-encryption state. If the attacker eradicated volumes, restore them from snapshots, which the attacker could not eradicate while SafeMode was on. Then investigate how the attacker got in.

Before restoring, NHI Mgmt Group recommends that you:

  • Revoke and reissue every API token and reset every local array password, on the assumption that the attacker harvested them.
  • Review array users and roles for accounts the attacker may have added.
  • Pick a restore point from before the first sign of intrusion, not just before encryption, to avoid restoring planted persistence.
  • Restore into an isolated environment first where possible, and scan before reconnecting to production.

Common failure patterns

  • SafeMode left off. Without it, the eradication bucket is only a convenience, and any administrator credential can empty it.
  • Default timer kept. A 24-hour window can expire before anyone notices destruction activity, especially over a weekend.
  • Volumes outside protection groups. New volumes are created for a project and never added to a snapshot schedule.
  • Stale authorised contacts. People who have left still hold PINs, or all contacts sit in one team.
  • Shared admin tokens. Several scripts use the same array_admin token with no expiry, so revoking it breaks everything and nobody does.
  • Tokens in logs. Automation prints token values to job output, which is then retained and searchable.
  • Flat management network. Array management interfaces are reachable from general server subnets.

Practitioner checklist

  • Confirm SafeMode is enabled on every FlashArray and record the authorised contacts.
  • Set the eradication timer against your realistic detection time, and confirm capacity headroom.
  • Place every production volume in a protection group with a documented schedule and retention.
  • Replicate snapshots to a separately administered target and test restores on a schedule.
  • Map directory groups to array roles and keep array_admin to a small named group.
  • Give each integration its own service user, lowest workable role and expiring API token.
  • Store tokens in a secrets manager and keep them out of logs.
  • Isolate management interfaces and forward array events to central logging with alerts on destruction and configuration changes.
  • Review contacts, users, roles and tokens at least quarterly.

Standards and references

Related NHI Mgmt Group resources: Backup Security and Immutable Backup Guide · Backup Identity Isolation Guide · Storage Infrastructure Security Guide · Service Account Security Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.