You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d230fe4
Browse filesBrowse the repository at this point in the historyBrowse files
Update Go SDK to 6923472 and send the kernel credential provider
Bump github.com/kernel/kernel-go-sdk to 6923472efed1a4e7f9d6f26124c3cbd381122812
("Let Vaults fill credentials from 1Password"). The credential create spec is now
a provider union, so vaults credentials create wraps the spec as the Kernel
variant, defaults provider to "kernel", and rejects other providers. 1Password
credentials, credential_account items, and the 1pw_* operations are left to
the dedicated 1Password CLI work in #271.
Tested against the real API: vaults create, credentials create (provider
defaulted to kernel), credentials update, items get, items list, credentials
create with provider 1password (rejected client-side), vaults delete.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
return kernel.CredentialVaultItemSpecInputUnionParam{}, fmt.Errorf("credential spec provider must be kernel")
147
+
}
148
+
ifinvalid||len(spec.Fields) ==0 {
149
+
ifcredentialSpecUsesKeyedFields(data) {
150
+
return kernel.CredentialVaultItemSpecInputUnionParam{}, fmt.Errorf("credential spec fields must be an ordered array of definitions carrying a name, not an object keyed by name")
0 commit comments