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
{ | |
"info": { | |
"_postman_id": "05e77eff-391e-4804-8ac9-d64969d38575", | |
"name": "Event Hubs Namespace", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get Access Token For Event Hubs Namespace", | |
"event": [ |
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
{ | |
"id": "db953e65-3c4c-4121-b413-316b75767d23", | |
"name": "Azure_storage_acc_env", | |
"values": [ | |
{ | |
"key": "client_id", | |
"value": "", | |
"enabled": true | |
}, | |
{ |
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
{ | |
"info": { | |
"_postman_id": "bfba77ea-dd5a-40a4-93f8-4a603619df84", | |
"name": "Azure Storage Account", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get Access Token", | |
"event": [ |
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
trigger: | |
- master | |
pool: | |
name: Self-Hosted-Agent | |
variables: | |
- group: dev | |
steps: |
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
package main | |
import "fmt" | |
import "net/http" | |
func index(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintf(w, "<h1>Hello World</h1>") | |
} |
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
# Ports your application uses that need inbound permissions from the service for | |
# If all you're doing is HTTPS, this can be simply { 'https': 443 } | |
INGRESS_PORTS = { 'https': 443 } | |
# Tags which identify the security groups you want to update | |
GLOBAL_SG_TAGS = { 'Name': 'Update_CloudFront_IPs', 'AutoUpdate': 'true' } | |
import boto3 |
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
{{range $i, $id := .availability_zone_names.value}} | |
apiVersion: kops.k8s.io/v1alpha2 | |
kind: InstanceGroup | |
metadata: | |
creationTimestamp: null | |
labels: | |
kops.k8s.io/cluster: {{$.cluster_name.value}} | |
name: master-{{.}} | |
spec: | |
image: kope.io/k8s-1.15-debian-stretch-amd64-hvm-ebs-2020-01-17 |
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
apiVersion: kops.k8s.io/v1alpha2 | |
kind: Cluster | |
metadata: | |
creationTimestamp: null | |
name: {{.cluster_name.value}} | |
spec: | |
api: | |
loadBalancer: | |
type: Internal | |
authorization: |
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
[cmdletbinding()] | |
Param ( | |
[Parameter(Mandatory=$true)] | |
$apimServiceName, | |
[Parameter(Mandatory=$true)] | |
$resourceGroupName, | |
[Parameter(Mandatory=$true)] | |
$location, | |
[Parameter(Mandatory=$true)] | |
$organisation, |
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
#this scripts will create keyvault, assign permissions to users, apps, and groups. | |
#pipeline service principal App ObjectID will be assigned list,get and set permissions. | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)]$location, | |
[Parameter(Mandatory=$true)]$resourceGroupName, | |
[Parameter(Mandatory=$true)]$keyVaultName, | |
[Parameter(Mandatory=$true)]$secretName, |