Runbook 環境のシミュレーション
新しい Runbook を開発する際、Runbook 内で実行しているかのように認証するために RealmJoin.RunbookHelper を有効にする必要がある場合があります。
最終更新
役に立ちましたか?
役に立ちましたか?
git clone https://github.com/hcoberdalhoff/approle-and-directoryrole-granter.git
cd "approle-and-directoryrole-granter\RealmJoinVnext"
. .\AllInOne.ps1 -appRegObjectId "{AppRegObjectId}"New-SelfSignedCertificate -Subject 'CN=AzureRunAsConnection, OU={AppID}, DC={TenantID}, O={SubscriptionID}' `
-CertStoreLocation "cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(10) -KeySpec Signature | `
Export-Certificate -FilePath "AzureRunAsConnection.cer"