-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 1.3 KB
/
rotate_private_key.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Rotate Github App Private Key
on:
workflow_dispatch:
jobs:
rotate-github-app-private-key:
runs-on: ubuntu-latest
outputs:
token: ${{ steps.generate.outputs.token }}
steps:
- name: Generate GitHub App Token
id: generate
uses: ArctiqDemos/github-actions/generate-app-token@main
with:
app_id: 849736
installation_id: 48083491
kv_url: https://github-secret-store.vault.azure.net
kv_secret_name: safe-settings-test
azure_client_id: ${{ secrets.AZURE_CLIENT_ID }}
azure_client_secret: ${{ secrets.AZURE_CLIENT_SECRET }}
azure_subscription: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
azure_tenant: ${{ secrets.AZURE_TENANT_ID }}
- name: Rotate Github App Private Key
id: rotate
uses: ArctiqDemos/github-actions/rotate-github-app-private-key@main
with:
app_id: 849736
installation_id: 48083491
kv_url: https://github-secret-store.vault.azure.net
kv_secret_name: safe-settings-test
azure_client_id: ${{ secrets.AZURE_CLIENT_ID }}
azure_client_secret: ${{ secrets.AZURE_CLIENT_SECRET }}
azure_subscription: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
azure_tenant: ${{ secrets.AZURE_TENANT_ID }}
token: ${{ steps.generate.outputs.token }}