Skip to content

Instantly share code, notes, and snippets.

View MaximRouiller's full-sized avatar
🏠
Working from home

Maxime Rouiller MaximRouiller

🏠
Working from home
View GitHub Profile
@MaximRouiller
MaximRouiller / Program.cs
Last active March 27, 2024 22:45
GitHub API access with Personal Access Token using C# HttpClient and .NET Core
public class Program
{
public static void Main(string[] args)
{
Task.WaitAll(ExecuteAsync());
Console.ReadLine();
}
public static async Task ExecuteAsync()
{

Keybase proof

I hereby claim:

  • I am maximrouiller on github.
  • I am maximrouiller (https://keybase.io/maximrouiller) on keybase.
  • I have a public key ASAzChgehk2OF52sMJsrNUN-nJopQylFGBr_uSetk0HkZwo

To claim this, I am signing this object:

$resourceGroupName = "rgServiceFabricCluster"
$location = "eastus"
# Create our resource group
az group create --location $location --name $resourceGroupName
# Create our KeyVault Standard instance
az keyvault create --name my-sfcluster-keyvault --location $location --resource-group $resourceGroupName --enabled-for-deployment
# This command export the policy on file.