Patricio Treviño

Patricio Treviño

Husband . Father . Developer
6total entries in key container

Create a key container

Syntax

aspnet_regiis -pc <container> [-size <keySize>] [-pku] [-exp] [-csp <provider>]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be created.
size The size of the key (default is 2048 bytes).
pku Substitutes a user-specified container for the default machine container.
exp Makes the container exportable.
csp Specifies the container provider to use.

Delete a key container

Syntax

aspnet_regiis -pz <container> [-pku]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be deleted.
pku Substitutes a user-specified container for the default machine container.

Export a key container

Syntax

aspnet_regiis -px <container> <path> [-pku] [-cpu <provider>]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be exported.
path The path where the RSA key container is to be exported.
pku Substitutes a user-specified container for the default machine container.
csp Specifies the container provider to use.

Grant access to a key container

Syntax

aspnet_regiis -pa <container> <account> [-pku] [-full] [-csp <provider>]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be used.
account The account to be granted permissions.
pku Substitutes a user-specified container for the default machine container.
full Gives full access to the key container.
csp Specifies the container provider to use.

Import a key container

Syntax

aspnet_regiis -pi <container> <path> [-pku] [-exp] [-csp <provider>]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be imported.
path The path to the exported RSA key container xml file.
pku Substitutes a user-specified container for the default machine container.
exp Specifies that private keys can be exported.
csp Specifies the container provider to use.

Removes access from a key container

Syntax

aspnet_regiis -pr <container> <account> [-pku] [-csp <provider>]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be used.
account The account to be removed.
pku Substitutes a user-specified container for the default machine container.
csp Specifies the container provider to use.