Documentation Index
Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt
Use this file to discover all available pages before exploring further.
Vault Client
The Vault client provides secure credential management with AES-256-GCM encryption. Store usernames, passwords, and other sensitive data for use in workflow executions.All sensitive fields (
user_name, password, and tfa_secret) are automatically encrypted by the SDK before being sent to CloudCruise servers. Plaintext credentials are never transmitted or stored.Setup
encryptionKey is required for vault operations. Get it from CloudCruise Settings.
Creating a Vault Entry
Useclient.vault.create() to store new credentials:
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Target domain for the credentials (e.g., https://example.com) |
permissioned_user_id | string | Yes | Unique identifier to reference this entry in workflows |
options | object | No | Additional fields (see below) |
Options Object
| Field | Type | Description |
|---|---|---|
user_name | string | Username or email for authentication |
password | string | Password credential |
user_alias | string | Human-readable label for the entry |
tfa_secret | string | TOTP secret for two-factor authentication |
tfa_method | string | TFA method: "AUTHENTICATOR", "EMAIL", "MAGIC_LINK", or "SMS" |
persist_cookies | boolean | Maintain cookies across workflow executions |
persist_local_storage | boolean | Maintain local storage across executions |
persist_session_storage | boolean | Maintain session storage across executions |
skip_csrf_cookies | boolean | Skip injecting CSRF-related cookies (e.g. XSRF-TOKEN) during session restore |
allow_multiple_sessions | boolean | Allow concurrent workflow sessions with these credentials |
max_concurrency | number | Maximum concurrent sessions (when allow_multiple_sessions is true) |
proxy | object | Proxy configuration with enable (boolean) and target_ip (string) |
Getting Vault Entries
Retrieve vault entries with optional filtering:Filter Options
| Field | Type | Description |
|---|---|---|
domain | string | Filter by target domain |
permissioned_user_id | string | Filter by user ID |
decryptCredentials | boolean | Whether to decrypt credentials (default: true) |
When filtering, both
domain and permissioned_user_id must be provided together.Updating a Vault Entry
Update an existing vault entry:Required Fields for Update
| Field | Required |
|---|---|
domain | Yes |
permissioned_user_id | Yes |
user_name | Yes |
password | Yes |
Deleting a Vault Entry
Delete a vault entry by domain and user ID:Using Vault Entries in Workflows
Reference vault credentials in workflow runs by passing thepermissioned_user_id as an input variable:

