From e0cc68b9febc472e3707230ae458cf583ff5f363 Mon Sep 17 00:00:00 2001 From: Tobias Karius <56254211+kariustobias@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:14:02 +0200 Subject: [PATCH] Update README.md There is no import public key option and the private key shouldnt be imported with the import public key function --- src/PFXImportPowershell/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PFXImportPowershell/README.md b/src/PFXImportPowershell/README.md index bd7869e..7ad967e 100644 --- a/src/PFXImportPowershell/README.md +++ b/src/PFXImportPowershell/README.md @@ -79,19 +79,19 @@ Add-IntuneKspKey "" "" {-MakeExportable} ## Export the public key to a file 1. Export the public key. Used to encrypt in an independent location from where the private key is accessed. Set "Set up userPFXCertificate object (scenario: encrypting password with the public key that has been exported to a file)" below. ``` -Export-IntunePublicKey -ProviderName "" -KeyName "" -FilePath "" +Export-IntunePrivateKey -ProviderName "" -KeyName "" -FilePath "" ``` ## Export the private key to a file 1. Export the private key. For use when migrating connector and moving keys between machines. ``` -Export-IntunePublicKey -ProviderName "" -KeyName "" -FilePath "" {-MakeExportable} +Export-IntunePrivateKey -ProviderName "" -KeyName "" -FilePath "" {-MakeExportable} ``` ## Import the private key from a file 1. Import the private key. For use when migrating connector and moving keys between machines. ``` -Import-IntunePublicKey -ProviderName "" -KeyName "" -FilePath "" +Import-IntunePrivateKey -ProviderName "" -KeyName "" -FilePath "" ``` ## Authenticate to Intune