@pulumi/vault 7.10.0-alpha.1779435794 → 7.10.0

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.
@@ -42,10 +42,10 @@ import * as pulumi from "@pulumi/pulumi";
42
42
  * `,
43
43
  * });
44
44
  * // generally, these blocks would be in a different module
45
- * const creds = pulumi.all([aws.path, role.name]).apply(([path, name]) => vault.aws.getAccessCredentialsOutput({
46
- * backend: path,
47
- * role: name,
48
- * }));
45
+ * const creds = vault.aws.getAccessCredentialsOutput({
46
+ * backend: aws.path,
47
+ * role: role.name,
48
+ * });
49
49
  * ```
50
50
  */
51
51
  export declare function getAccessCredentials(args: GetAccessCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessCredentialsResult>;
@@ -190,10 +190,10 @@ export interface GetAccessCredentialsResult {
190
190
  * `,
191
191
  * });
192
192
  * // generally, these blocks would be in a different module
193
- * const creds = pulumi.all([aws.path, role.name]).apply(([path, name]) => vault.aws.getAccessCredentialsOutput({
194
- * backend: path,
195
- * role: name,
196
- * }));
193
+ * const creds = vault.aws.getAccessCredentialsOutput({
194
+ * backend: aws.path,
195
+ * role: role.name,
196
+ * });
197
197
  * ```
198
198
  */
199
199
  export declare function getAccessCredentialsOutput(args: GetAccessCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessCredentialsResult>;
@@ -71,10 +71,10 @@ const utilities = __importStar(require("../utilities"));
71
71
  * `,
72
72
  * });
73
73
  * // generally, these blocks would be in a different module
74
- * const creds = pulumi.all([aws.path, role.name]).apply(([path, name]) => vault.aws.getAccessCredentialsOutput({
75
- * backend: path,
76
- * role: name,
77
- * }));
74
+ * const creds = vault.aws.getAccessCredentialsOutput({
75
+ * backend: aws.path,
76
+ * role: role.name,
77
+ * });
78
78
  * ```
79
79
  */
80
80
  function getAccessCredentials(args, opts) {
@@ -133,10 +133,10 @@ exports.getAccessCredentials = getAccessCredentials;
133
133
  * `,
134
134
  * });
135
135
  * // generally, these blocks would be in a different module
136
- * const creds = pulumi.all([aws.path, role.name]).apply(([path, name]) => vault.aws.getAccessCredentialsOutput({
137
- * backend: path,
138
- * role: name,
139
- * }));
136
+ * const creds = vault.aws.getAccessCredentialsOutput({
137
+ * backend: aws.path,
138
+ * role: role.name,
139
+ * });
140
140
  * ```
141
141
  */
142
142
  function getAccessCredentialsOutput(args, opts) {
@@ -30,10 +30,10 @@ import * as pulumi from "@pulumi/pulumi";
30
30
  * type: "client",
31
31
  * policies: ["readonly"],
32
32
  * });
33
- * const token = pulumi.all([config.backend, test.role]).apply(([backend, role]) => vault.getNomadAccessTokenOutput({
34
- * backend: backend,
35
- * role: role,
36
- * }));
33
+ * const token = vault.getNomadAccessTokenOutput({
34
+ * backend: config.backend,
35
+ * role: test.role,
36
+ * });
37
37
  * ```
38
38
  */
39
39
  export declare function getNomadAccessToken(args: GetNomadAccessTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetNomadAccessTokenResult>;
@@ -111,10 +111,10 @@ export interface GetNomadAccessTokenResult {
111
111
  * type: "client",
112
112
  * policies: ["readonly"],
113
113
  * });
114
- * const token = pulumi.all([config.backend, test.role]).apply(([backend, role]) => vault.getNomadAccessTokenOutput({
115
- * backend: backend,
116
- * role: role,
117
- * }));
114
+ * const token = vault.getNomadAccessTokenOutput({
115
+ * backend: config.backend,
116
+ * role: test.role,
117
+ * });
118
118
  * ```
119
119
  */
120
120
  export declare function getNomadAccessTokenOutput(args: GetNomadAccessTokenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNomadAccessTokenResult>;
@@ -59,10 +59,10 @@ const utilities = __importStar(require("./utilities"));
59
59
  * type: "client",
60
60
  * policies: ["readonly"],
61
61
  * });
62
- * const token = pulumi.all([config.backend, test.role]).apply(([backend, role]) => vault.getNomadAccessTokenOutput({
63
- * backend: backend,
64
- * role: role,
65
- * }));
62
+ * const token = vault.getNomadAccessTokenOutput({
63
+ * backend: config.backend,
64
+ * role: test.role,
65
+ * });
66
66
  * ```
67
67
  */
68
68
  function getNomadAccessToken(args, opts) {
@@ -105,10 +105,10 @@ exports.getNomadAccessToken = getNomadAccessToken;
105
105
  * type: "client",
106
106
  * policies: ["readonly"],
107
107
  * });
108
- * const token = pulumi.all([config.backend, test.role]).apply(([backend, role]) => vault.getNomadAccessTokenOutput({
109
- * backend: backend,
110
- * role: role,
111
- * }));
108
+ * const token = vault.getNomadAccessTokenOutput({
109
+ * backend: config.backend,
110
+ * role: test.role,
111
+ * });
112
112
  * ```
113
113
  */
114
114
  function getNomadAccessTokenOutput(args, opts) {
@@ -51,10 +51,10 @@ import * as pulumi from "@pulumi/pulumi";
51
51
  * const secrets = vault.kv.getSecretsListV2Output({
52
52
  * mount: kvv2.path,
53
53
  * });
54
- * const nestedSecrets = kvv2.path.apply(path => vault.kv.getSecretsListV2Output({
55
- * mount: path,
54
+ * const nestedSecrets = vault.kv.getSecretsListV2Output({
55
+ * mount: kvv2.path,
56
56
  * name: test2.name,
57
- * }));
57
+ * });
58
58
  * ```
59
59
  *
60
60
  * ## Required Vault Capabilities
@@ -157,10 +157,10 @@ export interface GetSecretsListV2Result {
157
157
  * const secrets = vault.kv.getSecretsListV2Output({
158
158
  * mount: kvv2.path,
159
159
  * });
160
- * const nestedSecrets = kvv2.path.apply(path => vault.kv.getSecretsListV2Output({
161
- * mount: path,
160
+ * const nestedSecrets = vault.kv.getSecretsListV2Output({
161
+ * mount: kvv2.path,
162
162
  * name: test2.name,
163
- * }));
163
+ * });
164
164
  * ```
165
165
  *
166
166
  * ## Required Vault Capabilities
@@ -80,10 +80,10 @@ const utilities = __importStar(require("../utilities"));
80
80
  * const secrets = vault.kv.getSecretsListV2Output({
81
81
  * mount: kvv2.path,
82
82
  * });
83
- * const nestedSecrets = kvv2.path.apply(path => vault.kv.getSecretsListV2Output({
84
- * mount: path,
83
+ * const nestedSecrets = vault.kv.getSecretsListV2Output({
84
+ * mount: kvv2.path,
85
85
  * name: test2.name,
86
- * }));
86
+ * });
87
87
  * ```
88
88
  *
89
89
  * ## Required Vault Capabilities
@@ -151,10 +151,10 @@ exports.getSecretsListV2 = getSecretsListV2;
151
151
  * const secrets = vault.kv.getSecretsListV2Output({
152
152
  * mount: kvv2.path,
153
153
  * });
154
- * const nestedSecrets = kvv2.path.apply(path => vault.kv.getSecretsListV2Output({
155
- * mount: path,
154
+ * const nestedSecrets = vault.kv.getSecretsListV2Output({
155
+ * mount: kvv2.path,
156
156
  * name: test2.name,
157
- * }));
157
+ * });
158
158
  * ```
159
159
  *
160
160
  * ## Required Vault Capabilities
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/vault",
3
- "version": "7.10.0-alpha.1779435794",
3
+ "version": "7.10.0",
4
4
  "description": "A Pulumi package for creating and managing HashiCorp Vault cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "vault",
26
- "version": "7.10.0-alpha.1779435794"
26
+ "version": "7.10.0"
27
27
  }
28
28
  }
@@ -49,10 +49,10 @@ import * as pulumi from "@pulumi/pulumi";
49
49
  * minSecondsRemaining: 60,
50
50
  * certMetadata: "dGVzdCBtZXRhZGF0YQ==",
51
51
  * });
