Skip to content

Instantly share code, notes, and snippets.

@weirdpattern
Last active July 19, 2018 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weirdpattern/ab3b4f9b33b4af22f391586c57c86dd4 to your computer and use it in GitHub Desktop.
Save weirdpattern/ab3b4f9b33b4af22f391586c57c86dd4 to your computer and use it in GitHub Desktop.
.2016.11.01.grant-access-key-container
2016.11.01.grant-access-key-container
$ cd "$env.WINDIR/Microsoft.NET/Framework64/v4.0.30319"
$ .\aspnet_regiis -pa MyKeyContainer MyDomain\MyServiceAccount -full
Microsoft (R) ASP.NET RegIIS version 4.0.30319.18408
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Adding ACL for access to the RSA Key Container...
Succeedded!
aspnet_regiis -pa <container> <account> [-pku] [-full] [-csp <provider>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment