You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add optional flag to skip secret masking during export (#1396)
* feat: add AUTH0_EXPORT_SECRETS flag to allow exporting real secret values
Adds optional AUTH0_EXPORT_SECRETS config flag (and --export_secrets CLI option)
that skips secret masking during export. When disabled (default), secrets continue
to be replaced with placeholder markers like ##CONNECTIONS_OAUTH2_SECRET##.
Addresses issue #1356.
Copy file name to clipboardExpand all lines: docs/configuring-the-deploy-cli.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,12 @@ Boolean. When enabled, will return identifiers of all resources. May be useful f
179
179
180
180
Boolean. When enabled, exports JSON and YAML resources with keys sorted alphabetically, producing stable and deterministic output. Useful for reducing noise in diffs when keys would otherwise appear in non-deterministic order. Default: `false`.
181
181
182
+
### `AUTH0_EXPORT_SECRETS`
183
+
184
+
Boolean. When enabled, exports actual secret values (e.g. connection `client_secret`, log stream tokens, email provider credentials, attack protection CAPTCHA secrets) instead of replacing them with placeholder markers like `##CONNECTIONS_OAUTH2_SECRET##`. Useful for backup and restore scenarios where secrets need to be preserved. Default: `false`.
185
+
186
+
> **Warning:** Enabling this option will write real credentials to exported files. Use with caution in shared or version-controlled environments.
187
+
182
188
### `EXCLUDED_PROPS`
183
189
184
190
Provides ability to exclude any unwanted properties from management.
Copy file name to clipboardExpand all lines: docs/using-as-cli.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,10 @@ Boolean. When enabled, will export the identifier fields for each resource. Defa
29
29
30
30
Boolean. When enabled, exports resource configuration files with keys sorted alphabetically, producing stable and deterministic output. Useful for reducing noise in diffs. Default: `false`.
31
31
32
+
### `--export_secrets`
33
+
34
+
Boolean. When enabled, exports actual secret values instead of replacing them with placeholder markers (e.g. `##SMTP_PASS##`). Useful for backup and restore scenarios. **Warning:** real credentials will be written to exported files. Default: `false`.
35
+
32
36
### `--env`
33
37
34
38
Boolean. Indicates if the tool should ingest environment variables or not. Default: `true`.
0 commit comments