52
- * const test = testSecretBackendCert.serialNumber.apply(serialNumber => vault.pkisecret.getBackendCertMetadataOutput({
52
+ * const test = vault.pkisecret.getBackendCertMetadataOutput({
53
53
  * path: test_root.path,
54
- * serial: serialNumber,
55
- * }));
54
+ * serial: testSecretBackendCert.serialNumber,
55
+ * });
56
56
  * ```
57
57
  */
58
58
  export declare function getBackendCertMetadata(args: GetBackendCertMetadataArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendCertMetadataResult>;
@@ -159,10 +159,10 @@ export interface GetBackendCertMetadataResult {
159
159
  * minSecondsRemaining: 60,
160
160
  * certMetadata: "dGVzdCBtZXRhZGF0YQ==",
161
161
  * });
162
- * const test = testSecretBackendCert.serialNumber.apply(serialNumber => vault.pkisecret.getBackendCertMetadataOutput({
162
+ * const test = vault.pkisecret.getBackendCertMetadataOutput({
163
163
  * path: test_root.path,
164
- * serial: serialNumber,
165
- * }));
164
+ * serial: testSecretBackendCert.serialNumber,
165
+ * });
166
166
  * ```
167
167
  */
168
168
  export declare function getBackendCertMetadataOutput(args: GetBackendCertMetadataOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackendCertMetadataResult>;
@@ -78,10 +78,10 @@ const utilities = __importStar(require("../utilities"));
78
78
  * minSecondsRemaining: 60,
79
79
  * certMetadata: "dGVzdCBtZXRhZGF0YQ==",
80
80
  * });
