Skip to content

Commit 1c3b388

Browse files
feat: Expose vault access in organization entitlements
Stainless-Generated-From: 0553bf6048bcef35a58d4c3536f16301fa5ed99a
1 parent ecaa457 commit 1c3b388

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/kernel/types/organization/org_entitlements.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"FeaturesManagedProxies",
2222
"FeaturesProfiles",
2323
"FeaturesProxyBypassHosts",
24+
"FeaturesVaults",
2425
"Limits",
2526
"Plan",
2627
]
@@ -114,6 +115,15 @@ class FeaturesProxyBypassHosts(BaseModel):
114115
"""Whether the organization is entitled to use this feature."""
115116

116117

118+
class FeaturesVaults(BaseModel):
119+
"""
120+
Whether the organization can access vaults, using the same access check as vault API routes.
121+
"""
122+
123+
enabled: bool
124+
"""Whether the organization is entitled to use this feature."""
125+
126+
117127
class Features(BaseModel):
118128
browser_extensions: FeaturesBrowserExtensions
119129

@@ -139,6 +149,12 @@ class Features(BaseModel):
139149

140150
proxy_bypass_hosts: FeaturesProxyBypassHosts
141151

152+
vaults: FeaturesVaults
153+
"""
154+
Whether the organization can access vaults, using the same access check as vault
155+
API routes.
156+
"""
157+
142158

143159
class Limits(BaseModel):
144160
default_max_concurrent_invocations_per_app: int

0 commit comments

Comments
 (0)