@pulumi/vault 7.11.0-alpha.1784706233 → 7.11.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.
- package/activationFlags.d.ts +88 -0
- package/activationFlags.d.ts.map +1 -0
- package/activationFlags.js +111 -0
- package/activationFlags.js.map +1 -0
- package/agentRegistration.d.ts +204 -0
- package/agentRegistration.d.ts.map +1 -0
- package/agentRegistration.js +145 -0
- package/agentRegistration.js.map +1 -0
- package/alicloud/index.d.ts +6 -0
- package/alicloud/index.d.ts.map +1 -1
- package/alicloud/index.js +11 -1
- package/alicloud/index.js.map +1 -1
- package/alicloud/secretBackend.d.ts +169 -0
- package/alicloud/secretBackend.d.ts.map +1 -0
- package/alicloud/secretBackend.js +160 -0
- package/alicloud/secretBackend.js.map +1 -0
- package/alicloud/secretBackendRole.d.ts +331 -0
- package/alicloud/secretBackendRole.d.ts.map +1 -0
- package/alicloud/secretBackendRole.js +246 -0
- package/alicloud/secretBackendRole.js.map +1 -0
- package/azure/index.d.ts +3 -0
- package/azure/index.d.ts.map +1 -1
- package/azure/index.js +6 -1
- package/azure/index.js.map +1 -1
- package/azure/secretBackendStaticRole.d.ts +259 -0
- package/azure/secretBackendStaticRole.d.ts.map +1 -0
- package/azure/secretBackendStaticRole.js +142 -0
- package/azure/secretBackendStaticRole.js.map +1 -0
- package/cf/authBackendConfig.d.ts +286 -0
- package/cf/authBackendConfig.d.ts.map +1 -0
- package/cf/authBackendConfig.js +169 -0
- package/cf/authBackendConfig.js.map +1 -0
- package/cf/authBackendRole.d.ts +340 -0
- package/cf/authBackendRole.d.ts.map +1 -0
- package/cf/authBackendRole.js +157 -0
- package/cf/authBackendRole.js.map +1 -0
- package/cf/index.d.ts +7 -0
- package/cf/index.d.ts.map +1 -0
- package/cf/index.js +50 -0
- package/cf/index.js.map +1 -0
- package/config/controlGroup.d.ts +92 -0
- package/config/controlGroup.d.ts.map +1 -0
- package/config/controlGroup.js +99 -0
- package/config/controlGroup.js.map +1 -0
- package/config/groupPolicyApplication.d.ts +157 -0
- package/config/groupPolicyApplication.d.ts.map +1 -0
- package/config/groupPolicyApplication.js +167 -0
- package/config/groupPolicyApplication.js.map +1 -0
- package/config/index.d.ts +12 -0
- package/config/index.d.ts.map +1 -1
- package/config/index.js +21 -1
- package/config/index.js.map +1 -1
- package/config/uiDefaultAuth.d.ts +231 -0
- package/config/uiDefaultAuth.d.ts.map +1 -0
- package/config/uiDefaultAuth.js +207 -0
- package/config/uiDefaultAuth.js.map +1 -0
- package/config/uiHeader.d.ts +225 -0
- package/config/uiHeader.d.ts.map +1 -0
- package/config/uiHeader.js +229 -0
- package/config/uiHeader.js.map +1 -0
- package/database/secretsMount.d.ts +54 -54
- package/generic/endpoint.d.ts +52 -52
- package/getActivationFlags.d.ts +69 -0
- package/getActivationFlags.d.ts.map +1 -0
- package/getActivationFlags.js +89 -0
- package/getActivationFlags.js.map +1 -0
- package/getPluginRuntimes.d.ts +111 -0
- package/getPluginRuntimes.d.ts.map +1 -0
- package/getPluginRuntimes.js +103 -0
- package/getPluginRuntimes.js.map +1 -0
- package/getSysConfigCors.d.ts +123 -0
- package/getSysConfigCors.d.ts.map +1 -0
- package/getSysConfigCors.js +139 -0
- package/getSysConfigCors.js.map +1 -0
- package/index.d.ts +43 -1
- package/index.d.ts.map +1 -1
- package/index.js +68 -2
- package/index.js.map +1 -1
- package/keymgmt/awsKms.d.ts +219 -0
- package/keymgmt/awsKms.d.ts.map +1 -0
- package/keymgmt/awsKms.js +170 -0
- package/keymgmt/awsKms.js.map +1 -0
- package/keymgmt/azureKms.d.ts +211 -0
- package/keymgmt/azureKms.d.ts.map +1 -0
- package/keymgmt/azureKms.js +162 -0
- package/keymgmt/azureKms.js.map +1 -0
- package/keymgmt/distributeKey.d.ts +294 -0
- package/keymgmt/distributeKey.d.ts.map +1 -0
- package/keymgmt/distributeKey.js +251 -0
- package/keymgmt/distributeKey.js.map +1 -0
- package/keymgmt/gcpKms.d.ts +227 -0
- package/keymgmt/gcpKms.d.ts.map +1 -0
- package/keymgmt/gcpKms.js +178 -0
- package/keymgmt/gcpKms.js.map +1 -0
- package/keymgmt/index.d.ts +22 -0
- package/keymgmt/index.d.ts.map +1 -0
- package/keymgmt/index.js +75 -0
- package/keymgmt/index.js.map +1 -0
- package/keymgmt/key.d.ts +275 -0
- package/keymgmt/key.d.ts.map +1 -0
- package/keymgmt/key.js +187 -0
- package/keymgmt/key.js.map +1 -0
- package/keymgmt/keyRotate.d.ts +146 -0
- package/keymgmt/keyRotate.d.ts.map +1 -0
- package/keymgmt/keyRotate.js +128 -0
- package/keymgmt/keyRotate.js.map +1 -0
- package/keymgmt/replicateKey.d.ts +176 -0
- package/keymgmt/replicateKey.d.ts.map +1 -0
- package/keymgmt/replicateKey.js +160 -0
- package/keymgmt/replicateKey.js.map +1 -0
- package/kmip/index.d.ts +9 -0
- package/kmip/index.d.ts.map +1 -1
- package/kmip/index.js +16 -1
- package/kmip/index.js.map +1 -1
- package/kmip/secretCaGenerated.d.ts +200 -0
- package/kmip/secretCaGenerated.d.ts.map +1 -0
- package/kmip/secretCaGenerated.js +164 -0
- package/kmip/secretCaGenerated.js.map +1 -0
- package/kmip/secretCaImported.d.ts +233 -0
- package/kmip/secretCaImported.d.ts.map +1 -0
- package/kmip/secretCaImported.js +186 -0
- package/kmip/secretCaImported.js.map +1 -0
- package/kmip/secretListener.d.ts +283 -0
- package/kmip/secretListener.d.ts.map +1 -0
- package/kmip/secretListener.js +196 -0
- package/kmip/secretListener.js.map +1 -0
- package/oauthResourceServerConfigProfile.d.ts +417 -0
- package/oauthResourceServerConfigProfile.d.ts.map +1 -0
- package/oauthResourceServerConfigProfile.js +286 -0
- package/oauthResourceServerConfigProfile.js.map +1 -0
- package/os/index.d.ts +10 -0
- package/os/index.d.ts.map +1 -0
- package/os/index.js +55 -0
- package/os/index.js.map +1 -0
- package/os/secretBackend.d.ts +174 -0
- package/os/secretBackend.d.ts.map +1 -0
- package/os/secretBackend.js +161 -0
- package/os/secretBackend.js.map +1 -0
- package/os/secretBackendAccount.d.ts +431 -0
- package/os/secretBackendAccount.d.ts.map +1 -0
- package/os/secretBackendAccount.js +308 -0
- package/os/secretBackendAccount.js.map +1 -0
- package/os/secretBackendHost.d.ts +321 -0
- package/os/secretBackendHost.d.ts.map +1 -0
- package/os/secretBackendHost.js +225 -0
- package/os/secretBackendHost.js.map +1 -0
- package/package.json +2 -2
- package/passwordPolicy.d.ts +123 -0
- package/passwordPolicy.d.ts.map +1 -0
- package/passwordPolicy.js +110 -0
- package/passwordPolicy.js.map +1 -0
- package/pkiexternalca/getSecretBackendOrderChallenge.d.ts +366 -0
- package/pkiexternalca/getSecretBackendOrderChallenge.d.ts.map +1 -0
- package/pkiexternalca/getSecretBackendOrderChallenge.js +313 -0
- package/pkiexternalca/getSecretBackendOrderChallenge.js.map +1 -0
- package/pkiexternalca/index.d.ts +19 -0
- package/pkiexternalca/index.d.ts.map +1 -0
- package/pkiexternalca/index.js +68 -0
- package/pkiexternalca/index.js.map +1 -0
- package/pkiexternalca/secretBackendAcmeAccount.d.ts +218 -0
- package/pkiexternalca/secretBackendAcmeAccount.d.ts.map +1 -0
- package/pkiexternalca/secretBackendAcmeAccount.js +151 -0
- package/pkiexternalca/secretBackendAcmeAccount.js.map +1 -0
- package/pkiexternalca/secretBackendOrder.d.ts +263 -0
- package/pkiexternalca/secretBackendOrder.d.ts.map +1 -0
- package/pkiexternalca/secretBackendOrder.js +185 -0
- package/pkiexternalca/secretBackendOrder.js.map +1 -0
- package/pkiexternalca/secretBackendOrderCertificate.d.ts +241 -0
- package/pkiexternalca/secretBackendOrderCertificate.d.ts.map +1 -0
- package/pkiexternalca/secretBackendOrderCertificate.js +212 -0
- package/pkiexternalca/secretBackendOrderCertificate.js.map +1 -0
- package/pkiexternalca/secretBackendOrderChallengeFulfilled.d.ts +228 -0
- package/pkiexternalca/secretBackendOrderChallengeFulfilled.d.ts.map +1 -0
- package/pkiexternalca/secretBackendOrderChallengeFulfilled.js +207 -0
- package/pkiexternalca/secretBackendOrderChallengeFulfilled.js.map +1 -0
- package/pkiexternalca/secretBackendRole.d.ts +242 -0
- package/pkiexternalca/secretBackendRole.d.ts.map +1 -0
- package/pkiexternalca/secretBackendRole.js +160 -0
- package/pkiexternalca/secretBackendRole.js.map +1 -0
- package/pkisecret/backendConfigScep.d.ts +0 -3
- package/pkisecret/backendConfigScep.d.ts.map +1 -1
- package/pkisecret/backendConfigScep.js.map +1 -1
- package/pkisecret/secretBackendCert.d.ts +3 -3
- package/pkisecret/secretBackendRootCert.d.ts +3 -3
- package/pkisecret/secretBackendSign.d.ts +3 -3
- package/pluginRuntime.d.ts +236 -0
- package/pluginRuntime.d.ts.map +1 -0
- package/pluginRuntime.js +162 -0
- package/pluginRuntime.js.map +1 -0
- package/policy.d.ts +19 -0
- package/policy.d.ts.map +1 -1
- package/policy.js +3 -0
- package/policy.js.map +1 -1
- package/quotaConfig.d.ts +154 -0
- package/quotaConfig.d.ts.map +1 -0
- package/quotaConfig.js +125 -0
- package/quotaConfig.js.map +1 -0
- package/radius/authBackend.d.ts +362 -0
- package/radius/authBackend.d.ts.map +1 -0
- package/radius/authBackend.js +194 -0
- package/radius/authBackend.js.map +1 -0
- package/radius/authBackendUser.d.ts +131 -0
- package/radius/authBackendUser.d.ts.map +1 -0
- package/radius/authBackendUser.js +115 -0
- package/radius/authBackendUser.js.map +1 -0
- package/radius/index.d.ts +7 -0
- package/radius/index.d.ts.map +1 -0
- package/radius/index.js +50 -0
- package/radius/index.js.map +1 -0
- package/raftSnapshotAgentConfig.d.ts +43 -8
- package/raftSnapshotAgentConfig.d.ts.map +1 -1
- package/raftSnapshotAgentConfig.js +12 -4
- package/raftSnapshotAgentConfig.js.map +1 -1
- package/rotationPolicy.d.ts +120 -0
- package/rotationPolicy.d.ts.map +1 -0
- package/rotationPolicy.js +110 -0
- package/rotationPolicy.js.map +1 -0
- package/secrets/syncGhDestination.d.ts +3 -3
- package/spiffe/authBackendConfig.d.ts +246 -0
- package/spiffe/authBackendConfig.d.ts.map +1 -0
- package/spiffe/authBackendConfig.js +142 -0
- package/spiffe/authBackendConfig.js.map +1 -0
- package/spiffe/authBackendRole.d.ts +295 -0
- package/spiffe/authBackendRole.d.ts.map +1 -0
- package/spiffe/authBackendRole.js +160 -0
- package/spiffe/authBackendRole.js.map +1 -0
- package/spiffe/index.d.ts +13 -0
- package/spiffe/index.d.ts.map +1 -0
- package/spiffe/index.js +60 -0
- package/spiffe/index.js.map +1 -0
- package/spiffe/secretBackendConfig.d.ts +189 -0
- package/spiffe/secretBackendConfig.d.ts.map +1 -0
- package/spiffe/secretBackendConfig.js +121 -0
- package/spiffe/secretBackendConfig.js.map +1 -0
- package/spiffe/secretBackendRole.d.ts +177 -0
- package/spiffe/secretBackendRole.d.ts.map +1 -0
- package/spiffe/secretBackendRole.js +132 -0
- package/spiffe/secretBackendRole.js.map +1 -0
- package/ssh/secretBackendRole.d.ts +3 -3
- package/sysConfigCors.d.ts +176 -0
- package/sysConfigCors.d.ts.map +1 -0
- package/sysConfigCors.js +156 -0
- package/sysConfigCors.js.map +1 -0
- package/transform/transformation.d.ts +69 -0
- package/transform/transformation.d.ts.map +1 -1
- package/transform/transformation.js +27 -0
- package/transform/transformation.js.map +1 -1
- package/types/input.d.ts +54 -2
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +84 -2
- package/types/output.d.ts.map +1 -1
- package/userpassAuthBackendUser.d.ts +370 -0
- package/userpassAuthBackendUser.d.ts.map +1 -0
- package/userpassAuthBackendUser.js +199 -0
- package/userpassAuthBackendUser.js.map +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Activates a single activation flag in Vault.
|
|
4
|
+
*
|
|
5
|
+
* > **Important** Activation flags require Vault 1.16 or later.
|
|
6
|
+
*
|
|
7
|
+
* > **Important** Activation flags are available only in Vault Enterprise.
|
|
8
|
+
*
|
|
9
|
+
* > **Important** The activation flags endpoint is root-namespace-only. This resource does not accept a `namespace` argument.
|
|
10
|
+
*
|
|
11
|
+
* > **Important** Vault exposes activation for individual flags at `PUT /sys/activation-flags/:feature/activate`, but does not expose a public deactivation API.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### Activate a Feature
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as vault from "@pulumi/vault";
|
|
20
|
+
*
|
|
21
|
+
* const example = new vault.ActivationFlags("example", {feature: "secrets-sync"});
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Notes
|
|
25
|
+
*
|
|
26
|
+
* * Each `vault.ActivationFlags` resource activates exactly one feature by calling `PUT /sys/activation-flags/:feature/activate`.
|
|
27
|
+
* * Destroying this resource removes it from Terraform state only. It does not deactivate the flag in Vault.
|
|
28
|
+
* * Activation flag names must exactly match the feature keys returned by `GET /sys/activation-flags`.
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* The activation flags resource can be imported using the feature key, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import vault:index/activationFlags:ActivationFlags example secret_sync
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class ActivationFlags extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing ActivationFlags resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActivationFlagsState, opts?: pulumi.CustomResourceOptions): ActivationFlags;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of ActivationFlags. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is ActivationFlags;
|
|
54
|
+
/**
|
|
55
|
+
* Exact activation flag key to activate.
|
|
56
|
+
* The value must match a feature name returned by `GET /sys/activation-flags`.
|
|
57
|
+
*/
|
|
58
|
+
readonly feature: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a ActivationFlags resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: ActivationFlagsArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering ActivationFlags resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface ActivationFlagsState {
|
|
72
|
+
/**
|
|
73
|
+
* Exact activation flag key to activate.
|
|
74
|
+
* The value must match a feature name returned by `GET /sys/activation-flags`.
|
|
75
|
+
*/
|
|
76
|
+
feature?: pulumi.Input<string | undefined>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The set of arguments for constructing a ActivationFlags resource.
|
|
80
|
+
*/
|
|
81
|
+
export interface ActivationFlagsArgs {
|
|
82
|
+
/**
|
|
83
|
+
* Exact activation flag key to activate.
|
|
84
|
+
* The value must match a feature name returned by `GET /sys/activation-flags`.
|
|
85
|
+
*/
|
|
86
|
+
feature: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=activationFlags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activationFlags.d.ts","sourceRoot":"","sources":["../activationFlags.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOhJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;;OAGG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEvD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAiB3F;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ActivationFlags = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Activates a single activation flag in Vault.
|
|
33
|
+
*
|
|
34
|
+
* > **Important** Activation flags require Vault 1.16 or later.
|
|
35
|
+
*
|
|
36
|
+
* > **Important** Activation flags are available only in Vault Enterprise.
|
|
37
|
+
*
|
|
38
|
+
* > **Important** The activation flags endpoint is root-namespace-only. This resource does not accept a `namespace` argument.
|
|
39
|
+
*
|
|
40
|
+
* > **Important** Vault exposes activation for individual flags at `PUT /sys/activation-flags/:feature/activate`, but does not expose a public deactivation API.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ### Activate a Feature
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as vault from "@pulumi/vault";
|
|
49
|
+
*
|
|
50
|
+
* const example = new vault.ActivationFlags("example", {feature: "secrets-sync"});
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Notes
|
|
54
|
+
*
|
|
55
|
+
* * Each `vault.ActivationFlags` resource activates exactly one feature by calling `PUT /sys/activation-flags/:feature/activate`.
|
|
56
|
+
* * Destroying this resource removes it from Terraform state only. It does not deactivate the flag in Vault.
|
|
57
|
+
* * Activation flag names must exactly match the feature keys returned by `GET /sys/activation-flags`.
|
|
58
|
+
*
|
|
59
|
+
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* The activation flags resource can be imported using the feature key, e.g.
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import vault:index/activationFlags:ActivationFlags example secret_sync
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
class ActivationFlags extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing ActivationFlags resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new ActivationFlags(name, state, { ...opts, id: id });
|
|
79
|
+
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
static __pulumiType = 'vault:index/activationFlags:ActivationFlags';
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of ActivationFlags. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === ActivationFlags.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
constructor(name, argsOrState, opts) {
|
|
93
|
+
let resourceInputs = {};
|
|
94
|
+
opts = opts || {};
|
|
95
|
+
if (opts.id) {
|
|
96
|
+
const state = argsOrState;
|
|
97
|
+
resourceInputs["feature"] = state?.feature;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
const args = argsOrState;
|
|
101
|
+
if (args?.feature === undefined && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'feature'");
|
|
103
|
+
}
|
|
104
|
+
resourceInputs["feature"] = args?.feature;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(ActivationFlags.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ActivationFlags = ActivationFlags;
|
|
111
|
+
//# sourceMappingURL=activationFlags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activationFlags.js","sourceRoot":"","sources":["../activationFlags.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6CAA6C,CAAC;IAEpF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAgBD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAzDL,0CA0DC"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* > **Preview feature:** This feature is currently available as a preview and is possibly incomplete and subject to change. **We strongly discourage using preview or beta features with production workflows.**
|
|
4
|
+
*
|
|
5
|
+
* Manages Agent Registry records in Vault Enterprise. An Agent Registry record allows you to register Vault agents with specific identity entities and configure ceiling policies that limit the maximum permissions an agent can obtain.
|
|
6
|
+
*
|
|
7
|
+
* > **Important** This resource is available only in Vault Enterprise and requires Vault 2.0.1 or later.
|
|
8
|
+
*
|
|
9
|
+
* ## Notes
|
|
10
|
+
*
|
|
11
|
+
* * **Mount:** The Agent Registry is mounted by default. There is no need to take action to enable it.
|
|
12
|
+
*
|
|
13
|
+
* * **Ceiling Policies**: Ceiling policies define the maximum permissions an agent can obtain. Even if the associated entity or token policies grant broader permissions, the agent will be limited to the intersection of all applicable policies and the ceiling policies.
|
|
14
|
+
*
|
|
15
|
+
* * **Default Ceiling Policy**: By default, Vault applies a default ceiling policy to Agent Registry records. This policy is automatically filtered out when reading the resource state, so only user-specified ceiling policies appear in the `ceilingPolicies` attribute.
|
|
16
|
+
*
|
|
17
|
+
* * **Entity Requirement**: The identity entity specified in `entityId` must exist before you create the Agent Registry record. The entity defines the base identity for the agent.
|
|
18
|
+
*
|
|
19
|
+
* * **Display Name Uniqueness**: The `displayName` must be unique within the namespace. Attempting to create multiple Agent Registry records with the same display name will result in an error.
|
|
20
|
+
*
|
|
21
|
+
* * **Immutable Display Name**: Changing the `displayName` requires destroying and recreating the Agent Registry record, as it serves as the unique identifier.
|
|
22
|
+
*
|
|
23
|
+
* * **Enterprise Feature**: Agent Registry records are only available in Vault Enterprise. Attempting to use this resource with Vault Community Edition will result in an error.
|
|
24
|
+
*
|
|
25
|
+
* * **Version Requirement**: This resource requires Vault 2.0.1 or later.
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* You can import Agent Registry records using either their `displayName` or their
|
|
30
|
+
* `id` (UUID). The provider auto-detects which you supplied: if the import string
|
|
31
|
+
* parses as a UUID, the provider reads the record by `id`; otherwise it reads the
|
|
32
|
+
* record by `displayName`.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import vault:index/agentRegistration:AgentRegistration example my-agent
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* To import a record by `id`:
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import vault:index/agentRegistration:AgentRegistration example 550e8400-e29b-41d4-a716-446655440000
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* The import string does not encode the namespace. To import a record from a
|
|
45
|
+
* namespace, set the `TERRAFORM_VAULT_NAMESPACE_IMPORT` environment variable:
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ TERRAFORM_VAULT_NAMESPACE_IMPORT=application terraform import vault_agent_registration.example my-agent
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class AgentRegistration extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing AgentRegistration resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentRegistrationState, opts?: pulumi.CustomResourceOptions): AgentRegistration;
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of AgentRegistration. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj: any): obj is AgentRegistration;
|
|
67
|
+
/**
|
|
68
|
+
* A list of policy names that define the maximum permissions this agent can obtain. These policies act as a ceiling - the agent cannot obtain permissions beyond what these policies allow, even if the entity or token policies would grant more permissions. By default, Vault applies a default ceiling policy unless `noDefaultCeilingPolicy` is set to `true`.
|
|
69
|
+
*/
|
|
70
|
+
readonly ceilingPolicies: pulumi.Output<string[]>;
|
|
71
|
+
/**
|
|
72
|
+
* The timestamp when the Agent Registry record was created, in RFC3339 format.
|
|
73
|
+
*/
|
|
74
|
+
readonly creationTime: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* A human-readable description of the Agent Registry record. This field is for documentation purposes and does not affect the agent's behavior.
|
|
77
|
+
*/
|
|
78
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The display name for the Agent Registry record. This field must be unique per Vault namespace. Within Terraform, this is used as the unique identifier for the agent. Changing this on an existing resource will force the resource to be deleted from Vault and a new resource to be created in Vault.
|
|
81
|
+
*/
|
|
82
|
+
readonly displayName: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the identity entity to associate with this Agent Registry record. The entity must exist before you create the Agent Registry record.
|
|
85
|
+
*/
|
|
86
|
+
readonly entityId: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The timestamp when the Agent Registry record was last updated, in RFC3339 format.
|
|
89
|
+
*/
|
|
90
|
+
readonly lastUpdatedTime: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The namespace to provision the resource in.
|
|
93
|
+
* The value should not contain leading or trailing forward slashes.
|
|
94
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
95
|
+
*/
|
|
96
|
+
readonly namespace: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* When set to `true`, prevents Vault from applying the default ceiling policy to this agent. This allows you to have complete control over the agent's ceiling policies. Defaults to `false`.
|
|
99
|
+
*/
|
|
100
|
+
readonly noDefaultCeilingPolicy: pulumi.Output<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* When `false`, RAR (Rich Authorization Requests) is mandatory and authorizationDetails must be present in the token. When set to `true`, authorizationDetails in the JWT token are optional for this agent. This setting works in conjunction with the OAuth Resource Server profile's optionalAuthorizationDetails setting - RAR is optional if EITHER is `true`. Defaults to `false`. Requires Vault 2.0.3 or later.
|
|
103
|
+
*/
|
|
104
|
+
readonly optionalAuthorizationDetails: pulumi.Output<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Owner of the Agent Registry record.
|
|
107
|
+
*/
|
|
108
|
+
readonly owner: pulumi.Output<string | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a AgentRegistration resource with the given unique name, arguments, and options.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resource.
|
|
113
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
114
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
115
|
+
*/
|
|
116
|
+
constructor(name: string, args: AgentRegistrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Input properties used for looking up and filtering AgentRegistration resources.
|
|
120
|
+
*/
|
|
121
|
+
export interface AgentRegistrationState {
|
|
122
|
+
/**
|
|
123
|
+
* A list of policy names that define the maximum permissions this agent can obtain. These policies act as a ceiling - the agent cannot obtain permissions beyond what these policies allow, even if the entity or token policies would grant more permissions. By default, Vault applies a default ceiling policy unless `noDefaultCeilingPolicy` is set to `true`.
|
|
124
|
+
*/
|
|
125
|
+
ceilingPolicies?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
126
|
+
/**
|
|
127
|
+
* The timestamp when the Agent Registry record was created, in RFC3339 format.
|
|
128
|
+
*/
|
|
129
|
+
creationTime?: pulumi.Input<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* A human-readable description of the Agent Registry record. This field is for documentation purposes and does not affect the agent's behavior.
|
|
132
|
+
*/
|
|
133
|
+
description?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* The display name for the Agent Registry record. This field must be unique per Vault namespace. Within Terraform, this is used as the unique identifier for the agent. Changing this on an existing resource will force the resource to be deleted from Vault and a new resource to be created in Vault.
|
|
136
|
+
*/
|
|
137
|
+
displayName?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the identity entity to associate with this Agent Registry record. The entity must exist before you create the Agent Registry record.
|
|
140
|
+
*/
|
|
141
|
+
entityId?: pulumi.Input<string | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* The timestamp when the Agent Registry record was last updated, in RFC3339 format.
|
|
144
|
+
*/
|
|
145
|
+
lastUpdatedTime?: pulumi.Input<string | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* The namespace to provision the resource in.
|
|
148
|
+
* The value should not contain leading or trailing forward slashes.
|
|
149
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
150
|
+
*/
|
|
151
|
+
namespace?: pulumi.Input<string | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* When set to `true`, prevents Vault from applying the default ceiling policy to this agent. This allows you to have complete control over the agent's ceiling policies. Defaults to `false`.
|
|
154
|
+
*/
|
|
155
|
+
noDefaultCeilingPolicy?: pulumi.Input<boolean | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* When `false`, RAR (Rich Authorization Requests) is mandatory and authorizationDetails must be present in the token. When set to `true`, authorizationDetails in the JWT token are optional for this agent. This setting works in conjunction with the OAuth Resource Server profile's optionalAuthorizationDetails setting - RAR is optional if EITHER is `true`. Defaults to `false`. Requires Vault 2.0.3 or later.
|
|
158
|
+
*/
|
|
159
|
+
optionalAuthorizationDetails?: pulumi.Input<boolean | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Owner of the Agent Registry record.
|
|
162
|
+
*/
|
|
163
|
+
owner?: pulumi.Input<string | undefined>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The set of arguments for constructing a AgentRegistration resource.
|
|
167
|
+
*/
|
|
168
|
+
export interface AgentRegistrationArgs {
|
|
169
|
+
/**
|
|
170
|
+
* A list of policy names that define the maximum permissions this agent can obtain. These policies act as a ceiling - the agent cannot obtain permissions beyond what these policies allow, even if the entity or token policies would grant more permissions. By default, Vault applies a default ceiling policy unless `noDefaultCeilingPolicy` is set to `true`.
|
|
171
|
+
*/
|
|
172
|
+
ceilingPolicies?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* A human-readable description of the Agent Registry record. This field is for documentation purposes and does not affect the agent's behavior.
|
|
175
|
+
*/
|
|
176
|
+
description?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* The display name for the Agent Registry record. This field must be unique per Vault namespace. Within Terraform, this is used as the unique identifier for the agent. Changing this on an existing resource will force the resource to be deleted from Vault and a new resource to be created in Vault.
|
|
179
|
+
*/
|
|
180
|
+
displayName: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* The ID of the identity entity to associate with this Agent Registry record. The entity must exist before you create the Agent Registry record.
|
|
183
|
+
*/
|
|
184
|
+
entityId: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* The namespace to provision the resource in.
|
|
187
|
+
* The value should not contain leading or trailing forward slashes.
|
|
188
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
189
|
+
*/
|
|
190
|
+
namespace?: pulumi.Input<string | undefined>;
|
|
191
|
+
/**
|
|
192
|
+
* When set to `true`, prevents Vault from applying the default ceiling policy to this agent. This allows you to have complete control over the agent's ceiling policies. Defaults to `false`.
|
|
193
|
+
*/
|
|
194
|
+
noDefaultCeilingPolicy?: pulumi.Input<boolean | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* When `false`, RAR (Rich Authorization Requests) is mandatory and authorizationDetails must be present in the token. When set to `true`, authorizationDetails in the JWT token are optional for this agent. This setting works in conjunction with the OAuth Resource Server profile's optionalAuthorizationDetails setting - RAR is optional if EITHER is `true`. Defaults to `false`. Requires Vault 2.0.3 or later.
|
|
197
|
+
*/
|
|
198
|
+
optionalAuthorizationDetails?: pulumi.Input<boolean | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* Owner of the Agent Registry record.
|
|
201
|
+
*/
|
|
202
|
+
owner?: pulumi.Input<string | undefined>;
|
|
203
|
+
}
|
|
204
|
+
//# sourceMappingURL=agentRegistration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentRegistration.d.ts","sourceRoot":"","sources":["../agentRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAgC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvE;;;;OAIG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,sBAAsB,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,CAAC,CAAC;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.AgentRegistration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* > **Preview feature:** This feature is currently available as a preview and is possibly incomplete and subject to change. **We strongly discourage using preview or beta features with production workflows.**
|
|
33
|
+
*
|
|
34
|
+
* Manages Agent Registry records in Vault Enterprise. An Agent Registry record allows you to register Vault agents with specific identity entities and configure ceiling policies that limit the maximum permissions an agent can obtain.
|
|
35
|
+
*
|
|
36
|
+
* > **Important** This resource is available only in Vault Enterprise and requires Vault 2.0.1 or later.
|
|
37
|
+
*
|
|
38
|
+
* ## Notes
|
|
39
|
+
*
|
|
40
|
+
* * **Mount:** The Agent Registry is mounted by default. There is no need to take action to enable it.
|
|
41
|
+
*
|
|
42
|
+
* * **Ceiling Policies**: Ceiling policies define the maximum permissions an agent can obtain. Even if the associated entity or token policies grant broader permissions, the agent will be limited to the intersection of all applicable policies and the ceiling policies.
|
|
43
|
+
*
|
|
44
|
+
* * **Default Ceiling Policy**: By default, Vault applies a default ceiling policy to Agent Registry records. This policy is automatically filtered out when reading the resource state, so only user-specified ceiling policies appear in the `ceilingPolicies` attribute.
|
|
45
|
+
*
|
|
46
|
+
* * **Entity Requirement**: The identity entity specified in `entityId` must exist before you create the Agent Registry record. The entity defines the base identity for the agent.
|
|
47
|
+
*
|
|
48
|
+
* * **Display Name Uniqueness**: The `displayName` must be unique within the namespace. Attempting to create multiple Agent Registry records with the same display name will result in an error.
|
|
49
|
+
*
|
|
50
|
+
* * **Immutable Display Name**: Changing the `displayName` requires destroying and recreating the Agent Registry record, as it serves as the unique identifier.
|
|
51
|
+
*
|
|
52
|
+
* * **Enterprise Feature**: Agent Registry records are only available in Vault Enterprise. Attempting to use this resource with Vault Community Edition will result in an error.
|
|
53
|
+
*
|
|
54
|
+
* * **Version Requirement**: This resource requires Vault 2.0.1 or later.
|
|
55
|
+
*
|
|
56
|
+
* ## Import
|
|
57
|
+
*
|
|
58
|
+
* You can import Agent Registry records using either their `displayName` or their
|
|
59
|
+
* `id` (UUID). The provider auto-detects which you supplied: if the import string
|
|
60
|
+
* parses as a UUID, the provider reads the record by `id`; otherwise it reads the
|
|
61
|
+
* record by `displayName`.
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import vault:index/agentRegistration:AgentRegistration example my-agent
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* To import a record by `id`:
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* $ pulumi import vault:index/agentRegistration:AgentRegistration example 550e8400-e29b-41d4-a716-446655440000
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* The import string does not encode the namespace. To import a record from a
|
|
74
|
+
* namespace, set the `TERRAFORM_VAULT_NAMESPACE_IMPORT` environment variable:
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ TERRAFORM_VAULT_NAMESPACE_IMPORT=application terraform import vault_agent_registration.example my-agent
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
class AgentRegistration extends pulumi.CustomResource {
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing AgentRegistration resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name, id, state, opts) {
|
|
91
|
+
return new AgentRegistration(name, state, { ...opts, id: id });
|
|
92
|
+
}
|
|
93
|
+
/** @internal */
|
|
94
|
+
static __pulumiType = 'vault:index/agentRegistration:AgentRegistration';
|
|
95
|
+
/**
|
|
96
|
+
* Returns true if the given object is an instance of AgentRegistration. This is designed to work even
|
|
97
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
98
|
+
*/
|
|
99
|
+
static isInstance(obj) {
|
|
100
|
+
if (obj === undefined || obj === null) {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
return obj['__pulumiType'] === AgentRegistration.__pulumiType;
|
|
104
|
+
}
|
|
105
|
+
constructor(name, argsOrState, opts) {
|
|
106
|
+
let resourceInputs = {};
|
|
107
|
+
opts = opts || {};
|
|
108
|
+
if (opts.id) {
|
|
109
|
+
const state = argsOrState;
|
|
110
|
+
resourceInputs["ceilingPolicies"] = state?.ceilingPolicies;
|
|
111
|
+
resourceInputs["creationTime"] = state?.creationTime;
|
|
112
|
+
resourceInputs["description"] = state?.description;
|
|
113
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
114
|
+
resourceInputs["entityId"] = state?.entityId;
|
|
115
|
+
resourceInputs["lastUpdatedTime"] = state?.lastUpdatedTime;
|
|
116
|
+
resourceInputs["namespace"] = state?.namespace;
|
|
117
|
+
resourceInputs["noDefaultCeilingPolicy"] = state?.noDefaultCeilingPolicy;
|
|
118
|
+
resourceInputs["optionalAuthorizationDetails"] = state?.optionalAuthorizationDetails;
|
|
119
|
+
resourceInputs["owner"] = state?.owner;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const args = argsOrState;
|
|
123
|
+
if (args?.displayName === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'displayName'");
|
|
125
|
+
}
|
|
126
|
+
if (args?.entityId === undefined && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'entityId'");
|
|
128
|
+
}
|
|
129
|
+
resourceInputs["ceilingPolicies"] = args?.ceilingPolicies;
|
|
130
|
+
resourceInputs["description"] = args?.description;
|
|
131
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
132
|
+
resourceInputs["entityId"] = args?.entityId;
|
|
133
|
+
resourceInputs["namespace"] = args?.namespace;
|
|
134
|
+
resourceInputs["noDefaultCeilingPolicy"] = args?.noDefaultCeilingPolicy;
|
|
135
|
+
resourceInputs["optionalAuthorizationDetails"] = args?.optionalAuthorizationDetails;
|
|
136
|
+
resourceInputs["owner"] = args?.owner;
|
|
137
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
138
|
+
resourceInputs["lastUpdatedTime"] = undefined /*out*/;
|
|
139
|
+
}
|
|
140
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
141
|
+
super(AgentRegistration.__pulumiType, name, resourceInputs, opts);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.AgentRegistration = AgentRegistration;
|
|
145
|
+
//# sourceMappingURL=agentRegistration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentRegistration.js","sourceRoot":"","sources":["../agentRegistration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAE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CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAnHL,8CAoHC"}
|
package/alicloud/index.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export { AuthBackendRoleArgs, AuthBackendRoleState } from "./authBackendRole";
|
|
2
2
|
export type AuthBackendRole = import("./authBackendRole").AuthBackendRole;
|
|
3
3
|
export declare const AuthBackendRole: typeof import("./authBackendRole").AuthBackendRole;
|
|
4
|
+
export { SecretBackendArgs, SecretBackendState } from "./secretBackend";
|
|
5
|
+
export type SecretBackend = import("./secretBackend").SecretBackend;
|
|
6
|
+
export declare const SecretBackend: typeof import("./secretBackend").SecretBackend;
|
|
7
|
+
export { SecretBackendRoleArgs, SecretBackendRoleState } from "./secretBackendRole";
|
|
8
|
+
export type SecretBackendRole = import("./secretBackendRole").SecretBackendRole;
|
|
9
|
+
export declare const SecretBackendRole: typeof import("./secretBackendRole").SecretBackendRole;
|
|
4
10
|
//# sourceMappingURL=index.d.ts.map
|
package/alicloud/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../alicloud/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,OAAO,mBAAmB,EAAE,eAAe,CAAC;AAC1E,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../alicloud/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,OAAO,mBAAmB,EAAE,eAAe,CAAC;AAC1E,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC;AAG/F,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACxE,MAAM,MAAM,aAAa,GAAG,OAAO,iBAAiB,EAAE,aAAa,CAAC;AACpE,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AAGzF,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACpF,MAAM,MAAM,iBAAiB,GAAG,OAAO,qBAAqB,EAAE,iBAAiB,CAAC;AAChF,eAAO,MAAM,iBAAiB,EAAE,cAAc,qBAAqB,EAAE,iBAA+B,CAAC"}
|
package/alicloud/index.js
CHANGED
|
@@ -25,21 +25,31 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.AuthBackendRole = void 0;
|
|
28
|
+
exports.SecretBackendRole = exports.SecretBackend = exports.AuthBackendRole = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
31
|
exports.AuthBackendRole = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["AuthBackendRole"], () => require("./authBackendRole"));
|
|
33
|
+
exports.SecretBackend = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["SecretBackend"], () => require("./secretBackend"));
|
|
35
|
+
exports.SecretBackendRole = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["SecretBackendRole"], () => require("./secretBackendRole"));
|
|
33
37
|
const _module = {
|
|
34
38
|
version: utilities.getVersion(),
|
|
35
39
|
construct: (name, type, urn) => {
|
|
36
40
|
switch (type) {
|
|
37
41
|
case "vault:alicloud/authBackendRole:AuthBackendRole":
|
|
38
42
|
return new exports.AuthBackendRole(name, undefined, { urn });
|
|
43
|
+
case "vault:alicloud/secretBackend:SecretBackend":
|
|
44
|
+
return new exports.SecretBackend(name, undefined, { urn });
|
|
45
|
+
case "vault:alicloud/secretBackendRole:SecretBackendRole":
|
|
46
|
+
return new exports.SecretBackendRole(name, undefined, { urn });
|
|
39
47
|
default:
|
|
40
48
|
throw new Error(`unknown resource type ${type}`);
|
|
41
49
|
}
|
|
42
50
|
},
|
|
43
51
|
};
|
|
44
52
|
pulumi.runtime.registerResourceModule("vault", "alicloud/authBackendRole", _module);
|
|
53
|
+
pulumi.runtime.registerResourceModule("vault", "alicloud/secretBackend", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("vault", "alicloud/secretBackendRole", _module);
|
|
45
55
|
//# sourceMappingURL=index.js.map
|
package/alicloud/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../alicloud/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../alicloud/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAA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