How Kubernetes kubectl SSO with Dex and LDAP or Active Directory works
Engineers who reach clusters through shared kubeconfig files or long-lived client certificates cannot be removed from access cleanly when they leave, and their activity cannot be tied to a person. The design in this topic replaces that with corporate logins. Dex sits between the cluster and your directory. The API server is configured to trust Dex as an OpenID Connect issuer, so it accepts the identity tokens Dex issues. Engineers never authenticate to the API server directly. They authenticate to Dex, and Dex hands the tokens back to the client.
Dex is a federated OpenID Connect provider with connectors, and it owns no user store of its own. Authentication is deferred to an upstream source through a connector, and the LDAP and Active Directory connectors are the two most likely to matter here. Your directory remains the system of record for accounts, passwords, group membership and account disablement. When someone is removed from the directory, Dex can no longer complete a login for them, which is the main operational benefit over certificates. Confirm before you build which directory your organization actually uses, whether that is on-premises Active Directory, an LDAP server, or a cloud identity service synced from Active Directory, because each has a different connector path and a different set of group attributes to map.
kubelogin is the workstation side of the flow. It is a kubeconfig credential plugin that opens a browser for the Dex login, receives the tokens and supplies them to kubectl on each request. Dex and kubelogin both need refresh-token behavior to be correct for long working sessions, so check which connector you plan to use before committing to it. The Dex README marks the LDAP connector as stable, and it notes that SAML cannot issue refresh tokens, which matters for kubectl. Plan the connector choice, the group claim your RBAC will depend on, and the TLS trust for Dex and the directory with your identity team first.
What you need before configuring Dex for kubectl login
Dex sits between your Kubernetes API server and your directory, so the work splits into four areas: the control plane changes, the place Dex runs and keeps its state, the directory account and network path, and the certificates and workstation setup. Confirm each area with the owners who control it before you write a single connector block.
Control plane access for OIDC flags
Configuring the API server to trust Dex means setting OpenID Connect options on kube-apiserver, which requires write access to the control plane manifests or the cluster configuration. Confirm who can change those files, how a change is rolled out across every control plane node, and how you would revert it if logins break. Keep a working client certificate for break-glass access before you start, so a bad flag cannot lock every administrator out.
Kubernetes authentication docsDex deployment target and storage
Dex can run natively on Kubernetes using Custom Resource Definitions, but its storage choice shapes the design. Dex supports etcd v3, Kubernetes CRDs (which the docs say may not suit a large number of users), PostgreSQL or MySQL 5.7 or later. SQLite3 is only suitable for standing Dex up quickly, not for real workloads, so plan a PostgreSQL or MySQL database with backups if you need high availability.
Dex storage optionsDirectory service account and network path
Dex needs a read-only bind account in LDAP or Active Directory to search for users and read group membership. Ask the directory team for a dedicated account with the minimum read permissions, its distinguished name, and the search base for users and groups. Confirm that the Dex pods can reach the domain controllers or LDAP servers over the required port through your firewalls and network policies, and that every domain controller they might contact is reachable.
TLS certificates for Dex and LDAP
Users reach Dex over HTTPS, and kubectl and kubelogin must trust the certificate Dex presents, so the Dex endpoint needs a certificate chain your workstations already trust. Dex also needs to validate the certificate of your LDAP or Active Directory endpoint. Identify the internal certificate authority that issues both, confirm its root is distributed to the cluster and workstations, and set a renewal owner for each certificate before go-live.
Active Directory licensing and lifecycle
If your directory is Active Directory, it runs on Windows Server, a decision your organization owns, not DeployOpen or Dex. Microsoft licenses Windows Server 2025 per core, with a minimum of 16 cores per server and 8 per processor, and every user or device that accesses the server needs a Client Access License. Windows Server 2025 mainstream support ends November 14, 2029, while Windows Server 2022 mainstream support ended October 14, 2026, so confirm the version you run and its support dates with Microsoft and your licensing advisers.
Windows Server 2025 lifecycleWorkstation prerequisites for kubelogin
Each engineer's workstation needs kubelogin, the client plugin that opens a browser, completes the Dex login and writes a token into the kubeconfig. Check the operating systems in use, whether engineers can install binaries or need them packaged by endpoint management, and whether a browser is available on jump hosts or remote sessions. Decide how the kubeconfig is distributed so users do not copy static credentials from admin.conf.
Configuration sequence from Dex deployment to first kubectl login
This sequence takes an engineer from an empty Dex deployment to a kubectl login that uses corporate directory accounts, with each step closed by a check that proves the layer below it works. It is the order most teams follow when they connect Dex to LDAP or Active Directory and then to a cluster's API server.
Deploy Dex with storage and TLS
The platform team deploys Dex on Kubernetes using its custom resource definitions or another supported storage backend, such as PostgreSQL or MySQL for larger user populations, and serves it over TLS under a hostname that engineers and the API server can both reach. Dex owns no user store, so it holds only session and connector state. Confirm the storage choice against the Dex storage documentation, since SQLite3 is intended only for quick trials. The step is done when the Dex discovery document loads over HTTPS with a certificate the API server host trusts.
Configure the LDAP or Active Directory connector
The directory team creates a read-only bind account with the narrowest rights that allow user and group search, and the platform team adds an LDAP connector to the Dex configuration with user and group search base DNs, filters and the attributes that supply the username, email and group membership. Use TLS for the directory connection and confirm the connector status for your Dex release, since the LDAP connector is marked stable in the Dex README. The step is done when a test login through the Dex web page returns an identity with the expected username and group memberships.
Register a static OIDC client for kubelogin
The platform team adds a static client to Dex with a client ID, a client secret and an exact redirect URI that kubelogin uses on engineer workstations, and it enables refresh tokens so kubectl sessions can continue without repeated prompts. Keep the client secret in a secrets manager rather than in plain configuration files. The step is done when the client appears in the Dex configuration and a manual authorization request for that client ID completes against the directory login page.
Point the API server at the Dex issuer
An administrator sets the kube-apiserver OIDC flags, or an AuthenticationConfiguration file on newer clusters, with the Dex issuer URL, the client ID, the username claim and the groups claim, and restarts or reloads the API server according to how the cluster was installed. The issuer must match the iss value in tokens exactly, and the CA bundle must let the API server reach Dex. The step is done when the API server starts cleanly and a token issued by Dex is accepted for authentication.
Bind directory groups to ClusterRoles
The security team maps each directory group to a ClusterRole or namespaced Role through RoleBindings and ClusterRoleBindings, using the group names exactly as the groups claim presents them, which is often a full distinguished name unless the connector is configured to shorten it. Keep system:masters out of these bindings and reserve it for break-glass access. The step is done when an access review or
kubectl auth can-i --listrun as a test user shows only the permissions that user's groups should have.Install kubelogin on engineer workstations
Engineers install the kubelogin plugin, and the platform team supplies a kubeconfig entry that calls it with the Dex issuer, client ID and the cluster's CA certificate, so kubectl obtains tokens through the browser sign-in flow. Confirm the plugin version against the kubelogin project's current documentation before rollout. The step is done when a workstation kubeconfig runs
kubectlcommands after one browser login and stores no static cluster credentials.Test the first login and inspect claims
A pilot group of engineers from two or three directory groups signs in with kubelogin, and the platform team decodes the ID token to confirm that the issuer, audience, username and groups claims match the configured values. They then run access checks for each group and confirm that users outside the groups receive a Forbidden response. The step is done when every pilot user gets the expected permissions, the token claims match the API server settings, and a disabled directory account can no longer obtain a new token.
Choosing the LDAP or Active Directory connector and its maturity
Choose the LDAP connector for Active Directory unless your own testing shows another connector meets your needs. Dex's README marks its LDAP, GitHub and SAML 2.0 connectors as stable, while the OpenID Connect and Microsoft connectors are beta and several others are alpha. The Microsoft connector is not a confirmed fit for on-premises Active Directory, so do not select it on the assumption that it covers your domain. Check the current connector status in the Dex README before you commit, because maturity labels change between releases. Record the Dex version you test against, since the project ships new releases regularly and the status of beta connectors in particular can move.
Avoid the SAML 2.0 connector for this use case. The Dex README warns that it is unmaintained and likely vulnerable to authentication bypasses, which is a disqualifying risk for a cluster login path. It also has a functional gap: SAML has no non-interactive way to refresh assertions, so Dex issues no refresh token when a user logs in through it. kubectl and kubelogin depend on refresh tokens for offline access, so engineers using a SAML-backed Dex would be forced to log in again whenever their short-lived token expires. Confirm this behavior in your own test before ruling SAML out for other reasons, and if your identity source only offers SAML, plan the trade-off explicitly with your security team.
Before the build starts, run a short proof of concept against a non-production domain. Confirm that the LDAP connector returns the group attributes your RBAC design needs, that a bind account with read-only access works, and that a user removed from the directory cannot obtain a new token. Ask the directory team who owns the bind account, how its password rotates, and whether LDAPS or StartTLS is enforced. These checks decide the connector choice in practice, so write their results into the design record.
How directory attributes and groups map to Kubernetes identity and RBAC
This table traces one login from the directory attribute Dex reads, through the OIDC claim it issues, to the API server flag that sets the Kubernetes identity and finally the binding that grants access. Read each row as a hop in the chain, and check every hop when a user gets the wrong permissions or none at all.
| Stage | What it carries | Where it is set and what to check |
|---|---|---|
| Directory user ID | A stable, unique identifier such as objectGUID in Active Directory or a uid-style attribute in LDAP | Set in the Dex connector's user ID attribute. Pick a value that does not change when a person is renamed, because it becomes the subject of the token. |
| Username | The login name a person types or the display name used for audit trails | Set in the Dex connector's username attribute. Confirm the value is unique across the directory, since two users with the same name can collide in logs and bindings. |
| The address Dex returns as the email claim, often used as the Kubernetes username | Set in the connector's email attribute. Verify the mail attribute is populated for every engineer, because missing emails break username mapping. | |
| Group membership | Group names returned as the groups claim in the ID token | Set in the connector's group search or group attribute. Group names must match exactly, including case and any prefix Dex adds, or RoleBindings will silently match nothing. |
| API server flags | --oidc-username-claim, --oidc-groups-claim and --oidc-groups-prefix decide the Kubernetes username and groups | Set on kube-apiserver, or in an AuthenticationConfiguration file on newer setups. Confirm the claim names match Dex's output and avoid a prefix unless you need one to separate groups from built-in names. |
| RoleBindings and ClusterRoleBindings | Subjects of kind Group or User that reference a Role or ClusterRole | Bind each directory group to the narrowest role that fits. Keep system:masters for break-glass only, and follow the least-privilege RBAC design for role patterns and review cadence. |
Security settings that protect the Dex login path
Dex sits between kubectl and your directory, so a weak link anywhere in the chain lets someone obtain cluster access they should not have. The cards below cover the transport, the directory account, the configuration and secrets, the token behavior, and the fallback access that keeps you in control if the login path fails.
TLS on LDAP and Dex
Dex sends user credentials to the LDAP server during login, so the LDAP connection should use TLS and validate the directory server certificate. Dex also issues the tokens that kubectl and kubelogin use, so its issuer endpoint must be served over HTTPS with a certificate your workstations trust. Check both paths during setup, including the certificate chain that the API server is given for the OIDC issuer. Confirm the exact LDAP connector settings for TLS in the Dex documentation for your version.
Dex READMELeast-privilege bind account
Dex authenticates users by binding to the directory, which requires a service account with read access to the user and group objects it needs. Give this account read-only rights scoped to the search base used by the connector, and do not reuse a domain administrator or a personal account. Rotate its password on a schedule you control and record who owns it. Your directory team should confirm which attributes the account can read, since group claims depend on them.
Restricting access to Dex configuration
The Dex configuration holds the LDAP bind credentials and the OIDC client secret used by kubelogin and the API server. Anyone who can read the Dex config, or the Kubernetes Secret or ConfigMap that holds it, can take those credentials and act against the directory or the login flow. Limit read access with RBAC so that only the platform team can read the Dex namespace, and review those bindings regularly. Store the client secret and bind password in a managed secret store where your team can, rather than in plain manifests in source control.
Encryption at rest for Secrets in etcd
Kubernetes stores Secrets unencrypted in etcd by default, and Dex deployments keep credentials there. Configure encryption at rest for the API server so that Secrets are encrypted before they reach etcd, and restrict list and watch access to Secrets with least-privilege RBAC. Where your policy requires it, use an external store through the Secrets Store CSI Driver. Confirm the encryption provider configuration with your cluster distribution, and verify that existing Secrets are re-written after encryption is enabled.
Secrets good practicesAvoiding the SAML connector
The SAML 2.0 connector is marked unmaintained in the Dex README, which warns it is likely vulnerable to authentication bypasses. Because SAML issues no refresh token through Dex, clients that need offline access, such as kubectl, cannot keep sessions alive without a new login. If your directory is reachable through LDAP or another supported connector, prefer that path. If SAML is the only option, plan for a review of the connector and its risk before you go live.
Dex connector statusToken lifetimes and refresh behavior
Set the ID token lifetime and the refresh behavior deliberately, because a stolen token stays usable until it expires. Shorter lifetimes limit exposure but make engineers log in more often, so agree on values with the security and operations teams. Confirm which token and refresh settings your Dex version exposes, and test how kubelogin handles expired tokens on workstations. Remove access quickly by disabling the user or group in the directory, and verify that Dex stops issuing new tokens for that user.
Break-glass credential outside SSO
If Dex, the LDAP server or the directory goes down, engineers may have no way to reach the cluster, and a misconfigured OIDC setting can lock everyone out. Keep at least one break-glass credential that does not depend on the SSO path, stored in a sealed and audited location, and tested on a schedule. Restrict its use to the smallest set of people and log each use. Keep the break-glass path documented so that an on-call engineer can follow it without the directory being available.
How a kubectl login flows from workstation through Dex to the API server
The login starts on the engineer's workstation, where kubelogin opens a browser and sends the user to Dex. Dex defers authentication to the LDAP or Active Directory connector, which is the trust boundary: the directory checks the password, and Dex never holds user passwords of its own. Dex then returns an ID token carrying a groups claim, which kubelogin stores in the kubeconfig. The kube-apiserver validates the token signature and issuer, and RBAC grants access based on the group bindings. Check the group names and claim mapping at each hand-off, because a mismatch fails silently as an authorization denial.
Token flow from workstation to API server, with the directory trust boundary marked.
Common failures in Dex LDAP and Active Directory kubectl logins
This table lists the failures teams most often hit when engineers log in to clusters through Dex, with the usual cause and fix for each. Read it while troubleshooting, and check the config and client settings named in each row before changing the directory. Most failures trace back to a mismatch between the issuer, audience, group claims or trust settings.
| Symptom | Likely cause | Fix to check first |
|---|---|---|
| Unauthorized after a successful browser login | Issuer URL or client audience in the API server OIDC settings does not match what Dex issues in the token | Compare the token's iss and aud values with the API server's issuer URL and client ID, then correct whichever side is wrong |
| User authenticates but has no permissions | Groups claim is missing, so no RBAC binding matches the user | Decode a token to confirm the groups claim exists, then check the group search filter or memberOf overlay in the directory |
| Groups claim empty for some users only | LDAP group search base or filter does not cover the user's group nesting or object class | Test the group query directly against the directory with the bind account, and widen the filter or base only as far as needed |
| No refresh token issued | User logged in through the SAML connector, which does not issue refresh tokens | Use the LDAP or another connector that supports refresh for kubectl, since offline access depends on the refresh token |
| x509 certificate signed by unknown authority on LDAP bind | Directory server certificate chain is not in the trust bundle Dex mounts | Add the internal CA to Dex's trusted certificates and confirm the directory hostname matches the certificate name |
| Dex pods restart or lose sessions after a scale-out | Storage backend is SQLite3 or a store unsuited to multiple replicas, or CRD storage is under heavy user load | Move to a shared backend that Dex documents for production, such as PostgreSQL, MySQL 5.7 or later, or etcd v3 |
| Login works for one engineer, then fails with an old identity | kubelogin cache holds a stale or expired token or an old group set | Clear the kubelogin token cache on the workstation and log in again so new claims are issued |
| Token rejected as not yet valid or expired immediately | Clock skew between the workstation, Dex host and API server | Confirm all three hosts sync time with NTP, then retry, since token validity windows depend on accurate clocks |
| Login loop or redirect error in the browser | Redirect URI registered in Dex does not match the kubelogin callback address | Align the redirect URI in the Dex static client with the address kubelogin uses, including scheme and port |
Questions buyers ask before hiring help with Dex and LDAP or AD login
What drives the cost of setting up Dex with LDAP or Active Directory?
The main cost driver is how complex the directory is and how many people must agree to the design. A single domain with clean group structure and a known LDAP bind account is a smaller piece of work than a multi-forest estate with nested groups, legacy service accounts and unclear ownership. The number of clusters, whether Dex must be highly available, and how much audit evidence the security team expects also add effort. Ask any partner for a quote built from a written scope that lists the directory type, cluster count, HA requirement and evidence deliverables.
Does Active Directory add licensing cost to a Dex project?
Dex itself is Apache 2.0 licensed, so the software carries no license fee. Active Directory Domain Services is a Windows Server role, and if your organization does not already run domain controllers, the Windows Server licensing for them is a separate cost owned by your organization. Microsoft licenses Windows Server per core with a minimum per server, and each user or device accessing the server needs a Client Access License. Confirm your current licensing position with your Microsoft account team or licensing advisor before assuming any figure.
Who owns the directory, and why does that change the engagement?
The team that owns the directory, usually identity or Windows infrastructure, decides which groups, service accounts and attributes Dex can read. If that team is separate from the platform team, the project has more handoffs, and the access request for a read-only bind account can take longer than the technical work. Agree on ownership of the bind account, group naming and change control before the build starts. Otherwise the cluster team may depend on directory changes they cannot make or review.
How long does a Dex and LDAP login project take?
Duration depends on scope rather than on a fixed figure. The timeline grows with the number of directory sources, the number of clusters that need the same login, the number of group-to-role mappings, and whether Dex must run highly available with a backing database. Approvals for directory access and certificate issuance often set the pace more than configuration does. Ask for a timeline that separates directory access, build, testing with pilot users and rollout to other clusters, and name the approvals each phase depends on.
What must our team provide before the work starts?
You need to provide directory access, a read-only bind account for LDAP queries, the LDAP or AD endpoints and CA certificates used for TLS, and a list of groups that map to Kubernetes roles. Someone with cluster-admin rights must be able to change API server authentication settings, or the design must work through a supported configuration path. You also need a named owner for the Dex database, DNS names for the login endpoint, and a decision on who can approve RBAC bindings. Missing items in this list are the most common cause of delay.
Can a small platform team set this up alone?
A team with Kubernetes, LDAP and TLS experience can often build a single-cluster proof of concept alone, using the documentation for Dex and the Kubernetes OpenID Connect settings. The harder parts are usually directory queries that map groups correctly, certificate handling, HA design and testing that a second person reviews. Teams with no directory administrator, no change window on production clusters or no test cluster should expect longer work. Decide which tasks you will keep in-house, such as group ownership, and which need external review.
Should we use Dex, Pinniped or native OIDC for kubectl login?
The choice depends on the directory, the number of clusters and whether you can change API server flags. Dex fits when you need a single OIDC issuer that brokers LDAP or AD login and you control the API server configuration. Pinniped suits many clusters that need one login experience, including clusters where API server flags cannot be changed. Native OIDC works when your identity provider already speaks OIDC directly and can issue the group claims you need. Compare the three against your cluster count, directory type and change-control limits before choosing.
What does a highly available Dex deployment require?
A highly available Dex deployment needs more than extra replicas. Dex must use a storage backend that several instances can share, such as PostgreSQL or MySQL, because SQLite3 is intended only for quick trials. Expect a load balancer or ingress in front of the replicas, TLS certificates for the login endpoint, and a plan for rotating signing keys and connector secrets. You also need to test failover of the database and of individual Dex pods, and to confirm that kubelogin and kubectl keep working during a rolling update. Ask the partner to show how each of these is tested.
Running Dex highly available without a single login point
Running Dex highly available depends on one decision: where its state lives. Dex owns no user store, but it does keep state for refresh tokens, authorization codes and connector data in the storage backend you configure. Its documentation lists etcd v3, Kubernetes CRDs, SQLite3, PostgreSQL and MySQL 5.7 or later. SQLite3 is meant only for standing Dex up quickly, so for an HA design the realistic choices are PostgreSQL or MySQL as a shared external store that every replica reads and writes. Confirm in the Dex storage documentation which backends are supported for multiple replicas and whether CRD storage is suitable for your user count, since the docs warn it may not suit large numbers of users.
Once state is shared, run at least two Dex replicas behind a TCP or HTTPS load balancer with a stable issuer URL, for example a DNS name that points at the load balancer rather than a single pod or node. The issuer URL is written into every token and into the API server's OIDC settings, so changing it later forces every kubeconfig and kubelogin setup to be updated. The kubeadm high availability guidance uses the same pattern for kube-apiserver: several control plane nodes behind a TCP load balancer on port 6443. Borrow the health check and failover approach from that guide, and make sure the load balancer, certificates and DNS are monitored like any other cluster entry point.
Plan for the failure mode before it happens. If Dex is unreachable, engineers cannot start new logins, and kubelogin cannot obtain fresh tokens once the current ones expire. Tokens already issued remain valid until they expire, so the API server keeps accepting them, but that gives you a window, not a permanent fallback. Decide how long a short outage is tolerable, keep a break-glass credential under a separate process, and test a Dex failover with a real kubectl session before go-live. Ask your Dex and connector versions to be confirmed against the current releases page, since the latest release at the time of writing is v2.46.0 and upgrades should be rehearsed in a non-production environment.
Rolling kubelogin out to engineer workstations
This sequence moves engineers from shared admin.conf credentials to personal Dex logins through kubelogin, with each workstation verified and each person's namespace access checked before daily use shifts over.
Confirm the Dex and API server login path first
Before any workstation changes, the platform team confirms that the API server OIDC settings point at the Dex issuer, that the client ID and CA certificate match, and that one test account can complete a browser login and receive a token. The output is a written record of the issuer URL, client ID, group claim name and the test account's returned groups. Nothing is distributed until this login works end to end on a single machine.
Build the kubeconfig entries that call kubelogin
The platform team writes a kubeconfig user entry that runs kubelogin as an exec credential plugin, passing the issuer URL, client ID and the cluster's CA reference. The entry is kept separate from the break-glass admin context so engineers cannot select it by accident. The output is a template kubeconfig snippet, reviewed by one peer, that contains no client secret or long-lived token. Confirm the exact flags against the kubelogin version you pin, since flag names change between releases.
Verify the OIDC plugin on each operating system
Each supported operating system (Linux, macOS and Windows, where your fleet includes them) is tested by a platform engineer on a clean machine. The engineer installs the pinned kubelogin binary, runs kubectl auth whoami and kubectl get namespaces, and confirms that the browser flow completes and the token is cached. Record the result per OS, including proxy or certificate trust problems caused by corporate TLS inspection. A workstation type is only approved once this check passes on a reference machine.
Pilot with a small group of engineers
A limited group of engineers from more than one team uses the new kubeconfig for ordinary read and deploy work for a set period you choose in advance. The platform team collects failures such as expired sessions, missing groups, or browser prompts that block scripts. Every reported issue is either fixed in the kubeconfig template, the RBAC bindings or the Dex configuration, and the pilot ends only when the open issues are closed. The output is a pilot log with each issue, its cause and its fix.
Check that each engineer sees only allowed namespaces
For each pilot engineer and a sample from each team, the platform team logs in as that person and runs kubectl get namespaces and kubectl auth can-i checks for the verbs and resources their groups should hold. The result is compared with the RBAC bindings that map each group claim to a role. Any namespace visible to a user outside their group is treated as a blocking defect, and the binding is corrected and retested. The output is a signed access matrix showing expected versus actual access for each tested identity.
Roll out to all engineers and document the workstation steps
After the pilot checks pass, the platform team distributes the kubeconfig template through your normal endpoint or configuration process and publishes a short internal guide covering installation, first login and troubleshooting. Engineers who have not yet switched are told which group they belong to and when their old context stops being supported. The output is a rollout record listing which workstations are on the new path, maintained by your IT or endpoint team.
Retire shared admin.conf for daily work
The platform team removes admin.conf and any shared administrator kubeconfig from engineer workstations and CI runners used for routine work, and keeps a single break-glass credential stored under your normal secrets controls with access logged. Periodic checks confirm that no daily operations use the cluster-admin identity. The output is a short audit showing where admin.conf still exists, which should be none outside the break-glass holders, and a documented procedure for using break-glass access when Dex is unavailable.
How DeployOpen scopes, delivers and supports Dex SSO for your clusters
DeployOpen plans and builds Dex as the login broker between your Kubernetes API servers and your existing LDAP or Active Directory accounts, inside infrastructure you control. Each engagement starts with a written scope, then moves through a tested build, a handover your team can operate and support options after go-live.
How we scope
- Inventory the directory, its LDAP or Active Directory access path, and which groups map to cluster roles
- Confirm which clusters, API server configuration methods and kubeconfig distribution steps are in the written scope
- Agree deliverables, test cases and timelines in writing before any build work starts, as engagements are fixed-scope
How we build
- Deploy Dex highly available in your environment, choosing a storage backend your team can operate, such as PostgreSQL or MySQL
- Configure the LDAP or Active Directory connector with TLS, service account rights and group claims for RBAC mapping
- Test kubectl logins with kubelogin from workstations, including group membership changes and expired sessions, and record the results
How we hand over
- Deliver configuration files, RBAC binding documentation, kubeconfig templates and a runbook for certificate and secret rotation
- Walk your platform and security teams through the login flow, failure modes and how to keep a break-glass credential
- Document the connector and Dex version pinned at go-live, along with the upgrade steps your team will follow
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build
- Retesting after directory changes, Dex upgrades or new cluster onboarding can be added to the retainer scope
- Ask for the support hours, response expectations and upgrade responsibilities in writing before signing

