Skip to content

Commit c194b94

Browse files
authored
Merge pull request #186 from kernel/release-please--branches--main--changes--next
release: 0.119.0
2 parents 33aadd1 + e0ee655 commit c194b94

19 files changed

Lines changed: 175 additions & 16 deletions

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.118.0"
2+
".": "0.119.0"
33
}

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.119.0](https://github.com/kernel/kernel-python-sdk/compare/v0.118.0...v0.119.0) (2026-10-02)
4+
5+
6+
### Features
7+
8+
* Add managed auth provider to vault credential items ([795d824](https://github.com/kernel/kernel-python-sdk/commit/795d8241dfd22dc7667d7fd74c70182cc7467928))
9+
310
## [0.118.0](https://github.com/kernel/kernel-python-sdk/compare/v0.117.0...v0.118.0) (2026-10-02)
411

512

‎api.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,10 @@ from kernel.types.vaults import (
579579
KernelCredentialVaultItemState,
580580
KernelWalletState,
581581
KernelWalletVaultItemSpec,
582+
ManagedAuthCredentialVaultField,
583+
ManagedAuthCredentialVaultItemSpec,
584+
ManagedAuthCredentialVaultItemSpecInput,
585+
ManagedAuthCredentialVaultItemState,
582586
OnePasswordCredentialAccountSpec,
583587
OnePasswordCredentialAccountState,
584588
OnePasswordCredentialVaultItemSpec,

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kernel"
3-
version = "0.118.0"
3+
version = "0.119.0"
44
description = "The official Python library for the kernel API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/kernel/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "kernel"
4-
__version__ = "0.118.0" # x-release-please-version
4+
__version__ = "0.119.0" # x-release-please-version

‎src/kernel/resources/vaults/items.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def retrieve(
9393
approval, or credential collection. Return the current item when ready or when
9494
the wait elapses. This does not wait for edits to an already-ready credential;
9595
poll GET without wait and compare version to observe changes after collect.
96+
Managed auth credentials are created ready, so wait returns immediately.
9697
9798
extra_headers: Send extra headers
9899
@@ -315,7 +316,8 @@ def delete(
315316
recovery_required whose checkout create response returned no authorization ID
316317
may be explicitly abandoned by deleting that card directly; deleting its wallet
317318
or vault remains blocked. Deleting or recreating an item is not proof that a
318-
payment did not occur.
319+
payment did not occur. Deleting a managed auth credential item leaves the
320+
connection and its saved credential unchanged.
319321
320322
Args:
321323
extra_headers: Send extra headers
@@ -1270,6 +1272,7 @@ async def retrieve(
12701272
approval, or credential collection. Return the current item when ready or when
12711273
the wait elapses. This does not wait for edits to an already-ready credential;
12721274
poll GET without wait and compare version to observe changes after collect.
1275+
Managed auth credentials are created ready, so wait returns immediately.
12731276
12741277
extra_headers: Send extra headers
12751278
@@ -1492,7 +1495,8 @@ async def delete(
14921495
recovery_required whose checkout create response returned no authorization ID
14931496
may be explicitly abandoned by deleting that card directly; deleting its wallet
14941497
or vault remains blocked. Deleting or recreating an item is not proof that a
1495-
payment did not occur.
1498+
payment did not occur. Deleting a managed auth credential item leaves the
1499+
connection and its saved credential unchanged.
14961500
14971501
Args:
14981502
extra_headers: Send extra headers

‎src/kernel/types/vaults/__init__.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
from .credential_vault_field_update_param import CredentialVaultFieldUpdateParam as CredentialVaultFieldUpdateParam
4949
from .credential_vault_item_request_param import CredentialVaultItemRequestParam as CredentialVaultItemRequestParam
5050
from .kernel_wallet_vault_item_spec_param import KernelWalletVaultItemSpecParam as KernelWalletVaultItemSpecParam
51+
from .managed_auth_credential_vault_field import ManagedAuthCredentialVaultField as ManagedAuthCredentialVaultField
5152
from .one_password_credential_account_spec import OnePasswordCredentialAccountSpec as OnePasswordCredentialAccountSpec
5253
from .one_password_credential_account_state import (
5354
OnePasswordCredentialAccountState as OnePasswordCredentialAccountState,
@@ -61,9 +62,15 @@
6162
from .fill_vault_item_operation_request_param import (
6263
FillVaultItemOperationRequestParam as FillVaultItemOperationRequestParam,
6364
)
65+
from .managed_auth_credential_vault_item_spec import (
66+
ManagedAuthCredentialVaultItemSpec as ManagedAuthCredentialVaultItemSpec,
67+
)
6468
from .one_password_credential_vault_item_spec import (
6569
OnePasswordCredentialVaultItemSpec as OnePasswordCredentialVaultItemSpec,
6670
)
71+
from .managed_auth_credential_vault_item_state import (
72+
ManagedAuthCredentialVaultItemState as ManagedAuthCredentialVaultItemState,
73+
)
6774
from .one_password_credential_vault_item_state import (
6875
OnePasswordCredentialVaultItemState as OnePasswordCredentialVaultItemState,
6976
)
@@ -94,6 +101,9 @@
94101
from .webmcp_invoke_vault_item_operation_request_param import (
95102
WebmcpInvokeVaultItemOperationRequestParam as WebmcpInvokeVaultItemOperationRequestParam,
96103
)
104+
from .managed_auth_credential_vault_item_spec_input_param import (
105+
ManagedAuthCredentialVaultItemSpecInputParam as ManagedAuthCredentialVaultItemSpecInputParam,
106+
)
97107
from .one_password_credential_vault_item_spec_input_param import (
98108
OnePasswordCredentialVaultItemSpecInputParam as OnePasswordCredentialVaultItemSpecInputParam,
99109
)

‎src/kernel/types/vaults/credential_vault_item.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ class CredentialVaultItem(BaseModel):
8383
8484
1Password credentials advertise 1pw_create_access_request until a request is
8585
made, 1pw_access_request_status while its approval is pending, and 1pw_fill
86-
after access is granted.
86+
after access is granted. Managed auth credentials advertise fill while ready and
87+
nothing otherwise.
8788
"""
8889

8990
created_at: datetime
@@ -106,7 +107,8 @@ class CredentialVaultItem(BaseModel):
106107
version: int
107108
"""
108109
Starts at 1 and increments on PATCH and successful hosted submission, but not
109-
collection-link renewal.
110+
collection-link renewal. Managed auth credentials stay at 1; changes to the
111+
underlying credential are read at fill time and do not change the version.
110112
"""
111113

112114
action: Optional[Action] = None

‎src/kernel/types/vaults/credential_vault_item_request_param.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ class CredentialVaultItemRequestParam(TypedDict, total=False):
2020
Kernel credentials declare fields and may enter pending_collection.
2121
1Password credentials either reference a connected credential_account or
2222
store a supplied access token and integration key encrypted on the item.
23-
They store no login values or selectors. Repeating the original creation
24-
request returns the current item without overwriting later state. A
25-
different request at the same key returns 409.
23+
They store no login values or selectors.
24+
Managed auth credentials reference a managed auth connection in the same
25+
project that already has a saved credential, and read it at fill time;
26+
they store no values.
27+
Repeating the original creation request returns the current item without
28+
overwriting later state. A different request at the same key returns 409.
2629
"""
2730

2831
spec: Required[CredentialVaultItemSpecInputParam]

‎src/kernel/types/vaults/credential_vault_item_spec.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55

66
from ..._utils import PropertyInfo
77
from .kernel_credential_vault_item_spec import KernelCredentialVaultItemSpec
8+
from .managed_auth_credential_vault_item_spec import ManagedAuthCredentialVaultItemSpec
89
from .one_password_credential_vault_item_spec import OnePasswordCredentialVaultItemSpec
910

1011
__all__ = ["CredentialVaultItemSpec"]
1112

1213
CredentialVaultItemSpec: TypeAlias = Annotated[
13-
Union[KernelCredentialVaultItemSpec, OnePasswordCredentialVaultItemSpec], PropertyInfo(discriminator="provider")
14+
Union[KernelCredentialVaultItemSpec, OnePasswordCredentialVaultItemSpec, ManagedAuthCredentialVaultItemSpec],
15+
PropertyInfo(discriminator="provider"),
1416
]

0 commit comments

Comments
 (0)