Document the default key storage directory for macOS & Linux (#17674)

pull/17678/head
Scott Addie 2020-04-08 15:37:38 -05:00 committed by GitHub
parent 274d9e42a6
commit bf6ca97013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -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