This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KeyVaults=$(az keyvault list --query '[].name' -o tsv) | |
for KeyVault in $KeyVaults | |
do | |
SecretFileName=${KeyVault}.sh | |
echo $SecretFileName | |
test -f ./${SecretFileName} && echo "./${SecretFileName} exist" && rm ./${SecretFileName} | |
SecretKeys=$(az keyvault secret list --vault-name $KeyVault --query '[].id' -o tsv | cut -d "/" -f 5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests | |
import json | |
import sys | |
reload(sys) | |
sys.setdefaultencoding('utf-8') | |
# Your PagerDuty API key. A read-only key will work for this. | |
api_key = 'ENTER_YOUR_API_KEY' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
touch /tmp/test.user.data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am sviatik on github. | |
* I am sstetsiak (https://keybase.io/sstetsiak) on keybase. | |
* I have a public key ASBNvdTdIyFQfi6SG8UtwU_NH9aGjIGCvdCnTI4FWZ5PPAo | |
To claim this, I am signing this object: |