Update README.md
This commit is contained in:
38
README.md
38
README.md
@@ -17,8 +17,8 @@ This Azure Function App fetches Azure App Registrations, checks for expiring sec
|
|||||||
1. **Clone the repository:**
|
1. **Clone the repository:**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/OliPassey/AzAppRegistrationExpiry.git
|
git clone https://github.com/OliPassey/AzAppRegistrationExpiry.git
|
||||||
cd AzAppRegistrationExpiry
|
cd AzAppRegistrationExpiry
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Create local dev environment & Install dependencies**:
|
2. **Create local dev environment & Install dependencies**:
|
||||||
@@ -31,23 +31,23 @@ This Azure Function App fetches Azure App Registrations, checks for expiring sec
|
|||||||
|
|
||||||
3. **Configure environment variables**:
|
3. **Configure environment variables**:
|
||||||
Create a local.settings.json file in the root of the function app directory with the following contents
|
Create a local.settings.json file in the root of the function app directory with the following contents
|
||||||
{
|
{
|
||||||
"IsEncrypted": false,
|
"IsEncrypted": false,
|
||||||
"Values": {
|
"Values": {
|
||||||
"AzureWebJobsStorage": "<YourAzureWebJobsStorage>",
|
"AzureWebJobsStorage": "<YourAzureWebJobsStorage>",
|
||||||
"FUNCTIONS_WORKER_RUNTIME": "python",
|
"FUNCTIONS_WORKER_RUNTIME": "python",
|
||||||
"AZURE_CLIENT_ID": "<YourAzureClientId>",
|
"AZURE_CLIENT_ID": "<YourAzureClientId>",
|
||||||
"AZURE_CLIENT_SECRET": "<YourAzureClientSecret>",
|
"AZURE_CLIENT_SECRET": "<YourAzureClientSecret>",
|
||||||
"AZURE_TENANT_ID": "<YourAzureTenantId>",
|
"AZURE_TENANT_ID": "<YourAzureTenantId>",
|
||||||
"SMTP_SERVER": "<YourSmtpServer>",
|
"SMTP_SERVER": "<YourSmtpServer>",
|
||||||
"SMTP_PORT": "<YourSmtpPort>",
|
"SMTP_PORT": "<YourSmtpPort>",
|
||||||
"SMTP_USERNAME": "<YourSmtpUsername>",
|
"SMTP_USERNAME": "<YourSmtpUsername>",
|
||||||
"SMTP_PASSWORD": "<YourSmtpPassword>",
|
"SMTP_PASSWORD": "<YourSmtpPassword>",
|
||||||
"FROM_EMAIL": "<YourFromEmail>",
|
"FROM_EMAIL": "<YourFromEmail>",
|
||||||
"FROM_NAME": "<YourFromName>",
|
"FROM_NAME": "<YourFromName>",
|
||||||
"TO_EMAIL": "<YourToEmail>"
|
"TO_EMAIL": "<YourToEmail>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
4. **Run the function locally**:
|
4. **Run the function locally**:
|
||||||
Use the Azure Functions Core Tools to run the function:
|
Use the Azure Functions Core Tools to run the function:
|
||||||
|
|||||||
Reference in New Issue
Block a user