Files
elasticsearch-js/docs/reference/api/SecurityGrantApiKeyGrantApiKey.md
2025-05-28 10:02:30 -05:00

1020 B

SecurityGrantApiKeyGrantApiKey [interface-SecurityGrantApiKeyGrantApiKey]

Name Type Description
expiration DurationLarge Expiration time for the API key. By default, API keys never expire.
metadata Metadata Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with _ are reserved for system usage.
name Name  
role_descriptors Record<string, SecurityRoleDescriptor> Record<string, SecurityRoleDescriptor>[]