-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathCertificateProfiles_Create.json
More file actions
71 lines (71 loc) · 2.62 KB
/
Copy pathCertificateProfiles_Create.json
File metadata and controls
71 lines (71 loc) · 2.62 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
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2026-05-15-preview",
"resource": {
"properties": {
"profileType": "PublicTrust",
"identityValidationId": "00000000-1234-5678-3333-444444444444",
"includePostalCode": true,
"includeStreetAddress": false,
"programType": "test"
}
},
"profileName": "profileA",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"name": "profileA",
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount/certificateProfiles/profileA",
"properties": {
"certificates": [
{
"createdDate": "3/14/2023 5:27:49 PM",
"expiryDate": "3/17/2023 5:27:49 PM",
"enhancedKeyUsage": "1.3.6.1.4.1.311.yy.xxxxxxxx.xxxxxxxx.xxxxxxxxx.xxxxxxxx",
"serialNumber": "xxxxxxxxxxxxxxxxxx",
"status": "Active",
"subjectName": "CN=Contoso Inc, O=Contoso Inc, L=New York, S=New York, C=US",
"thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
],
"identityValidationId": "00000000-1234-5678-3333-444444444444",
"includeCity": false,
"includeCountry": false,
"includePostalCode": true,
"includeState": false,
"includeStreetAddress": false,
"profileType": "PublicTrust",
"provisioningState": "Succeeded",
"status": "Active",
"programType": "test"
}
}
},
"201": {
"body": {
"name": "profileA",
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount/certificateProfiles/profileA",
"properties": {
"certificates": [],
"identityValidationId": "00000000-1234-5678-3333-444444444444",
"includeCity": false,
"includeCountry": false,
"includePostalCode": true,
"includeState": false,
"includeStreetAddress": false,
"profileType": "PublicTrust",
"provisioningState": "Succeeded",
"programType": "test"
}
}
}
},
"operationId": "CertificateProfiles_Create",
"title": "Create a certificate profile."
}