Skip to content
Merged
Changes from 1 commit
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
8 changes: 7 additions & 1 deletion solutions/observability/synthetics/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,10 @@ npx @elastic/synthetics totp <secret> --issuer <issuer> --label <label>
: Name of the provider or service that is assocaited with the account.

`--label <string>`
: Identifier for the account. Defaults to `SyntheticsTOTP`

## Airgapped environments

When we have to deal with airgapped environments we often endup in quite complicated setups and workarounds. Custom certificates are very common and might not be trusted by your NodeJS install or NodeJS container. To circumvent this and still make it work you can execute all `npx` related commands with `NODE_TLS_REJECT_UNAUTHORIZED=0` at the beginning. Thus creating a new project looks like this `NODE_TLS_REJECT_UNAUTHORIZED=0 npx @elastic/synthetics init project-name`. This will ignore any certificate errors.


: Identifier for the account. Defaults to `SyntheticsTOTP`
Loading