Skip to content

Commit

Permalink
Document the default key storage directory for macOS & Linux (dotnet#…
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaddie authored Apr 8, 2020
1 parent 274d9e4 commit bf6ca97
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

<a name="data-protection-implementation-key-storage-format"></a>

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 \<key> element

Expand Down

0 comments on commit bf6ca97

Please sign in to comment.