@pulumi/azuread 6.9.0-alpha.1767072480 → 6.9.0-alpha.1767900666
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/applicationAppRole.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as random from "@pulumi/random";
|
|
9
9
|
*
|
|
10
10
|
* const example = new azuread.ApplicationRegistration("example", {displayName: "example"});
|
|
11
|
-
* const exampleAdministrator = new random.
|
|
11
|
+
* const exampleAdministrator = new random.RandomUuid("example_administrator", {});
|
|
12
12
|
* const exampleAdminister = new azuread.ApplicationAppRole("example_administer", {
|
|
13
13
|
* applicationId: example.id,
|
|
14
14
|
* roleId: exampleAdministrator.id,
|
package/applicationAppRole.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as random from "@pulumi/random";
|
|
15
15
|
*
|
|
16
16
|
* const example = new azuread.ApplicationRegistration("example", {displayName: "example"});
|
|
17
|
-
* const exampleAdministrator = new random.
|
|
17
|
+
* const exampleAdministrator = new random.RandomUuid("example_administrator", {});
|
|
18
18
|
* const exampleAdminister = new azuread.ApplicationAppRole("example_administer", {
|
|
19
19
|
* applicationId: example.id,
|
|
20
20
|
* roleId: exampleAdministrator.id,
|
|
@@ -45,60 +45,60 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
45
|
*
|
|
46
46
|
* ```typescript
|
|
47
47
|
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as azure from "@pulumi/azure";
|
|
48
49
|
* import * as azuread from "@pulumi/azuread";
|
|
49
|
-
* import * as azurerm from "@pulumi/azurerm";
|
|
50
50
|
*
|
|
51
51
|
* const exampleApplication = new azuread.Application("example", {displayName: "example"});
|
|
52
|
-
* const example = new
|
|
52
|
+
* const example = new azure.keyvault.Certificate("example", {
|
|
53
53
|
* name: "generated-cert",
|
|
54
54
|
* keyVaultId: exampleAzurermKeyVault.id,
|
|
55
|
-
* certificatePolicy:
|
|
56
|
-
* issuerParameters:
|
|
55
|
+
* certificatePolicy: {
|
|
56
|
+
* issuerParameters: {
|
|
57
57
|
* name: "Self",
|
|
58
|
-
* }
|
|
59
|
-
* keyProperties:
|
|
58
|
+
* },
|
|
59
|
+
* keyProperties: {
|
|
60
60
|
* exportable: true,
|
|
61
61
|
* keySize: 2048,
|
|
62
62
|
* keyType: "RSA",
|
|
63
63
|
* reuseKey: true,
|
|
64
|
-
* }
|
|
65
|
-
*
|
|
66
|
-
* action:
|
|
64
|
+
* },
|
|
65
|
+
* lifetimeActions: [{
|
|
66
|
+
* action: {
|
|
67
67
|
* actionType: "AutoRenew",
|
|
68
|
-
* }
|
|
69
|
-
* trigger:
|
|
68
|
+
* },
|
|
69
|
+
* trigger: {
|
|
70
70
|
* daysBeforeExpiry: 30,
|
|
71
|
-
* }
|
|
71
|
+
* },
|
|
72
72
|
* }],
|
|
73
|
-
* secretProperties:
|
|
73
|
+
* secretProperties: {
|
|
74
74
|
* contentType: "application/x-pkcs12",
|
|
75
|
-
* }
|
|
76
|
-
* x509CertificateProperties:
|
|
77
|
-
*
|
|
78
|
-
*
|
|
75
|
+
* },
|
|
76
|
+
* x509CertificateProperties: {
|
|
77
|
+
* extendedKeyUsages: ["1.3.6.1.5.5.7.3.2"],
|
|
78
|
+
* keyUsages: [
|
|
79
79
|
* "dataEncipherment",
|
|
80
80
|
* "digitalSignature",
|
|
81
81
|
* "keyCertSign",
|
|
82
82
|
* "keyEncipherment",
|
|
83
83
|
* ],
|
|
84
|
-
* subjectAlternativeNames:
|
|
84
|
+
* subjectAlternativeNames: {
|
|
85
85
|
* dnsNames: [
|
|
86
86
|
* "internal.contoso.com",
|
|
87
87
|
* "domain.hello.world",
|
|
88
88
|
* ],
|
|
89
|
-
* }
|
|
89
|
+
* },
|
|
90
90
|
* subject: `CN=${exampleApplication.name}`,
|
|
91
91
|
* validityInMonths: 12,
|
|
92
|
-
* }
|
|
93
|
-
* }
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
94
|
* });
|
|
95
95
|
* const exampleApplicationCertificate = new azuread.ApplicationCertificate("example", {
|
|
96
96
|
* applicationId: exampleApplication.id,
|
|
97
97
|
* type: "AsymmetricX509Cert",
|
|
98
98
|
* encoding: "hex",
|
|
99
99
|
* value: example.certificateData,
|
|
100
|
-
* endDate: example.
|
|
101
|
-
* startDate: example.
|
|
100
|
+
* endDate: example.certificateAttributes.apply(certificateAttributes => certificateAttributes[0].expires),
|
|
101
|
+
* startDate: example.certificateAttributes.apply(certificateAttributes => certificateAttributes[0].notBefore),
|
|
102
102
|
* });
|
|
103
103
|
* ```
|
|
104
104
|
*
|
|
@@ -51,60 +51,60 @@ const utilities = require("./utilities");
|
|
|
51
51
|
*
|
|
52
52
|
* ```typescript
|
|
53
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as azure from "@pulumi/azure";
|
|
54
55
|
* import * as azuread from "@pulumi/azuread";
|
|
55
|
-
* import * as azurerm from "@pulumi/azurerm";
|
|
56
56
|
*
|
|
57
57
|
* const exampleApplication = new azuread.Application("example", {displayName: "example"});
|
|
58
|
-
* const example = new
|
|
58
|
+
* const example = new azure.keyvault.Certificate("example", {
|
|
59
59
|
* name: "generated-cert",
|
|
60
60
|
* keyVaultId: exampleAzurermKeyVault.id,
|
|
61
|
-
* certificatePolicy:
|
|
62
|
-
* issuerParameters:
|
|
61
|
+
* certificatePolicy: {
|
|
62
|
+
* issuerParameters: {
|
|
63
63
|
* name: "Self",
|
|
64
|
-
* }
|
|
65
|
-
* keyProperties:
|
|
64
|
+
* },
|
|
65
|
+
* keyProperties: {
|
|
66
66
|
* exportable: true,
|
|
67
67
|
* keySize: 2048,
|
|
68
68
|
* keyType: "RSA",
|
|
69
69
|
* reuseKey: true,
|
|
70
|
-
* }
|
|
71
|
-
*
|
|
72
|
-
* action:
|
|
70
|
+
* },
|
|
71
|
+
* lifetimeActions: [{
|
|
72
|
+
* action: {
|
|
73
73
|
* actionType: "AutoRenew",
|
|
74
|
-
* }
|
|
75
|
-
* trigger:
|
|
74
|
+
* },
|
|
75
|
+
* trigger: {
|
|
76
76
|
* daysBeforeExpiry: 30,
|
|
77
|
-
* }
|
|
77
|
+
* },
|
|
78
78
|
* }],
|
|
79
|
-
* secretProperties:
|
|
79
|
+
* secretProperties: {
|
|
80
80
|
* contentType: "application/x-pkcs12",
|
|
81
|
-
* }
|
|
82
|
-
* x509CertificateProperties:
|
|
83
|
-
*
|
|
84
|
-
*
|
|
81
|
+
* },
|
|
82
|
+
* x509CertificateProperties: {
|
|
83
|
+
* extendedKeyUsages: ["1.3.6.1.5.5.7.3.2"],
|
|
84
|
+
* keyUsages: [
|
|
85
85
|
* "dataEncipherment",
|
|
86
86
|
* "digitalSignature",
|
|
87
87
|
* "keyCertSign",
|
|
88
88
|
* "keyEncipherment",
|
|
89
89
|
* ],
|
|
90
|
-
* subjectAlternativeNames:
|
|
90
|
+
* subjectAlternativeNames: {
|
|
91
91
|
* dnsNames: [
|
|
92
92
|
* "internal.contoso.com",
|
|
93
93
|
* "domain.hello.world",
|
|
94
94
|
* ],
|
|
95
|
-
* }
|
|
95
|
+
* },
|
|
96
96
|
* subject: `CN=${exampleApplication.name}`,
|
|
97
97
|
* validityInMonths: 12,
|
|
98
|
-
* }
|
|
99
|
-
* }
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
100
|
* });
|
|
101
101
|
* const exampleApplicationCertificate = new azuread.ApplicationCertificate("example", {
|
|
102
102
|
* applicationId: exampleApplication.id,
|
|
103
103
|
* type: "AsymmetricX509Cert",
|
|
104
104
|
* encoding: "hex",
|
|
105
105
|
* value: example.certificateData,
|
|
106
|
-
* endDate: example.
|
|
107
|
-
* startDate: example.
|
|
106
|
+
* endDate: example.certificateAttributes.apply(certificateAttributes => certificateAttributes[0].expires),
|
|
107
|
+
* startDate: example.certificateAttributes.apply(certificateAttributes => certificateAttributes[0].notBefore),
|
|
108
108
|
* });
|
|
109
109
|
* ```
|
|
110
110
|
*
|
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as random from "@pulumi/random";
|
|
9
9
|
*
|
|
10
10
|
* const example = new azuread.ApplicationRegistration("example", {displayName: "example"});
|
|
11
|
-
* const exampleAdminister = new random.
|
|
11
|
+
* const exampleAdminister = new random.RandomUuid("example_administer", {});
|
|
12
12
|
* const exampleApplicationPermissionScope = new azuread.ApplicationPermissionScope("example", {
|
|
13
13
|
* applicationId: test.id,
|
|
14
14
|
* scopeId: exampleAdminister.id,
|
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as random from "@pulumi/random";
|
|
15
15
|
*
|
|
16
16
|
* const example = new azuread.ApplicationRegistration("example", {displayName: "example"});
|
|
17
|
-
* const exampleAdminister = new random.
|
|
17
|
+
* const exampleAdminister = new random.RandomUuid("example_administer", {});
|
|
18
18
|
* const exampleApplicationPermissionScope = new azuread.ApplicationPermissionScope("example", {
|
|
19
19
|
* applicationId: test.id,
|
|
20
20
|
* scopeId: exampleAdminister.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azuread",
|
|
3
|
-
"version": "6.9.0-alpha.
|
|
3
|
+
"version": "6.9.0-alpha.1767900666",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Azure Active Directory (Azure AD) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "azuread",
|
|
26
|
-
"version": "6.9.0-alpha.
|
|
26
|
+
"version": "6.9.0-alpha.1767900666"
|
|
27
27
|
}
|
|
28
28
|
}
|