Fill a credential
Type a secret’s or a vault’s values into a page in the session, without returning them.
Authorizations
Path Parameters
Session ID.
Body
Provide exactly one of credential, vault and onePassword (otherwise 400 "Pass one of credential, vault or onePassword"). With vault, every field has field; with onePassword, every field has ref; with credential, fields have only a selector.
The inputs to type into. Each selector may appear once.
1 - 16 elementsA secret's name or ID (names are matched first). It must have been attached to the session when the session was created, directly or through a vault. Each field then has only a selector.
1 - 255A vault's name. Each field's field names the entry whose secret is typed; the entry's secret must have been attached when the session was created.
^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$Fill fields read from 1Password with an op_token secret attached to the session as {"onePassword": name} in credentials (otherwise 403 CREDENTIAL_NOT_ATTACHED). Each field names its 1Password field in ref. The session's host reads the fields at fill time; nothing is stored. 1Password errors carry details.tokenSecretId and details.tokenVersion.
CDP target ID of the tab to fill, at most 128 UTF-8 bytes. Pass it, or pageUrl, when more than one tab could be the target. Not with pageUrl.
1Fill the tab whose URL starts with this prefix, at most 2048 UTF-8 bytes, instead of naming its pageId. Not with pageId.
1Target an iframe, such as an embedded login form. Without it, the tab's main frame is filled.
Response
Success
What was typed where. Never contains values.
CDP target ID of the tab filled.
Origin of the frame filled.
One result per requested field, in request order.
The secret version filled, for credential fills only. Absent for vault and onePassword fills, whose fields each report their own.