Skip to content

Commit bf6ca97

Browse files
authored
Document the default key storage directory for macOS & Linux (#17674)
1 parent 274d9e4 commit bf6ca97

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

aspnetcore/security/data-protection/implementation/key-storage-format.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ title: Key storage format in ASP.NET Core
33
author: rick-anderson
44
description: Learn implementation details of the ASP.NET Core Data Protection key storage format.
55
ms.author: riande
6-
ms.date: 10/14/2016
6+
ms.date: 04/08/2020
77
uid: security/data-protection/implementation/key-storage-format
88
---
99
# Key storage format in ASP.NET Core
1010

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

13-
Objects are stored at rest in XML representation. The default directory for key storage is %LOCALAPPDATA%\ASP.NET\DataProtection-Keys\.
13+
Objects are stored at rest in XML representation. The default directory for key storage is:
14+
15+
* Windows: *%LOCALAPPDATA%\ASP.NET\DataProtection-Keys\*
16+
* macOS / Linux: *$HOME/.aspnet/DataProtection-Keys*
1417

1518
## The \<key> element
1619

0 commit comments

Comments
 (0)