Forum Discussion

pzb's avatar
pzb
New Contributor
10 months ago

Indicating unsupported fields in CLI

When fetching JSON via item get in the CLI, it doesn't seems to show any indication that the item has a passkey. The JSON copied from the app shows the full info.

Is there a way to tell the CLI to indicate there is additional data in the item that the CLI cannot access?

As an example, this is the JSON from the CLI:

{
"id": "megrgkqm3x5qbm5nd4ehjfgijq",
"title": "webauthn.io",
"version": 1,
"vault": {
"id": "0q0s00k0f0pe0lcljazeexample",
"name": "Private"
},
"category": "LOGIN",
"last_edited_by": "OE5R4O3WE5ECZLVJPTALEXAMPLE",
"created_at": "2025-01-20T20:20:16Z",
"updated_at": "2025-01-20T20:20:16Z",
"additional_information": "jwilliams_ex",
"urls": [
{
"label": "website",
"primary": true,
"href": "https://webauthn.io"
}
],
"fields": [
{
"id": "username",
"type": "STRING",
"purpose": "USERNAME",
"label": "username",
"value": "jwilliams_ex",
"reference": "op://Private/webauthn.io/username"
},
{
"id": "password",
"type": "CONCEALED",
"purpose": "PASSWORD",
"label": "password",
"reference": "op://Private/webauthn.io/password",
"password_details": {
"strength": "TERRIBLE"
}
},
{
"id": "notesPlain",
"type": "STRING",
"purpose": "NOTES",
"label": "notesPlain",
"reference": "op://Private/webauthn.io/notesPlain"
}
]
}

while this is the JSON copied from the app:
```
{
"overview": {
"title": "webauthn.io",
"url": "https://webauthn.io",
"ainfo": "jwilliams_ex",
"ps": 0,
"pbe": 0,
"pgrng": false,
"URLs": [
{
"l": "website",
"u": "https://webauthn.io"
}
],
"b5AccountUUID": "TLDZXK6RNFGWJNHER3NOEXAMPLE",
"passkey": {
"credentialId": "ZKc_sOnX4-wvhAS42PkRbg",
"rpId": "webauthn.io",
"userHandle": "3D4R4E3rN2G7a0_B-o1BsIhvpO0iu7m-vFTpEQADECY"
}
},
"details": {
"sections": [],
"fields": [
{
"id": "identifier",
"type": "T",
"value": "jwilliams_ex",
"designation": "username"
}
],
"passkey": {
"type": "webauthn",
"createdAt": 1737404416,
"privateKey": "eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwiZCI6IkIwOTBNdmF1OFNKR3d4amVjQmxkZl9XM3dvckZiT0N1STY3a2xPVXJ6MUkiLCJ4IjoiSzExSzh0T3U1UThZTGhmSXBsQXZVYjE5OXNnTXdnYld4a0xnX3RXRFhnYyIsInkiOiJQNXItSWhQQjJ4RzBJVmhTMHBqLW54SVRjZ1RuNkxoNmZGa01UVWJKeC1rIiwiYWxnIjoiRVMyNTYifQ",
"userHandle": "3D4R4E3rN2G7a0_B-o1BsIhvpO0iu7m-vFTpEQADECY"
}
},
"createdAt": "2025-01-20T20:20:16Z",
"updatedAt": "2025-01-20T20:20:16Z",
"faveIndex": 0,
"trashed": "N",
"templateUuid": "001",
"uuid": "megrgkqm3x5qbm5nd4ehjfgijq"
}

```


1Password Version: 8.10.56
Extension Version: Not Provided
OS Version: macOS 15.2
Browser: Not Provided

No RepliesBe the first to reply