SaveSecretResponse
Response returned after attempting to create a Login item in a 1Password integration. The supplied password is never included in the response.
type SaveSecretResponse {
ok: Boolean!
ref: String
error: String
message: String
vaults: [String!]
time: Float
}
Fields
SaveSecretResponse.ok ● Boolean! non-null scalar
Whether the Login item was created.
SaveSecretResponse.ref ● String scalar
ID-based op:// reference to the created password field.
SaveSecretResponse.error ● String scalar
Stable error code when ok is false: VaultAmbiguous (several vaults visible and none named — pick one from vaults), VaultNotFound, IntegrationNotWritable, ItemCreateFailed, CredentialNotResolved, CredentialIntegrationExpired, VaultUnreachable, InvalidToken, or UnknownResolveError.
SaveSecretResponse.message ● String scalar
Human-readable explanation when ok is false.
SaveSecretResponse.vaults ● [String!] list scalar
Titles of the vaults visible to the integration, returned with error VaultAmbiguous when vault was omitted; null otherwise.
SaveSecretResponse.time ● Float scalar
The amount of time, in milliseconds, the operation took.
Returned By
saveSecret mutation