81
- * const test = testSecretBackendCert.serialNumber.apply(serialNumber => vault.pkisecret.getBackendCertMetadataOutput({
81
+ * const test = vault.pkisecret.getBackendCertMetadataOutput({
82
82
  * path: test_root.path,
83
- * serial: serialNumber,
84
- * }));
83
+ * serial: testSecretBackendCert.serialNumber,
84
+ * });
85
85
  * ```
86
86
  */
87
87
  function getBackendCertMetadata(args, opts) {
@@ -143,10 +143,10 @@ exports.getBackendCertMetadata = getBackendCertMetadata;
143
143
  * minSecondsRemaining: 60,
144
144
  * certMetadata: "dGVzdCBtZXRhZGF0YQ==",
145
145
  * });
146
- * const test = testSecretBackendCert.serialNumber.apply(serialNumber => vault.pkisecret.getBackendCertMetadataOutput({
146
+ * const test = vault.pkisecret.getBackendCertMetadataOutput({
147
147
  * path: test_root.path,
148
- * serial: serialNumber,
149
- * }));
148
+ * serial: testSecretBackendCert.serialNumber,
149
+ * });
150
150
  * ```
151
151
  */
152
152
  function getBackendCertMetadataOutput(args, opts) {
@@ -28,10 +28,10 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * ttl: "86400",
29
29
  * issuerName: "example",
30
30
  * });
31
- * const example = root.issuerId.apply(issuerId => vault.pkisecret.getBackendIssuerOutput({
31
+ * const example = vault.pkisecret.getBackendIssuerOutput({
32
32
  * backend: root.path,
33
- * issuerRef: issuerId,
34
- * }));
33
+ * issuerRef: root.issuerId,
34
+ * });
35
35
  * ```
36
36
  */
37
37
  export declare function getBackendIssuer(args: GetBackendIssuerArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendIssuerResult>;
@@ -184,10 +184,10 @@ export interface GetBackendIssuerResult {
184
184
  * ttl: "86400",
185
185
  * issuerName: "example",
186
186
  * });
187
- * const example = root.issuerId.apply(issuerId => vault.pkisecret.getBackendIssuerOutput({
187
+ * const example = vault.pkisecret.getBackendIssuerOutput({
188
188
  * backend: root.path,
189
- * issuerRef: issuerId,
190
- * }));
189
+ * issuerRef: root.issuerId,
190
+ * });
191
191
  * ```
