Creates a client for administering Pinecone resources.
Optionalconfig: AdminClientConfiguration
Service account credentials and request settings. Omit credentials to read
PINECONE_CLIENT_ID and PINECONE_CLIENT_SECRET from the environment.
Errors.PineconeConfigurationError when either credential is missing.
ReadonlyapiOperations for managing API keys within a project.
ReadonlyinvitesOperations for managing invitations to join the organization.
ReadonlyorganizationsOperations for managing organizations.
ReadonlyprojectsOperations for managing projects.
ReadonlyroleOperations for managing role bindings.
ReadonlyserviceOperations for managing service accounts within the organization.
ReadonlyusersOperations for managing users within the organization.
The Admin client manages organizations, projects, and access to them. Create it with service account credentials, supplied through AdminClientConfiguration or
PINECONE_CLIENT_IDandPINECONE_CLIENT_SECRET. Use Pinecone with a project API key for index and data operations.Credentials are exchanged on the first request. The client does not refresh an expired authentication token; create a new client if the token expires.
Example