Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/dcd-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See [Authentication](../getting-started/api-keys.md) for the full picture.
| `--app-url <url>` | Signed URL to an Expo iOS build (`.tar.gz`). The archive is downloaded and extracted automatically. Expo signed URLs expire after ~1 hour. Mutually exclusive with `--app-file` |
| `--app-file <path>` | Path to the app binary (alternative to the positional `<appFile>` argument) |
| `--ignore-sha-check` | Force re-upload even if a binary with the same SHA already exists |
| `--encrypt` / `--no-encrypt` | Envelope encryption is on by default: the app binary, flow files and `--env` values are encrypted on your machine before upload, each with its own key. Pass `--no-encrypt` (or set `DCD_ENCRYPT=0`) to turn it off; the upload is still encrypted in transit. An unchanged binary is still deduplicated, so it isn't uploaded again. See [Data Encryption](../security/security-overview.md#data-encryption) |
| `--encrypt` / `--no-encrypt` | Ignored. Envelope encryption is always on: the app binary, flow files and `--env` values are encrypted on your machine before upload, each with its own key. `--no-encrypt` (and `DCD_ENCRYPT=0`) print a warning and change nothing. An unchanged binary is still deduplicated, so it isn't uploaded again. See [Data Encryption](../security/security-overview.md#data-encryption) |

### Device

Expand Down
4 changes: 2 additions & 2 deletions cli/dcd-upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Upload an app binary to DeviceCloud and get back a binary ID. Use the binary ID in subsequent `dcd cloud` runs to skip re-uploading the same binary.

DeviceCloud deduplicates binaries by SHA checksum — if you upload the same binary twice, the existing ID is returned and no upload occurs. An envelope-encrypted upload is only matched against your earlier envelope-encrypted uploads, so a binary you previously uploaded with `--no-encrypt` is uploaded once more the first time it's envelope-encrypted.
DeviceCloud deduplicates binaries by SHA checksum — if you upload the same binary twice, the existing ID is returned and no upload occurs. An envelope-encrypted upload is only matched against your earlier envelope-encrypted uploads, so a binary you previously uploaded without envelope encryption is uploaded once more the first time it's envelope-encrypted.

