Creates a service account. Save the client secret; it cannot be retrieved later.
The service account name and optional role bindings. Omit bindings to assign roles later.
The account details in serviceAccount and the secret in clientSecret.
Errors.PineconeArgumentError when the service account name is empty.
Deletes a service account.
The ID of the service account to delete.
Resolves when the deletion request succeeds.
Errors.PineconeArgumentError when serviceAccountId is empty.
Retrieves a service account by ID.
The service account ID returned when it was created or listed.
The service account details.
Errors.PineconeArgumentError when serviceAccountId is empty.
Lists one page of service accounts in the organization.
Page size and continuation token. Omit to fetch the first page with the default size.
Results in data; pass pagination.next as paginationToken to fetch the next page.
Replaces a service account client secret, invalidating the previous secret.
Save the new secret; it cannot be retrieved later.
The ID of the service account whose secret to replace.
The account details in serviceAccount and the new secret in clientSecret.
Errors.PineconeArgumentError when the service account ID is empty.
Updates a service account. Omitted fields remain unchanged.
The ID of the service account to update.
Fields to change, such as name.
The updated service account details.
Errors.PineconeArgumentError when serviceAccountId is empty.
Service accounts authenticate applications that administer an organization. Access this resource through AdminClient.serviceAccounts; do not construct it directly. Use AdminClient.apiKeys for project API keys.
Example