You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Increased CDN cache duration from 90 to 180 days. Use beta releases of Unfucked and DataSizeUnits libraries instead of local builds. Update some MIME types for PGP files.
* There seems to be no upper limit to the duration of a certificate that Azure apps can use, unlike client secrets, which must be rotated at least once every 2 years.
9
-
*
10
-
* You can generate a new certificate using PowerShell:
* Then, use certmgr.msc to export this certificate as a CER file without the private key, and upload it to portal.azure.com > App registrations > your app > Certificates & secrets.
15
-
*
16
-
* Next, export the same certificate as a PFX file with the private key and a password, and pass its absolute path as certFilePath.
17
-
*
18
-
* You may now delete the cert from the Personal store if you want.
logger.LogInformation("Starting CDN purge, will finish asynchronously later");
32
-
}else{
33
-
logger.LogInformation("No CDN configured, not purging");
34
-
}
35
-
}
36
-
1
+
usingAzure;
2
+
usingAzure.ResourceManager.Cdn;
3
+
usingAzure.ResourceManager.Cdn.Models;
4
+
5
+
namespaceRaspberryPiDotnetRepository.Azure;
6
+
7
+
/*
8
+
* There seems to be no upper limit to the duration of a certificate that Azure apps can use, unlike client secrets, which must be rotated at least once every 2 years.
9
+
*
10
+
* You can generate a new certificate using PowerShell:
* Then, use certmgr.msc to export this certificate as a CER file without the private key, and upload it to portal.azure.com > App registrations > your app > Certificates & secrets.
15
+
*
16
+
* Next, export the same certificate as a PFX file with the private key and a password, and pass its absolute path as certFilePath.
17
+
*
18
+
* You may now delete the cert from the Personal store if you want.
/// Create a Debian package with given files to install and control metadata.
17
-
///
18
-
/// <list type="number">
19
-
/// <item><description>Construct a new <see cref="PackageBuilderImpl"/> instance</description></item>
20
-
/// <item><description>Set <see cref="control"/> to be the control metadata (see <see href="https://www.debian.org/doc/debian-policy/ch-controlfields.html"/>)</description></item>
21
-
/// <item><description>Add files to install by getting <see cref="data"/> and calling <see cref="TarWriter.WriteFile"/>, <see cref="TarWriter.WriteDirectory"/>, or <see cref="TarWriter.WriteSymLink"/> as many times as you want on it</description></item>
22
-
/// <item><description>Create a destination stream (like a <see cref="FileStream"/>) and call <see cref="build"/> to save the package to a .deb file</description></item>
Copy file name to clipboardExpand all lines: RaspberryPiDotnetRepository/appsettings.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
"cdnTenantId": null,
14
14
15
15
// Insert the application/client ID of an Azure OAuth app registration (Azure Portal > App registrations > your app > Overview > Essentials > Application (client) ID)
16
+
// This application must be granted a role with both Microsoft.Cdn/profiles/endpoints/read and Microsoft.Cdn/profiles/endpoints/Purge/action permissions on the Resource Group, such as the built-in CDN Endpoint Contributor role, or a custom role that has those two permissions.
0 commit comments