Connect to an Elasticsearch cluster using many different authentication methods. You can use passwords, API keys, certificates, or identity providers like LDAP, SAML, and OIDC. This guide helps you pick the right method and manage your credentials safely.
Never type secrets into a chat window. Always use environment variables or a .env file. This keeps your passwords and keys private.
Before you begin, make sure your Elasticsearch URL and credentials are ready. The authentication realms must already be set up on the cluster.
Global
mkdir -p ~/.claude/skills/elasticsearch-authnProject
mkdir -p .claude/skills/elasticsearch-authnSource Repository
Entra App Registrationmicrosoft/azure-skills
Register apps in Entra ID for secure authentication and API access with OAuth 2.0
Entra Agent Idmicrosoft/azure-skills
Create unique OAuth identities for each AI agent instance using Microsoft Graph
Firebase Auth Basicsfirebase/agent-skills
Add secure user sign-in to your app with Firebase Authentication in minutes
Convex Setup Authget-convex/agent-skills
Set up secure login and user management for your Convex app
Better Auth Best Practicesbetter-auth/skills
Add secure login to your app with email, OAuth, and plugins
Create Auth Skillbetter-auth/skills
Set up login and sign-up in your app with Better Auth easily
Email And Password Best Practicesbetter-auth/skills
Set up email verification, password reset, and secure login with Better Auth
Clerk Setupclerk/skills
Quickly add Clerk authentication to any project using the CLI tool