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
Copy file name to clipboardExpand all lines: README.md
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ To get started with your own GitHub PowerShell based action, [create a new repos
15
15
|`Token`| Log in using an Installation Access Token (IAT). | false |`${{ github.token }}`|
16
16
|`ClientID`| Log in using a GitHub App, with the App's Client ID and Private Key. | false ||
17
17
|`PrivateKey`| Log in using a GitHub App, with the App's Client ID and Private Key. | false ||
18
+
|`KeyVaultKeyReference`| Log in using a GitHub App, with the App's Client ID and KeyVault Key Reference. | false ||
18
19
|`Debug`| Enable debug output for the whole action. | false |`'false'`|
19
20
|`Verbose`| Enable verbose output for the whole action. | false |`'false'`|
20
21
|`Version`| Specifies the exact version of the GitHub module to install. | false ||
@@ -176,7 +177,35 @@ jobs:
176
177
}
177
178
```
178
179
179
-
#### Example 5: Using outputs from the script
180
+
#### Example 5: Run a GitHub PowerShell script with a GitHub App using a Client ID and KeyVault Key Reference
181
+
182
+
Runs a script that uses the GitHub PowerShell module with a GitHub App authenticated via Azure KeyVault. This example retrieves the GitHub App details.
183
+
184
+
> [!NOTE]
185
+
> This authentication method requires the `azure/login` action to authenticate with Azure first. The KeyVault Key Reference should be a URL pointing to the private key stored in Azure KeyVault.
0 commit comments