chore(m365powershell): manage encryption from plaintext password (#7784)

Co-authored-by: Daniel Barranquero <danielbo2001@gmail.com>
This commit is contained in:
Hugo Pereira BritoandDaniel Barranquero authored and GitHub committed 2025-05-22 17:36:58 +02:00
1 parent 99164ce93e
commit 36aaec8a55
21 files changed
+208 -127

No files matched your search

@@ -176,7 +176,7 @@ Follow these steps to assign the role:
### Get your encrypted password
For this step you will need to use PowerShell, here you will have to create your Encrypted Password based on the password of the User that you are going to use. For more information about how to generate this Password go [here](../../getting-started/requirements.md#service-principal-and-user-credentials-authentication-recommended) and follow the steps needed to obtain `M365_ENCRYPTED_PASSWORD`.
For this step you will need to use PowerShell, here you will have to create your Encrypted Password based on the password of the User that you are going to use. For more information about how to generate this Password go [here](../../getting-started/requirements.md#service-principal-and-user-credentials-authentication-recommended) and follow the steps needed to obtain `M365_PASSWORD`.
---
@@ -192,7 +192,7 @@ For this step you will need to use PowerShell, here you will have to create your
- `Tenant ID`
- `AZURE_CLIENT_SECRET` from earlier
- `M365_USER` your user using the default domain, more info [here](../../getting-started/requirements.md#service-principal-and-user-credentials-authentication-recommended)
- `M365_ENCRYPTED_PASSWORD` generated before
- `M365_PASSWORD` generated before
![Prowler Cloud M365 Credentials](./img/m365-credentials.png)