-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.json
More file actions
121 lines (121 loc) · 3.56 KB
/
task.json
File metadata and controls
121 lines (121 loc) · 3.56 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"id": "cc659880-a73e-11e6-94fa-25535c3352ae",
"name": "AzureNewPassword",
"friendlyName": "Azure New Password",
"description": "Generates a new password and stores it in an Azure Key Vault",
"author": "Michael Leyshon",
"helpMarkDown": "Replace with markdown to show in help",
"category": "Deploy",
"visibility": [
"Deploy"
],
"demands": [],
"version": {
"Major": "0",
"Minor": "18",
"Patch": "0"
},
"minimumAgentVersion": "1.95.0",
"instanceNameFormat": "AzureNewPassword $(message)",
"inputs": [
{
"name": "ConnectedServiceNameSelector",
"type": "pickList",
"label": "Azure Connection Type",
"required": false,
"helpMarkDown": "",
"defaultValue": "ConnectedServiceName",
"options": {
"ConnectedServiceName": "Azure Classic",
"ConnectedServiceNameARM": "Azure Resource Manager"
}
},
{
"name": "ConnectedServiceName",
"type": "connectedService:Azure",
"label": "Azure Classic Subscription",
"defaultValue": "",
"required": true,
"helpMarkDown": "Azure Classic subscription to target for copying the files.",
"visibleRule": "ConnectedServiceNameSelector = ConnectedServiceName"
},
{
"name": "ConnectedServiceNameARM",
"type": "connectedService:AzureRM",
"label": "Azure RM Subscription",
"defaultValue": "",
"required": true,
"helpMarkDown": "Azure Resource Manager subscription to target for copying the files.",
"visibleRule": "ConnectedServiceNameSelector = ConnectedServiceNameARM"
},
{
"name": "SecretName",
"type": "string",
"label": "Secret Name",
"defaultValue": "",
"required": true,
"helpMarkDown": "The name of the secret you wish to create"
},
{
"name": "Username",
"type": "string",
"label": "Username",
"defaultValue": "",
"required": true,
"helpMarkDown": "The username for the password being generated"
},
{
"name": "VaultName",
"type": "string",
"label": "Key Vault Name",
"defaultValue": "",
"required": true,
"helpMarkDown": "The name of the Azure Key Vault in which to store the secret"
},
{
"name": "PasswordLength",
"type": "string",
"label": "Password Length",
"defaultValue": "32",
"required": true,
"helpMarkDown": "The length of the auto-generated password"
},
{
"name": "Numeric",
"type": "boolean",
"label": "Include numeric values in password",
"required": true,
"defaultValue": true,
"helpmarkDown": "Select this option to include numeric values in the auto-generated password"
},
{
"name": "Symbols",
"type": "boolean",
"label": "Include symbols in password",
"required": true,
"defaultValue": true,
"helpmarkDown": "Select this option to include symbols in the auto-generated password"
},
{
"name": "Upper",
"type": "boolean",
"label": "Include upper-case in password",
"required": true,
"defaultValue": true,
"helpmarkDown": "Select this option to include upper-case characters in the auto-generated password"
},
{
"name": "Lower",
"type": "boolean",
"label": "Include lower-case in password",
"required": true,
"defaultValue": true,
"helpmarkDown": "Select this option to include lower-case characters in the auto-generated password"
}
],
"execution": {
"PowerShell3": {
"target": "AzureNewPassword.ps1"
}
}
}