--navigator-credential-origin
- CLI
- --navigator-credential-origin
Sets the URL glob where a credential may be typed, replacing its default scope of the start URL’s registrable domain. Repeatable.
| Form | Selects |
|---|---|
password=GLOB | the credential named password |
*_ | every credential whose name matches the glob; ? matches one character |
*=GLOB or GLOB | every credential |
Globs follow the scope globs. Every entry must select at least one configured credential. A request’s navigator_credential_origin scopes only that request’s own credentials.
Example
zshot -f pipeline.png \
--navigator-type "anthropic://YOUR_API_KEY@" \
--navigator-credential email=success@zshot-app.com \
--navigator-credential password=password \
--navigator-credential-origin "*=/example_assets/zrm/*" \
--navigate "Log in and open the pipeline" \
https://zshot-cli.com/example_assets/zrm/{
"url": "https://zshot-cli.com/example_assets/zrm/",
"output_type": "png",
"navigate": "Log in and open the pipeline",
"navigator_type": ["anthropic://YOUR_API_KEY@"],
"navigator_credential": { "email": "success@zshot-app.com", "password": "password" },
"navigator_credential_origin": { "*": ["/example_assets/zrm/*"] }
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/zrm/","output_type":"png","navigate":"Log in and open the pipeline","navigator_type":["anthropic://YOUR_API_KEY@"],"navigator_credential":{"email":"success@zshot-app.com","password":"password"},"navigator_credential_origin":{"*":["/example_assets/zrm/*"]}}' \
-o pipeline.png