@centrali-io/centrali-sdk 4.2.5 → 4.3.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/index.ts +17 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -987,6 +987,21 @@ export interface OrchestrationDecisionCase {
|
|
|
987
987
|
nextStepId: string;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
+
/**
|
|
991
|
+
* Encrypted parameter for a compute step. To encrypt a new value, set encrypt=true and value=plaintext.
|
|
992
|
+
* Stored values have encrypted=true and value is masked in API responses.
|
|
993
|
+
*/
|
|
994
|
+
export interface StepEncryptedParam {
|
|
995
|
+
/** The parameter value (plaintext on create, masked as "********" on read) */
|
|
996
|
+
value: string;
|
|
997
|
+
/** True when the value is encrypted at rest */
|
|
998
|
+
encrypted?: boolean;
|
|
999
|
+
/** Encryption key version (for key rotation support) */
|
|
1000
|
+
keyVersion?: number;
|
|
1001
|
+
/** Client flag: set to true to encrypt this plaintext value */
|
|
1002
|
+
encrypt?: boolean;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
990
1005
|
/**
|
|
991
1006
|
* Orchestration step definition.
|
|
992
1007
|
*/
|
|
@@ -1009,6 +1024,8 @@ export interface OrchestrationStep {
|
|
|
1009
1024
|
onSuccess?: OrchestrationOnSuccess;
|
|
1010
1025
|
/** On failure handler (for compute steps) */
|
|
1011
1026
|
onFailure?: OrchestrationOnFailure;
|
|
1027
|
+
/** Encrypted parameters for compute steps. Secrets are encrypted at rest and decrypted at execution time. */
|
|
1028
|
+
encryptedParams?: Record<string, StepEncryptedParam>;
|
|
1012
1029
|
|
|
1013
1030
|
// Decision step fields
|
|
1014
1031
|
/** Decision cases (for decision steps) */
|