192
192
  */
193
193
  export declare function getBackendIssuerOutput(args: GetBackendIssuerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackendIssuerResult>;
@@ -57,10 +57,10 @@ const utilities = __importStar(require("../utilities"));
57
57
  * ttl: "86400",
58
58
  * issuerName: "example",
59
59
  * });
60
- * const example = root.issuerId.apply(issuerId => vault.pkisecret.getBackendIssuerOutput({
60
+ * const example = vault.pkisecret.getBackendIssuerOutput({
61
61
  * backend: root.path,
62
- * issuerRef: issuerId,
63
- * }));
62
+ * issuerRef: root.issuerId,
63
+ * });
64
64
  * ```
65
65
  */
66
66
  function getBackendIssuer(args, opts) {
@@ -105,10 +105,10 @@ exports.getBackendIssuer = getBackendIssuer;
105
105
  * ttl: "86400",
106
106
  * issuerName: "example",
107
107
  * });
108
- * const example = root.issuerId.apply(issuerId => vault.pkisecret.getBackendIssuerOutput({
108
+ * const example = vault.pkisecret.getBackendIssuerOutput({
109
109
  * backend: root.path,
110
- * issuerRef: issuerId,
111
- * }));
110
+ * issuerRef: root.issuerId,
111
+ * });
112
112
  * ```
113
113
  */
114
114
  function getBackendIssuerOutput(args, opts) {
@@ -28,10 +28,10 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  * keyType: "rsa",
29
29
  * keyBits: 4096,
30
30
  * });
31
- * const example = key.keyId.apply(keyId => vault.pkisecret.getBackendKeyOutput({
31
+ * const example = vault.pkisecret.getBackendKeyOutput({
32
32
  * backend: keyVaultMount.path,
33
- * keyRef: keyId,
34
- * }));
33
+ * keyRef: key.keyId,
34
+ * });
35
35
  * ```
36
36
  */
37
37
  export declare function getBackendKey(args: GetBackendKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendKeyResult>;
@@ -109,10 +109,10 @@ export interface GetBackendKeyResult {
109
109
  * keyType: "rsa",
110
110
  * keyBits: 4096,
111
111
  * });
112
- * const example = key.keyId.apply(keyId => vault.pkisecret.getBackendKeyOutput({
112
+ * const example = vault.pkisecret.getBackendKeyOutput({
113
113
  * backend: keyVaultMount.path,
114
- * keyRef: keyId,
115
- * }));
114
+ * keyRef: key.keyId,
115
+ * });
116
116
  * ```
117
117
  */
118
118
  export declare function getBackendKeyOutput(args: GetBackendKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackendKeyResult>;
@@ -57,10 +57,10 @@ const utilities = __importStar(require("../utilities"));
57
57
  * keyType: "rsa",
58
58
  * keyBits: 4096,
59
59
  * });
60
- * const example = key.keyId.apply(keyId => vault.pkisecret.getBackendKeyOutput({
60
+ * const example = vault.pkisecret.getBackendKeyOutput({
61
61
  * backend: keyVaultMount.path,
62
- * keyRef: keyId,
63
- * }));
62
+ * keyRef: key.keyId,
63
+ * });
64
64
  * ```
65
65
  */
66
66
  function getBackendKey(args, opts) {
@@ -101,10 +101,10 @@ exports.getBackendKey = getBackendKey;
101
101
  * keyType: "rsa",
102
102
  * keyBits: 4096,
103
103
  * });
104
- * const example = key.keyId.apply(keyId => vault.pkisecret.getBackendKeyOutput({
104
+ * const example = vault.pkisecret.getBackendKeyOutput({
105
105
  * backend: keyVaultMount.path,
106
- * keyRef: keyId,
107
- * }));
106
+ * keyRef: key.keyId,
107
+ * });
108
108
  * ```
109
109
  */
110
110
  function getBackendKeyOutput(args, opts) {