From bf6ca97013af3de5e7907a291b9ae3929bc791f9 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Wed, 8 Apr 2020 15:37:38 -0500 Subject: [PATCH] Document the default key storage directory for macOS & Linux (#17674) --- .../data-protection/implementation/key-storage-format.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aspnetcore/security/data-protection/implementation/key-storage-format.md b/aspnetcore/security/data-protection/implementation/key-storage-format.md index 60c49bee1c..e48499d06c 100644 --- a/aspnetcore/security/data-protection/implementation/key-storage-format.md +++ b/aspnetcore/security/data-protection/implementation/key-storage-format.md @@ -3,14 +3,17 @@ title: Key storage format in ASP.NET Core author: rick-anderson description: Learn implementation details of the ASP.NET Core Data Protection key storage format. ms.author: riande -ms.date: 10/14/2016 +ms.date: 04/08/2020 uid: security/data-protection/implementation/key-storage-format --- # Key storage format in ASP.NET Core -Objects are stored at rest in XML representation. The default directory for key storage is %LOCALAPPDATA%\ASP.NET\DataProtection-Keys\. +Objects are stored at rest in XML representation. The default directory for key storage is: + +* Windows: *%LOCALAPPDATA%\ASP.NET\DataProtection-Keys\* +* macOS / Linux: *$HOME/.aspnet/DataProtection-Keys* ## The \ element