@sapslaj/pulumi-infisical 0.19.37 → 0.19.39
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/dist/getSecretValidationRules.d.ts +27 -0
- package/dist/getSecretValidationRules.d.ts.map +1 -0
- package/dist/getSecretValidationRules.js +47 -0
- package/dist/getSecretValidationRules.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -2
- package/dist/index.js.map +1 -1
- package/dist/secretApprovalPolicy.d.ts +3 -3
- package/dist/secretValidationRuleDynamicSecrets.d.ts +125 -0
- package/dist/secretValidationRuleDynamicSecrets.d.ts.map +1 -0
- package/dist/secretValidationRuleDynamicSecrets.js +93 -0
- package/dist/secretValidationRuleDynamicSecrets.js.map +1 -0
- package/dist/secretValidationRuleSecretRotations.d.ts +125 -0
- package/dist/secretValidationRuleSecretRotations.d.ts.map +1 -0
- package/dist/secretValidationRuleSecretRotations.js +93 -0
- package/dist/secretValidationRuleSecretRotations.js.map +1 -0
- package/dist/secretValidationRuleStaticSecrets.d.ts +125 -0
- package/dist/secretValidationRuleStaticSecrets.d.ts.map +1 -0
- package/dist/secretValidationRuleStaticSecrets.js +93 -0
- package/dist/secretValidationRuleStaticSecrets.js.map +1 -0
- package/dist/types/input.d.ts +127 -1
- package/dist/types/input.d.ts.map +1 -1
- package/dist/types/output.d.ts +279 -1
- package/dist/types/output.d.ts.map +1 -1
- package/dist/utilities.js +2 -2
- package/package.json +3 -3
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class SecretValidationRuleDynamicSecrets extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing SecretValidationRuleDynamicSecrets resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretValidationRuleDynamicSecretsState, opts?: pulumi.CustomResourceOptions): SecretValidationRuleDynamicSecrets;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "infisical:index/secretValidationRuleDynamicSecrets:SecretValidationRuleDynamicSecrets";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of SecretValidationRuleDynamicSecrets. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is SecretValidationRuleDynamicSecrets;
|
|
22
|
+
/**
|
|
23
|
+
* The constraints this Dynamic Secrets rule enforces.
|
|
24
|
+
*/
|
|
25
|
+
readonly constraints: pulumi.Output<outputs.SecretValidationRuleDynamicSecretsConstraints>;
|
|
26
|
+
/**
|
|
27
|
+
* An optional description of the secret validation rule.
|
|
28
|
+
*/
|
|
29
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
32
|
+
*/
|
|
33
|
+
readonly environment: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
36
|
+
*/
|
|
37
|
+
readonly isActive: pulumi.Output<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the secret validation rule.
|
|
40
|
+
*/
|
|
41
|
+
readonly name: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
44
|
+
*/
|
|
45
|
+
readonly projectId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
48
|
+
*/
|
|
49
|
+
readonly secretPath: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a SecretValidationRuleDynamicSecrets resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: SecretValidationRuleDynamicSecretsArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering SecretValidationRuleDynamicSecrets resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface SecretValidationRuleDynamicSecretsState {
|
|
63
|
+
/**
|
|
64
|
+
* The constraints this Dynamic Secrets rule enforces.
|
|
65
|
+
*/
|
|
66
|
+
constraints?: pulumi.Input<inputs.SecretValidationRuleDynamicSecretsConstraints | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* An optional description of the secret validation rule.
|
|
69
|
+
*/
|
|
70
|
+
description?: pulumi.Input<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
73
|
+
*/
|
|
74
|
+
environment?: pulumi.Input<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
77
|
+
*/
|
|
78
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the secret validation rule.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
85
|
+
*/
|
|
86
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
89
|
+
*/
|
|
90
|
+
secretPath?: pulumi.Input<string | undefined>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a SecretValidationRuleDynamicSecrets resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface SecretValidationRuleDynamicSecretsArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The constraints this Dynamic Secrets rule enforces.
|
|
98
|
+
*/
|
|
99
|
+
constraints: pulumi.Input<inputs.SecretValidationRuleDynamicSecretsConstraints>;
|
|
100
|
+
/**
|
|
101
|
+
* An optional description of the secret validation rule.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
106
|
+
*/
|
|
107
|
+
environment?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
110
|
+
*/
|
|
111
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the secret validation rule.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
118
|
+
*/
|
|
119
|
+
projectId: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
122
|
+
*/
|
|
123
|
+
secretPath: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=secretValidationRuleDynamicSecrets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValidationRuleDynamicSecrets.d.ts","sourceRoot":"","sources":["../src/secretValidationRuleDynamicSecrets.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kCAAkC;IAItL,gBAAgB;IAChB,gBAAuB,YAAY,2FAA2F;IAE9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kCAAkC;IAO7E;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1G;;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,GAAG,SAAS,CAAC,CAAC;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AM,CAAC,6CAA6C,CAAC,CAAC;IAChF;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.SecretValidationRuleDynamicSecrets = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class SecretValidationRuleDynamicSecrets extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing SecretValidationRuleDynamicSecrets resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new SecretValidationRuleDynamicSecrets(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of SecretValidationRuleDynamicSecrets. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === SecretValidationRuleDynamicSecrets.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["constraints"] = state?.constraints;
|
|
60
|
+
resourceInputs["description"] = state?.description;
|
|
61
|
+
resourceInputs["environment"] = state?.environment;
|
|
62
|
+
resourceInputs["isActive"] = state?.isActive;
|
|
63
|
+
resourceInputs["name"] = state?.name;
|
|
64
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
65
|
+
resourceInputs["secretPath"] = state?.secretPath;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if (args?.constraints === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'constraints'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'projectId'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.secretPath === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'secretPath'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["constraints"] = args?.constraints;
|
|
79
|
+
resourceInputs["description"] = args?.description;
|
|
80
|
+
resourceInputs["environment"] = args?.environment;
|
|
81
|
+
resourceInputs["isActive"] = args?.isActive;
|
|
82
|
+
resourceInputs["name"] = args?.name;
|
|
83
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
84
|
+
resourceInputs["secretPath"] = args?.secretPath;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(SecretValidationRuleDynamicSecrets.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.SecretValidationRuleDynamicSecrets = SecretValidationRuleDynamicSecrets;
|
|
91
|
+
/** @internal */
|
|
92
|
+
SecretValidationRuleDynamicSecrets.__pulumiType = 'infisical:index/secretValidationRuleDynamicSecrets:SecretValidationRuleDynamicSecrets';
|
|
93
|
+
//# sourceMappingURL=secretValidationRuleDynamicSecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValidationRuleDynamicSecrets.js","sourceRoot":"","sources":["../src/secretValidationRuleDynamicSecrets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAKD;;;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,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkE,CAAC;YACjF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,G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EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACrI,CAAC;;AAlGL,gFAmGC;AArFG,gBAAgB;AACO,+CAAY,GAAG,uFAAuF,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class SecretValidationRuleSecretRotations extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing SecretValidationRuleSecretRotations resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretValidationRuleSecretRotationsState, opts?: pulumi.CustomResourceOptions): SecretValidationRuleSecretRotations;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "infisical:index/secretValidationRuleSecretRotations:SecretValidationRuleSecretRotations";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of SecretValidationRuleSecretRotations. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is SecretValidationRuleSecretRotations;
|
|
22
|
+
/**
|
|
23
|
+
* The constraints this Secret Rotations rule enforces.
|
|
24
|
+
*/
|
|
25
|
+
readonly constraints: pulumi.Output<outputs.SecretValidationRuleSecretRotationsConstraints>;
|
|
26
|
+
/**
|
|
27
|
+
* An optional description of the secret validation rule.
|
|
28
|
+
*/
|
|
29
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
32
|
+
*/
|
|
33
|
+
readonly environment: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
36
|
+
*/
|
|
37
|
+
readonly isActive: pulumi.Output<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the secret validation rule.
|
|
40
|
+
*/
|
|
41
|
+
readonly name: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
44
|
+
*/
|
|
45
|
+
readonly projectId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
48
|
+
*/
|
|
49
|
+
readonly secretPath: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a SecretValidationRuleSecretRotations resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: SecretValidationRuleSecretRotationsArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering SecretValidationRuleSecretRotations resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface SecretValidationRuleSecretRotationsState {
|
|
63
|
+
/**
|
|
64
|
+
* The constraints this Secret Rotations rule enforces.
|
|
65
|
+
*/
|
|
66
|
+
constraints?: pulumi.Input<inputs.SecretValidationRuleSecretRotationsConstraints | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* An optional description of the secret validation rule.
|
|
69
|
+
*/
|
|
70
|
+
description?: pulumi.Input<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
73
|
+
*/
|
|
74
|
+
environment?: pulumi.Input<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
77
|
+
*/
|
|
78
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the secret validation rule.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
85
|
+
*/
|
|
86
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
89
|
+
*/
|
|
90
|
+
secretPath?: pulumi.Input<string | undefined>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a SecretValidationRuleSecretRotations resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface SecretValidationRuleSecretRotationsArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The constraints this Secret Rotations rule enforces.
|
|
98
|
+
*/
|
|
99
|
+
constraints: pulumi.Input<inputs.SecretValidationRuleSecretRotationsConstraints>;
|
|
100
|
+
/**
|
|
101
|
+
* An optional description of the secret validation rule.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
106
|
+
*/
|
|
107
|
+
environment?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
110
|
+
*/
|
|
111
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the secret validation rule.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
118
|
+
*/
|
|
119
|
+
projectId: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
122
|
+
*/
|
|
123
|
+
secretPath: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=secretValidationRuleSecretRotations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValidationRuleSecretRotations.d.ts","sourceRoot":"","sources":["../src/secretValidationRuleSecretRotations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wCAAwC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mCAAmC;IAIxL,gBAAgB;IAChB,gBAAuB,YAAY,6FA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G;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,8CAA8C,CAAC,CAAC;IACjF;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.SecretValidationRuleSecretRotations = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class SecretValidationRuleSecretRotations extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing SecretValidationRuleSecretRotations resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new SecretValidationRuleSecretRotations(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of SecretValidationRuleSecretRotations. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === SecretValidationRuleSecretRotations.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["constraints"] = state?.constraints;
|
|
60
|
+
resourceInputs["description"] = state?.description;
|
|
61
|
+
resourceInputs["environment"] = state?.environment;
|
|
62
|
+
resourceInputs["isActive"] = state?.isActive;
|
|
63
|
+
resourceInputs["name"] = state?.name;
|
|
64
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
65
|
+
resourceInputs["secretPath"] = state?.secretPath;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if (args?.constraints === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'constraints'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'projectId'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.secretPath === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'secretPath'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["constraints"] = args?.constraints;
|
|
79
|
+
resourceInputs["description"] = args?.description;
|
|
80
|
+
resourceInputs["environment"] = args?.environment;
|
|
81
|
+
resourceInputs["isActive"] = args?.isActive;
|
|
82
|
+
resourceInputs["name"] = args?.name;
|
|
83
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
84
|
+
resourceInputs["secretPath"] = args?.secretPath;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(SecretValidationRuleSecretRotations.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.SecretValidationRuleSecretRotations = SecretValidationRuleSecretRotations;
|
|
91
|
+
/** @internal */
|
|
92
|
+
SecretValidationRuleSecretRotations.__pulumiType = 'infisical:index/secretValidationRuleSecretRotations:SecretValidationRuleSecretRotations';
|
|
93
|
+
//# sourceMappingURL=secretValidationRuleSecretRotations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValidationRuleSecretRotations.js","sourceRoot":"","sources":["../src/secretValidationRuleSecretRotations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,CAAC;IAKD;;;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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,C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I,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACtI,CAAC;;AAlGL,kFAmGC;AArFG,gBAAgB;AACO,gDAAY,GAAG,yFAAyF,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class SecretValidationRuleStaticSecrets extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing SecretValidationRuleStaticSecrets resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretValidationRuleStaticSecretsState, opts?: pulumi.CustomResourceOptions): SecretValidationRuleStaticSecrets;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "infisical:index/secretValidationRuleStaticSecrets:SecretValidationRuleStaticSecrets";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of SecretValidationRuleStaticSecrets. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is SecretValidationRuleStaticSecrets;
|
|
22
|
+
/**
|
|
23
|
+
* The constraints this Static Secrets rule enforces.
|
|
24
|
+
*/
|
|
25
|
+
readonly constraints: pulumi.Output<outputs.SecretValidationRuleStaticSecretsConstraints>;
|
|
26
|
+
/**
|
|
27
|
+
* An optional description of the secret validation rule.
|
|
28
|
+
*/
|
|
29
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
32
|
+
*/
|
|
33
|
+
readonly environment: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
36
|
+
*/
|
|
37
|
+
readonly isActive: pulumi.Output<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the secret validation rule.
|
|
40
|
+
*/
|
|
41
|
+
readonly name: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
44
|
+
*/
|
|
45
|
+
readonly projectId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
48
|
+
*/
|
|
49
|
+
readonly secretPath: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a SecretValidationRuleStaticSecrets resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: SecretValidationRuleStaticSecretsArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering SecretValidationRuleStaticSecrets resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface SecretValidationRuleStaticSecretsState {
|
|
63
|
+
/**
|
|
64
|
+
* The constraints this Static Secrets rule enforces.
|
|
65
|
+
*/
|
|
66
|
+
constraints?: pulumi.Input<inputs.SecretValidationRuleStaticSecretsConstraints | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* An optional description of the secret validation rule.
|
|
69
|
+
*/
|
|
70
|
+
description?: pulumi.Input<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
73
|
+
*/
|
|
74
|
+
environment?: pulumi.Input<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
77
|
+
*/
|
|
78
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the secret validation rule.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
85
|
+
*/
|
|
86
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
89
|
+
*/
|
|
90
|
+
secretPath?: pulumi.Input<string | undefined>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a SecretValidationRuleStaticSecrets resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface SecretValidationRuleStaticSecretsArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The constraints this Static Secrets rule enforces.
|
|
98
|
+
*/
|
|
99
|
+
constraints: pulumi.Input<inputs.SecretValidationRuleStaticSecretsConstraints>;
|
|
100
|
+
/**
|
|
101
|
+
* An optional description of the secret validation rule.
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The slug of the environment to scope this rule to. Omit to enforce the rule in every environment of the project.
|
|
106
|
+
*/
|
|
107
|
+
environment?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the rule is enforced. An inactive rule is kept but ignored. Defaults to <span pulumi-lang-nodejs="`true`" pulumi-lang-dotnet="`True`" pulumi-lang-go="`true`" pulumi-lang-python="`true`" pulumi-lang-yaml="`true`" pulumi-lang-java="`true`" pulumi-lang-hcl="`true`">`true`</span>.
|
|
110
|
+
*/
|
|
111
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the secret validation rule.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the Infisical project to create the secret validation rule in.
|
|
118
|
+
*/
|
|
119
|
+
projectId: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The secret path to scope this rule to. Supports glob patterns such as `/apps/**`.
|
|
122
|
+
*/
|
|
123
|
+
secretPath: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=secretValidationRuleStaticSecrets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretValidationRuleStaticSecrets.d.ts","sourceRoot":"","sources":["../src/secretValidationRuleStaticSecrets.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OA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