Skip to main content

OrgApiKeyFormData

@gravity-rail/sdk


@gravity-rail/sdk / OrgApiKeyFormData

Interface: OrgApiKeyFormData

The organization mint form: the shared key fields plus the key's required workspaceScope — the one organization -> workspace gate shared with organization webhook endpoints and org Agents. { mode: 'all' } reaches every current and future workspace of the organization; { mode: 'selected', workspaceUuids, labelSelector } reaches the listed workspaces plus every workspace carrying ALL of the labelSelector labels; { mode: 'none' } reaches nothing. The scope is fixed at mint.

Extends​

Properties​

expiresInDays​

expiresInDays: number

Inherited from​

ApiKeyFormData.expiresInDays


name​

name: string

Inherited from​

ApiKeyFormData.name


scopes​

scopes: string[]

Inherited from​

ApiKeyFormData.scopes


workspaceScope​

workspaceScope: OrgWorkspaceScopeRequest