```bash
dcd upload <appFile> [flags]
Expand All @@ -22,7 +22,7 @@ dcd upload <appFile> [flags]
| `--api-url <url>` | API base URL. Defaults to the environment you logged in to with `dcd login`, otherwise `https://api.devicecloud.dev` |
| `--app-url <url>` | Signed URL to an Expo iOS build (`.tar.gz`), used instead of `<appFile>`. The archive is downloaded and extracted automatically |
| `--ignore-sha-check` | Force re-upload even if a binary with the same SHA already exists |
| `--encrypt` / `--no-encrypt` | Envelope encryption is on by default: the binary is encrypted on your machine before upload, with its own key. Pass `--no-encrypt` (or set `DCD_ENCRYPT=0`) to turn it off; the upload is still encrypted in transit. See [Data Encryption](../security/security-overview.md#data-encryption) |
| `--encrypt` / `--no-encrypt` | Ignored. Envelope encryption is always on: the binary is encrypted on your machine before upload, with its own key. `--no-encrypt` (and `DCD_ENCRYPT=0`) print a warning and change nothing. See [Data Encryption](../security/security-overview.md#data-encryption) |
| `--json` | Output the binary ID as JSON |
| `--debug` | Enable verbose debug logging |

Expand Down
2 changes: 1 addition & 1 deletion cli/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Every command except the `dcd mcp` server takes `--json`, which prints one JSON
|----------|-------------|
| `DEVICE_CLOUD_API_KEY` | API key to use when `--api-key` isn't passed. Takes precedence over a `dcd login` session |
| `DCD_CONFIG_DIR` | Directory for the `dcd login` session file (default `$XDG_CONFIG_HOME/dcd`, or `~/.dcd`) |
| `DCD_ENCRYPT` | `dcd cloud`, `dcd upload`, `dcd device` (when it uploads a local build) and the MCP server apply envelope encryption to the app binary, flows and `--env` values on your machine before upload by default. Set to `0` to turn it off, the same as passing `--no-encrypt`; uploads are still encrypted in transit. A flag on the command line takes precedence |
| `DCD_ENCRYPT` | Ignored. `dcd cloud`, `dcd upload`, `dcd device` (when it uploads a local build) and the MCP server always apply envelope encryption to the app binary, flows and `--env` values on your machine before upload. Setting it to `0` prints a warning and changes nothing |
| `DCD_TELEMETRY_DISABLED` | Set to `1` to turn off [telemetry](#telemetry) |
| `DCD_API_URL` | MCP server only. The API base URL to use (CLI commands take `--api-url` instead) |
| `DCD_MCP_READONLY` | MCP server only. Set to `1` to offer only the tools that change nothing, the same as `dcd mcp --read-only` (see [Read-only mode](../mcp/connect.md#read-only-mode)) |
Expand Down
2 changes: 1 addition & 1 deletion configuration/app-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ iOS runs need a simulator build. Device builds (`.ipa`) and Android App Bundles

### SHA Hash Checking

By default, DeviceCloud checks the SHA hash of your binary to avoid redundant uploads (it will automatically work out the app-binary-id for you). Envelope-encrypted uploads (the default) are only matched against your earlier envelope-encrypted uploads, so a binary you previously uploaded with `--no-encrypt` is uploaded once more the first time it's envelope-encrypted. To override:
By default, DeviceCloud checks the SHA hash of your binary to avoid redundant uploads (it will automatically work out the app-binary-id for you). Envelope-encrypted uploads are only matched against your earlier envelope-encrypted uploads, so a binary you previously uploaded without envelope encryption is uploaded once more the first time it's envelope-encrypted. To override:

```bash
dcd cloud --app-file ./app.apk flows/ --ignore-sha-check
Expand Down
2 changes: 1 addition & 1 deletion configuration/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dcd cloud app.apk flows/ -e USERNAME=${CI_USERNAME} \
-e PASSWORD=${CI_PASSWORD}
```

The CLI applies envelope encryption to `--env` values on your machine before they're uploaded, along with the app binary and your flow files. This is on by default; `--no-encrypt` or `DCD_ENCRYPT=0` turns it off, and the values are still encrypted in transit. Because the values are envelope-encrypted, the console doesn't list them on the test result. See [Data Encryption](../security/security-overview.md#data-encryption).
The CLI applies envelope encryption to `--env` values on your machine before they're uploaded, along with the app binary and your flow files. This is always on, and the values are also encrypted in transit. Because the values are envelope-encrypted, the console doesn't list them on the test result. See [Data Encryption](../security/security-overview.md#data-encryption).

## iOS: SIMCTL Variable Passthrough

Expand Down
4 changes: 3 additions & 1 deletion getting-started/deprecations.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: "The devices, OS versions, Maestro versions, report formats, runner types and API endpoints DeviceCloud is retiring, when, and what to move to, plus what was removed recently."
description: "The devices, OS versions, Maestro versions, report formats, runner types, API endpoints and upload formats DeviceCloud is retiring, when, and what to move to, plus what was removed recently."
---

# Deprecations & Removals
Expand All @@ -22,6 +22,8 @@ Removal dates are targets, subject to change based on usage.

`dcd live` is deprecated too, with no removal date set. Use [`dcd device`](../cli/dcd-device.md) instead.

Uploads without envelope encryption are deprecated, with no date set yet for refusing them. That means any upload the CLI doesn't encrypt before sending: one from an out-of-date `dcd` CLI run with `--no-encrypt` or `DCD_ENCRYPT=0`, or from a CLI that doesn't apply envelope encryption at all. The current CLI always applies it and ignores both settings. Runs that upload without it print a warning that says so. Upgrade the CLI (`npm install -g @devicecloud.dev/dcd@latest`), and update the pin if your CI pins a version. See [Data Encryption](../security/security-overview.md#data-encryption).
Comment thread
finalerock44 marked this conversation as resolved.
Resolved

## Recently removed

| Date | Removed |
Expand Down
1 change: 0 additions & 1 deletion mcp/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ This tool consumes test credits. It's annotated as destructive so clients can pr
| `priority` | `low` \| `normal` \| `high` | [Run priority](../configuration/run-priority.md) (default `normal`). Reorders only your team's own queued runs. |
| `configFile` | string | Path to a [workspace config](../configuration/workspace-config.md) |
| `ignoreShaCheck` | boolean | Force re-upload of the binary even if an identical one already exists |
| `encrypt` | boolean | Apply envelope encryption to the binary, flows and `env` values on your machine before upload. Omit it to follow `DCD_ENCRYPT`, then the default, which is on; pass `false` to turn it off (the upload is still encrypted in transit). See [Data Encryption](../security/security-overview.md#data-encryption) |
| `dryRun` | boolean | Preview which flows would run, without submitting |
| `wait` | boolean | Block until the run completes instead of returning immediately (default `false`) |
| `waitTimeoutSeconds` | integer | Max seconds to wait when `wait` is true, 30–3600 (default `600`). A flow with [extended runtime](../configuration/extended-runtime.md) can run for up to 20 minutes, so raise this when the run includes one |
Expand Down
2 changes: 1 addition & 1 deletion security/security-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Where your data is held:

Data held by our database and file storage providers is encrypted at rest with AES-256, and data sent over the internet is encrypted in transit via TLS. Credentials get additional protection at the application level: API keys are stored only as a one-way hash, and webhook secrets and access tokens for connected services (such as Slack) are encrypted before being stored in the database.

On top of TLS, your uploads get envelope encryption by default. Before anything is uploaded, the CLI encrypts your app binary, flows and environment variables on your machine, each with its own random key (AES-256-GCM). It then encrypts each of those keys with DeviceCloud's public key (X25519), so the copies held in our storage and caches are ciphertext, and only our API can recover the keys that decrypt them. To turn envelope encryption off, pass `--no-encrypt` or set `DCD_ENCRYPT=0`. The upload is still encrypted in transit.
On top of TLS, the CLI always applies envelope encryption to your uploads. Before anything is uploaded, it encrypts your app binary, flows and environment variables on your machine, each with its own random key (AES-256-GCM). It then encrypts each of those keys with DeviceCloud's public key (X25519), so the copies held in our storage and caches are ciphertext, and only our API can recover the keys that decrypt them.

## Data Retention

Expand Down