Skip to main content

Methods

List virtual accounts for the tenant.

Parameters

typing.Optional[int]
Number of items per page
typing.Optional[int]
Number of items to skip
typing.Optional[str]
Return virtual accounts with names that contain this string
typing.Optional[typing.Union[str, typing.Sequence[str]]]
Return virtual accounts owned by these teams
typing.Optional[bool]
Filter virtual accounts by expiration status. true = expired, false = not expired
typing.Optional[str]
JSON string: structured filter tree (AND/OR groups, column leaves on name, json_map leaves on manifest.tags).

Returns

SyncPager[VirtualAccount, ListVirtualAccountResponse]
🔗 ListVirtualAccountResponseReturn all virtual accounts for the tenant

Usage

Creates a new virtual account or updates an existing one based on the provided manifest.

Parameters

VirtualAccountManifest
required
🔗 VirtualAccountManifestVirtual account manifest
typing.Optional[bool]
Dry run

Returns

GetVirtualAccountResponse
🔗 GetVirtualAccountResponseVirtual account created/updated successfully

Usage

Get virtual account by id

Parameters

str
required
serviceaccount id

Returns

GetVirtualAccountResponse
🔗 GetVirtualAccountResponseReturns the virtual account associated with the provided virtual account id

Usage

Delete a virtual account associated with the provided virtual account id.

Parameters

str
required
serviceaccount id

Returns

DeleteVirtualAccountResponse
🔗 DeleteVirtualAccountResponseVirtual account deleted successfully

Usage

Get token for a virtual account by id

Parameters

str
required
serviceaccount id

Returns

GetTokenForVirtualAccountResponse
🔗 GetTokenForVirtualAccountResponseToken for the virtual account

Usage

Syncs the virtual account token to the configured secret store. Returns the updated JWT with sync metadata including timestamp and error (if any).

Parameters

str
required
serviceaccount id

Returns

SyncVirtualAccountTokenResponse
🔗 SyncVirtualAccountTokenResponseToken synced successfully to secret store

Usage

Regenerate token for a virtual account by id. The old token will remain valid for the specified grace period.

Parameters

str
required
serviceaccount id
float
required
Grace period in days for which the old token will remain valid after regeneration

Returns

GetTokenForVirtualAccountResponse
🔗 GetTokenForVirtualAccountResponseToken for the virtual account

Usage

Delete a JWT for a virtual account by id

Parameters

str
required
virtual account id
str
required
JWT id

Returns

None

Usage