Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.
This guide explains how to invalidate Kubernetes access tokens issued by Omni before they expire, for example during a credential rotation, or when a service account kubeconfig has leaked.
How token signing works
Omni signs two kinds of Kubernetes access tokens: the long-lived tokens embedded in service account kubeconfigs (created with omnictl kubeconfig --service-account), and the short-lived tokens used by interactive kubectl sessions. Every request made with such a token goes through Omni’s Kubernetes proxy, which verifies the token against a set of signing keys stored in Omni.A new signing key is generated periodically and on every restart of Omni, so each key signs the tokens issued during a limited time window. Deleting a signing key immediately invalidates all the tokens signed by it. There is no way to invalidate a single token, so revocation works at the granularity of a key and affects all the tokens from its time window.
If you want to invalidate a specific kubeconfig, first find the ID of the key that signed its token. The key ID is in the token header.Set the path to the kubeconfig, then decode the header of its token:
Delete the key. Replace <key-id> with the kid value from the token header:
omnictl delete jwtpublickeys <key-id>
The deletion takes effect immediately, without a restart. Any request using a token signed by the deleted key is rejected from that point on.
Re-issue the kubeconfigs which were invalidated by the deletion, and roll them out to the tooling that uses them.
Deleting a signing key invalidates all the tokens signed by it, not only the one you are targeting. This includes other service account kubeconfigs issued during the same time window, and, if the key is recent, the tokens of interactive kubectl sessions. Interactive users simply log in again, but service account kubeconfigs must be re-issued.
Notes
Deleting the most recent key is safe: Omni generates a replacement key automatically when the next token is issued.
The key deletions are recorded in the audit log with the acting user.
Connections that were established before the deletion, such as a running kubectl exec or --watch session, keep running until Omni or the cluster’s Kubernetes API server is restarted. New requests are rejected immediately.
{"docsConfig":{"theme":"aspen","$schema":"https://leaves.mintlify.com/schema/docs.json","name":"Sidero Documentation","colors":{"primary":"#D41A3B","light":"#E48E96","dark":"#E12D46"},"logo":{"light":"https://mintcdn.com/siderolabs-fe86397c/G9H15xhTYrTLoHZE/images/sidero-light.svg?fit=max\u0026auto=format\u0026n=G9H15xhTYrTLoHZE\u0026q=85\u0026s=111c3a81dfd33536a250355ab70d5b5f","dark":"https://mintcdn.com/siderolabs-fe86397c/G9H15xhTYrTLoHZE/images/sidero-dark.svg?fit=max\u0026auto=format\u0026n=G9H15xhTYrTLoHZE\u0026q=85\u0026s=4dc8f324935c0a940a3b4640b7b999ec"},"favicon":"https://mintcdn.com/siderolabs-fe86397c/G9H15xhTYrTLoHZE/images/favicon.svg?fit=max\u0026auto=format\u0026n=G9H15xhTYrTLoHZE\u0026q=85\u0026s=b1780d5f545130db050cb89f1b2ac8a1","navbar":{"links":[{"href":"https://www.siderolabs.com/support/","label":"Enterprise Support"}],"primary":{"type":"button","label":"Try Talos Omni","href":"https://www.siderolabs.com/omni-signup"}},"footer":{"socials":{"bluesky":"https://bsky.app/profile/siderolabs.com","github":"https://github.com/siderolabs","linkedin":"https://linkedin.com/company/sidero-labs","reddit":"https://reddit.com/r/taloslinux","x":"https://x.com/siderolabs"}},"seo":{"metatags":{"canonical":"https://docs.siderolabs.com"}},"integrations":{"ga4":{"measurementId":"G-PT2W5NT93B"},"posthog":{"apiKey":"phc_D44Y76lThvZBf8s7lpVpPjJm9fNLvCRMluHXtF7bQXT"},"cookies":{"key":"sidero-analytics-consent","value":"granted"}},"banner":{"content":"Join us at [TalosCon](https://www.taloscon.com/) in Santa Barbara, Jan 26-27, 2027. Share the announcement and your ticket is free!","dismissible":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"The page you're looking for doesn't exist. [Go home](/)."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"background":"https://mintcdn.com/siderolabs-fe86397c/OiJI5OX0Yyg1HXae/images/og-background.png?fit=max\u0026auto=format\u0026n=OiJI5OX0Yyg1HXae\u0026q=85\u0026s=a9873e2ecf3f86f33e8406f597a69095"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"siderolabs-fe86397c","hasAudioNarration":false,"actualSubdomain":"siderolabs-fe86397c","customDomains":["docs.siderolabs.com"],"gitSource":{"type":"github","owner":"siderolabs","repo":"docs","deployBranch":"main","contentDirectory":"public","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afc557b67c52da78f0ee779","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Talos Linux","count":1615},{"language":"default","tag":"Platform specific installation","count":413},{"language":"default","tag":"Reference","count":377},{"language":"default","tag":"Configure your Talos cluster","count":239},{"language":"default","tag":"Configuration","count":236},{"language":"default","tag":"Networking","count":158},{"language":"default","tag":"Cloud Platforms","count":123},{"language":"default","tag":"Single Board Computers","count":118},{"language":"default","tag":"Network","count":114},{"language":"default","tag":"Learn more","count":113}],"searchSettings":{"maxResults":10,"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":false,"deflection":{"enabled":false,"email":"support@siderolabs.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6933179bb8c4c689533e99c1","deploymentId":"688d3353fc3ba50464ce8ee7","questionText":"What is the architecture of Talos disk layout?","status":"active","generatedBy":"manual","createdAt":"2025-12-05T17:34:19.159Z","updatedAt":"2025-12-05T17:34:19.159Z","__v":0},{"_id":"6933178db8c4c689533e97ca","deploymentId":"688d3353fc3ba50464ce8ee7","questionText":"Generate a machine config for a UserVolume","status":"active","generatedBy":"manual","createdAt":"2025-12-05T17:34:05.515Z","updatedAt":"2025-12-05T17:34:05.515Z","__v":0},{"_id":"69331771b8c4c689533e9371","deploymentId":"688d3353fc3ba50464ce8ee7","questionText":"How do I upgrade Talos?","status":"active","generatedBy":"manual","createdAt":"2025-12-05T17:33:37.847Z","updatedAt":"2025-12-05T17:33:37.847Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:auto!important;max-height:40px!important;width:auto!important}.nav-tabs-item img,.nav-tabs-item .nav-logo{background:transparent!important;background-color:transparent!important}html[data-sidero-search-filter] [data-component-part=\"search-filter-content\"]{opacity:0!important;pointer-events:none!important}table{border-color:var(--talos-border-default);table-layout:auto;border-collapse:collapse;width:100%;margin:var(--talos-space-compact) 0;th,\n td {\n text-align: left;\n }\n\n td {\n border: var(--talos-border-hairline) solid var(--talos-border-default);\n }\n\n tbody {\n border: var(--talos-border-hairline) solid var(--talos-border-default);\n\n tr {\n \u0026:nth-child(even) {\n background-color: var(--talos-surface-subtle);\n }\n\n \u0026:hover {\n background-color: var(--talos-surface-hover);\n }\n }\n }}.prose table th,.prose table td{padding:var(--talos-space-tight) var(--talos-space-compact) var(--talos-space-tight) var(--talos-space-base)}table:not([class]) td:nth-child(1) code{white-space:nowrap}@media (min-width: 1024px){table:not([class]){display:table;width:100%}}#body-content,#content-container{max-width:none}.prose{max-width:none}"},{"filePath":"talos-tokens.css","content":"@font-face{font-family:'Manrope';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'Manrope';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/manrope-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/jetbrains-mono-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}:root{--talos-ink-0: #060606;--talos-ink-1: #0B0B0B;--talos-ink-2: #1A1A1E;--talos-ink-3: #1E1E22;--talos-ink-4: #26262B;--talos-ink-5: #2E2E33;--talos-ink-6: #5A5A58;--talos-ink-7: #8A8A88;--talos-ink-8: #A8A8A6;--talos-ink-9: #C8C8C6;--talos-ink-10: #F5F5F4;--talos-cream-0: #F2EDE8;--talos-cream-1: #F5F0EB;--talos-cream-2: #FFFFFF;--talos-cream-3: #F0EBE5;--talos-cream-4: #E6E1DC;--talos-cream-5: #D8D2CB;--talos-cream-6: #8A8A88;--talos-cream-7: #686866;--talos-cream-8: #4F4F4D;--talos-cream-9: #3A3A38;--talos-cream-10: #1A1A18;--talos-red-1: #E48E96;--talos-red-2: #DB6973;--talos-red-3: #E12D46;--talos-red-4: #D41A3B;--talos-red-5: #B93B46;--talos-red-6: #A83640;--talos-red-7: #8F2D36;--talos-gradient-display-1: #E8312C;--talos-gradient-display-2: #E2335A;--talos-gradient-display-3: #F77216;--talos-green-1: #E6F0E7;--talos-green-2: #C0DAC4;--talos-green-3: #A0C8A7;--talos-green-4: #6FD087;--talos-green-5: #1B8641;--talos-green-6: #046E31;--talos-green-7: #23432E;--talos-green-8: #213428;--talos-amber-1: #FEEED9;--talos-amber-2: #FDE8CB;--talos-amber-3: #FCDCB0;--talos-amber-4: #F5AE39;--talos-amber-5: #E6AC3D;--talos-amber-6: #7E5905;--talos-amber-7: #695132;--talos-amber-8: #403529;--talos-scarlet-1: #FFECEA;--talos-scarlet-2: #FDC7C0;--talos-scarlet-3: #FAABA1;--talos-scarlet-4: #FF5B5B;--talos-scarlet-5: #DE2F2E;--talos-scarlet-6: #BB081F;--talos-scarlet-7: #642A29;--talos-scarlet-8: #3E2324;--talos-stone-1: #BAB7B3;--talos-stone-2: #75726F;--talos-stone-3: #5D5B58;--talos-paper: #E2D2A8;--talos-white: #FFFFFF;--talos-black: #000000;--talos-space-micro: 4px;--talos-space-tight: 8px;--talos-space-snug: 12px;--talos-space-compact: 16px;--talos-space-base: 24px;--talos-space-section: 32px;--talos-space-major: 64px;--talos-radius-sm: 4px;--talos-radius-base: 6px;--talos-radius-lg: 8px;--talos-radius-xl: 12px;--talos-radius-pill: 9999px;--talos-border-hairline: 1px;--talos-border-edge: 3px;--talos-font-sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;--talos-font-mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace;--talos-text-2xs: 10px;--talos-text-xs: 11px;--talos-text-sm: 12px;--talos-text-base: 14px;--talos-text-md: 16px;--talos-text-lg: 20px;--talos-text-xl: 24px;--talos-text-2xl: 30px;--talos-weight-regular: 400;--talos-weight-medium: 500;--talos-weight-semibold: 600;--talos-weight-bold: 700;--talos-leading-tight: 1.25;--talos-leading-base: 1.5;--talos-leading-relaxed: 1.65;--talos-tracking-normal: 0;--talos-tracking-eyebrow: 0.10em;--talos-tracking-machine: 0.16em;--talos-surface-page: var(--talos-cream-0);--talos-surface-chrome: var(--talos-cream-1);--talos-surface-card: var(--talos-cream-2);--talos-surface-inset: var(--talos-cream-3);--talos-surface-raised: var(--talos-cream-2);--talos-surface-hover: var(--talos-cream-4);--talos-surface-inert: var(--talos-cream-5);--talos-surface-subtle: rgba(0, 0, 0, 0.04);--talos-surface-inverse: var(--talos-cream-10);--talos-surface-paper: var(--talos-paper);--talos-content-emphasis: var(--talos-cream-10);--talos-content-default: var(--talos-cream-9);--talos-content-secondary: var(--talos-cream-8);--talos-content-muted: var(--talos-cream-7);--talos-content-disabled: var(--talos-cream-6);--talos-content-inverse: var(--talos-cream-2);--talos-content-on-accent: var(--talos-white);--talos-border-subtle: rgba(0, 0, 0, 0.06);--talos-border-default: rgba(0, 0, 0, 0.08);--talos-border-strong: rgba(0, 0, 0, 0.16);--talos-border-accent: var(--talos-red-3);--talos-accent-default: var(--talos-red-3);--talos-accent-hover: var(--talos-red-5);--talos-accent-text: var(--talos-red-4);--talos-accent-fill: var(--talos-red-3);--talos-accent-fill-hover: rgba(225, 45, 70, 0.9);--talos-accent-fill-active: var(--talos-red-7);--talos-accent-subtle: rgba(212, 26, 59, 0.08);--talos-accent-gradient: linear-gradient(90deg, var(--talos-gradient-display-1) 0%, var(--talos-gradient-display-2) 51%, var(--talos-gradient-display-3) 100%);--talos-accent-gradient-fill: linear-gradient(270deg, var(--talos-gradient-display-3) 0%, var(--talos-red-3) 30%, var(--talos-red-3) 70%, var(--talos-gradient-display-1) 100%);--talos-status-success-default: var(--talos-green-6);--talos-status-success-text: var(--talos-green-6);--talos-status-success-fill: var(--talos-green-5);--talos-status-success-on-fill: var(--talos-white);--talos-status-success-subtle: var(--talos-green-1);--talos-status-success-subtle-border: var(--talos-green-2);--talos-status-success-surface: var(--talos-green-1);--talos-status-success-border: var(--talos-green-3);--talos-status-warning-default: var(--talos-amber-6);--talos-status-warning-text: var(--talos-amber-6);--talos-status-warning-fill: var(--talos-amber-4);--talos-status-warning-on-fill: var(--talos-cream-10);--talos-status-warning-subtle: var(--talos-amber-1);--talos-status-warning-subtle-border: var(--talos-amber-2);--talos-status-warning-surface: var(--talos-amber-1);--talos-status-warning-border: var(--talos-amber-3);--talos-status-danger-default: var(--talos-scarlet-6);--talos-status-danger-text: var(--talos-scarlet-6);--talos-status-danger-fill: var(--talos-scarlet-5);--talos-status-danger-on-fill: var(--talos-white);--talos-status-danger-subtle: var(--talos-scarlet-1);--talos-status-danger-subtle-border: var(--talos-scarlet-2);--talos-status-danger-surface: var(--talos-scarlet-1);--talos-status-danger-border: var(--talos-scarlet-3);--talos-status-info-default: var(--talos-stone-3);--talos-status-info-text: var(--talos-stone-3);--talos-status-info-fill: var(--talos-stone-2);--talos-status-info-on-fill: var(--talos-white);--talos-status-info-subtle: var(--talos-surface-hover);--talos-status-info-subtle-border: rgba(0, 0, 0, 0);--talos-status-info-surface: var(--talos-surface-card);--talos-status-info-border: var(--talos-surface-inert);--talos-shadow-card: 0 1px 3px rgba(26, 26, 24, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);--talos-shadow-dropdown: 0 4px 16px rgba(26, 26, 24, 0.12);--talos-shadow-modal: 0 8px 32px rgba(26, 26, 24, 0.16);--talos-shadow-focus: 0 0 0 3px rgba(224, 75, 69, 0.30)}.dark{--talos-surface-page: var(--talos-ink-0);--talos-surface-chrome: var(--talos-ink-1);--talos-surface-card: var(--talos-ink-2);--talos-surface-inset: var(--talos-ink-3);--talos-surface-raised: var(--talos-ink-3);--talos-surface-hover: var(--talos-ink-4);--talos-surface-inert: var(--talos-ink-5);--talos-surface-subtle: rgba(255, 255, 255, 0.05);--talos-surface-inverse: var(--talos-ink-10);--talos-surface-paper: var(--talos-paper);--talos-content-emphasis: var(--talos-ink-10);--talos-content-default: var(--talos-ink-9);--talos-content-secondary: var(--talos-ink-8);--talos-content-muted: var(--talos-ink-7);--talos-content-disabled: var(--talos-ink-6);--talos-content-inverse: var(--talos-ink-1);--talos-content-on-accent: var(--talos-white);--talos-border-subtle: rgba(255, 255, 255, 0.06);--talos-border-default: rgba(255, 255, 255, 0.08);--talos-border-strong: rgba(255, 255, 255, 0.14);--talos-border-accent: var(--talos-red-3);--talos-accent-default: var(--talos-red-3);--talos-accent-hover: var(--talos-red-2);--talos-accent-text: var(--talos-red-1);--talos-accent-fill: var(--talos-red-3);--talos-accent-fill-hover: rgba(225, 45, 70, 0.9);--talos-accent-fill-active: var(--talos-red-7);--talos-accent-subtle: rgba(228, 142, 150, 0.20);--talos-accent-gradient: linear-gradient(90deg, var(--talos-gradient-display-1) 0%, var(--talos-gradient-display-2) 51%, var(--talos-gradient-display-3) 100%);--talos-accent-gradient-fill: linear-gradient(270deg, var(--talos-gradient-display-3) 0%, var(--talos-red-3) 30%, var(--talos-red-3) 70%, var(--talos-gradient-display-1) 100%);--talos-status-success-default: var(--talos-green-4);--talos-status-success-text: var(--talos-green-4);--talos-status-success-fill: var(--talos-green-5);--talos-status-success-on-fill: var(--talos-white);--talos-status-success-subtle: var(--talos-green-8);--talos-status-success-subtle-border: var(--talos-green-7);--talos-status-success-surface: var(--talos-surface-card);--talos-status-success-border: var(--talos-surface-inert);--talos-status-warning-default: var(--talos-amber-5);--talos-status-warning-text: var(--talos-amber-5);--talos-status-warning-fill: var(--talos-amber-4);--talos-status-warning-on-fill: var(--talos-cream-10);--talos-status-warning-subtle: var(--talos-amber-8);--talos-status-warning-subtle-border: var(--talos-amber-7);--talos-status-warning-surface: var(--talos-surface-card);--talos-status-warning-border: var(--talos-surface-inert);--talos-status-danger-default: var(--talos-scarlet-4);--talos-status-danger-text: var(--talos-scarlet-4);--talos-status-danger-fill: var(--talos-scarlet-5);--talos-status-danger-on-fill: var(--talos-white);--talos-status-danger-subtle: var(--talos-scarlet-8);--talos-status-danger-subtle-border: var(--talos-scarlet-7);--talos-status-danger-surface: var(--talos-surface-card);--talos-status-danger-border: var(--talos-surface-inert);--talos-status-info-default: var(--talos-stone-1);--talos-status-info-text: var(--talos-stone-1);--talos-status-info-fill: var(--talos-stone-2);--talos-status-info-on-fill: var(--talos-white);--talos-status-info-subtle: var(--talos-surface-hover);--talos-status-info-subtle-border: rgba(0, 0, 0, 0);--talos-status-info-surface: var(--talos-surface-card);--talos-status-info-border: var(--talos-surface-inert);--talos-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);--talos-shadow-dropdown: 0 4px 16px rgba(0, 0, 0, 0.5);--talos-shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.6);--talos-shadow-focus: 0 0 0 3px rgba(224, 75, 69, 0.35)}:root{--primary: 212 26 59;--primary-light: 228 142 150;--primary-dark: 225 45 70;--background-light: 245 240 235;--background-dark: 11 11 11;--gray-50: 245 240 235;--gray-100: 240 235 229;--gray-200: 230 225 220;--gray-300: 216 210 203;--gray-400: 138 138 136;--gray-500: 104 104 102;--gray-600: 79 79 77;--gray-700: 58 58 56;--gray-800: 46 46 51;--gray-900: 26 26 30;--gray-950: 11 11 11;--font-inter: var(--talos-font-sans);--font-paper-mono: var(--talos-font-mono)}html #banner{background:var(--talos-accent-gradient-fill)}html #banner,html #banner *{color:var(--talos-content-on-accent)!important}html #banner a{text-decoration-color:var(--talos-red-1)!important}html #topbar-cta-button a>span:first-child{background:var(--talos-accent-fill)}html #topbar-cta-button a:hover>span:first-child{opacity:0.9}html #topbar-cta-button a,html #topbar-cta-button a *{color:var(--talos-content-on-accent)!important}html:not(.dark) a[aria-current=\"page\"].bg-primary\\/10{background-color:var(--talos-accent-subtle)!important;color:var(--talos-content-emphasis)!important;position:relative}html:not(.dark) a[aria-current=\"page\"].bg-primary\\/10::before{content:\"\";position:absolute;left:6px;top:25%;bottom:25%;width:var(--talos-border-edge);border-radius:2px;background:var(--talos-accent-text)}html.dark a[aria-current=\"page\"].dark\\:bg-primary-light\\/10{background-color:var(--talos-accent-subtle)!important;color:var(--talos-content-emphasis)!important;position:relative}html.dark a[aria-current=\"page\"].dark\\:bg-primary-light\\/10::before{content:\"\";position:absolute;left:6px;top:25%;bottom:25%;width:var(--talos-border-edge);border-radius:2px;background:var(--talos-accent-text)}html:root [data-callout-type=\"danger\"]{background-color:var(--talos-status-danger-surface);border-color:var(--talos-status-danger-border)}html:root [data-callout-type=\"danger\"] svg{color:var(--talos-status-danger-text)!important}html:root [data-callout-type=\"danger\"] [class*=\"prose\"]{color:var(--talos-content-default)!important}html:root [data-callout-type=\"danger\"] [class*=\"prose\"] strong{color:var(--talos-status-danger-text)!important}html.dark [data-callout-type=\"danger\"]{border-left:var(--talos-border-edge) solid var(--talos-status-danger-fill)}html:root [data-callout-type=\"warning\"]{background-color:var(--talos-status-warning-surface);border-color:var(--talos-status-warning-border)}html:root [data-callout-type=\"warning\"] svg{color:var(--talos-status-warning-text)!important}html:root [data-callout-type=\"warning\"] [class*=\"prose\"]{color:var(--talos-content-default)!important}html:root [data-callout-type=\"warning\"] [class*=\"prose\"] strong{color:var(--talos-status-warning-text)!important}html.dark [data-callout-type=\"warning\"]{border-left:var(--talos-border-edge) solid var(--talos-status-warning-fill)}html:root [data-callout-type=\"tip\"]{background-color:var(--talos-status-success-surface);border-color:var(--talos-status-success-border)}html:root [data-callout-type=\"tip\"] svg{color:var(--talos-status-success-text)!important}html:root [data-callout-type=\"tip\"] [class*=\"prose\"]{color:var(--talos-content-default)!important}html:root [data-callout-type=\"tip\"] [class*=\"prose\"] strong{color:var(--talos-status-success-text)!important}html.dark [data-callout-type=\"tip\"]{border-left:var(--talos-border-edge) solid var(--talos-status-success-fill)}html:root [data-callout-type=\"check\"]{background-color:var(--talos-status-success-surface);border-color:var(--talos-status-success-border)}html:root [data-callout-type=\"check\"] svg{color:var(--talos-status-success-text)!important}html:root [data-callout-type=\"check\"] [class*=\"prose\"]{color:var(--talos-content-default)!important}html:root [data-callout-type=\"check\"] [class*=\"prose\"] strong{color:var(--talos-status-success-text)!important}html.dark [data-callout-type=\"check\"]{border-left:var(--talos-border-edge) solid var(--talos-status-success-fill)}html:root [data-callout-type=\"info\"]{background-color:var(--talos-status-info-surface);border-color:var(--talos-status-info-border)}html:root [data-callout-type=\"info\"] svg{color:var(--talos-status-info-text)!important}html:root [data-callout-type=\"info\"] [class*=\"prose\"]{color:var(--talos-content-default)!important}html:root [data-callout-type=\"info\"] [class*=\"prose\"] strong{color:var(--talos-content-emphasis)!important}html:root [data-callout-type=\"note\"]{background-color:var(--talos-status-info-surface);border-color:var(--talos-status-info-border)}html:root [data-callout-type=\"note\"] svg{color:var(--talos-content-secondary)!important}html:root [data-callout-type=\"note\"] [class*=\"prose\"]{color:var(--talos-content-default)!important}html:root [data-callout-type=\"note\"] [class*=\"prose\"] strong{color:var(--talos-content-emphasis)!important}html #footer a[href*=\"mintlify.com\"]:not(:hover){color:var(--talos-content-muted)!important}"},{"filePath":"home.css","content":"#docs-home{max-width:1040px;margin:0 auto;padding:0 var(--talos-space-base) var(--talos-space-major);font-family:var(--talos-font-sans);font-size:16px;line-height:var(--talos-leading-base);color:var(--talos-content-default)}#docs-home .home-hero{padding:var(--talos-space-major) 0 var(--talos-space-section);text-align:center}#docs-home .home-hero h1{margin:0 0 var(--talos-space-snug);font-size:var(--talos-text-2xl);line-height:var(--talos-leading-tight);font-weight:var(--talos-weight-bold);color:var(--talos-content-emphasis);letter-spacing:-0.01em}#docs-home .home-promise{margin:0 auto var(--talos-space-section);max-width:34em;color:var(--talos-content-secondary)}#docs-home .home-search{display:flex;align-items:center;width:100%;max-width:540px;margin:0 auto;background:var(--talos-surface-card);border:1px solid var(--talos-border-default);border-radius:var(--talos-radius-base);box-shadow:var(--talos-shadow-card);padding:0;font:inherit;cursor:pointer;text-align:left}#docs-home .home-search:hover,#docs-home .home-search:focus-visible{box-shadow:var(--talos-shadow-focus);border-color:var(--talos-border-accent);outline:none}#docs-home .home-search-icon{display:flex;align-items:center;padding-left:var(--talos-space-compact);color:var(--talos-content-muted)}#docs-home .home-search-label{flex:1;padding:var(--talos-space-snug);font-size:var(--talos-text-base);color:var(--talos-content-muted)}#docs-home .home-kbd{display:flex;align-items:center;padding-right:var(--talos-space-snug);font-family:var(--talos-font-mono);font-size:var(--talos-text-xs);color:var(--talos-content-muted)}#docs-home .home-domain{margin-bottom:var(--talos-space-major)}#docs-home .home-domain-head{margin-bottom:var(--talos-space-base)}#docs-home .home-domain-head h2{margin:0 0 var(--talos-space-tight);font-size:var(--talos-text-lg);line-height:var(--talos-leading-tight);font-weight:var(--talos-weight-semibold);color:var(--talos-content-emphasis);display:flex;align-items:center;gap:var(--talos-space-snug)}#docs-home .home-domain-head h2::after{content:'';flex:1;height:1px;background:var(--talos-border-subtle)}#docs-home .home-domain-head p{margin:0;color:var(--talos-content-secondary);font-size:var(--talos-text-base)}#docs-home .home-grid{display:grid;gap:var(--talos-space-base);grid-template-columns:repeat(auto-fill, minmax(248px, 1fr))}#docs-home .home-card{display:flex;flex-direction:column;background:var(--talos-surface-card);border:1px solid var(--talos-border-default);border-radius:var(--talos-radius-lg);padding:var(--talos-space-base);text-decoration:none;transition:border-color 0.12s, box-shadow 0.12s, transform 0.12s}#docs-home .home-card--live:hover{border-color:var(--talos-border-strong);box-shadow:var(--talos-shadow-card);transform:translateY(-1px)}#docs-home .home-card--soon{background:var(--talos-surface-subtle);border-style:dashed;cursor:default}#docs-home .home-eyebrow{font-size:var(--talos-text-2xs);letter-spacing:var(--talos-tracking-eyebrow);text-transform:uppercase;font-weight:var(--talos-weight-semibold);color:var(--talos-content-muted);margin-bottom:var(--talos-space-snug);display:flex;align-items:center;gap:var(--talos-space-tight)}#docs-home .home-card h3{margin:0 0 var(--talos-space-tight);font-size:var(--talos-text-md);line-height:var(--talos-leading-tight);font-weight:var(--talos-weight-semibold);color:var(--talos-content-emphasis)}#docs-home .home-card--soon h3{color:var(--talos-content-secondary)}#docs-home .home-card h3{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--talos-space-tight);row-gap:var(--talos-space-micro)}#docs-home .home-card p{margin:0 0 var(--talos-space-base);font-size:var(--talos-text-base);color:var(--talos-content-secondary)}#docs-home .home-card--soon p{color:var(--talos-content-muted)}#docs-home .home-card>:last-child{margin-bottom:0}#docs-home .home-sep{color:var(--talos-content-muted)}#docs-home .home-meta{margin-top:auto;display:flex;align-items:center;gap:var(--talos-space-snug);font-family:var(--talos-font-mono);font-size:var(--talos-text-xs);letter-spacing:var(--talos-tracking-machine);color:var(--talos-content-muted)}#docs-home .home-pill{border-radius:var(--talos-radius-pill);padding:2px var(--talos-space-tight);font-size:var(--talos-text-2xs);font-family:var(--talos-font-sans);letter-spacing:var(--talos-tracking-normal);font-weight:var(--talos-weight-medium);text-transform:uppercase;background:var(--talos-status-info-subtle);color:var(--talos-status-info-text)}#docs-home .home-covers{display:flex;flex-wrap:wrap;gap:var(--talos-space-tight);margin-bottom:var(--talos-space-base)}#docs-home .home-cover{display:inline-flex;align-items:baseline;gap:var(--talos-space-tight);border:1px solid var(--talos-border-default);border-radius:var(--talos-radius-pill);padding:2px var(--talos-space-snug);font-size:var(--talos-text-xs);font-weight:var(--talos-weight-medium);color:var(--talos-content-default)}#docs-home .home-cover--soon{border-style:dashed;color:var(--talos-content-muted)}#docs-home .home-cover em{font-style:normal;font-family:var(--talos-font-mono);font-size:var(--talos-text-xs);font-weight:var(--talos-weight-regular, 400);letter-spacing:var(--talos-tracking-machine)}#docs-home .home-columns{display:grid;gap:var(--talos-space-base);grid-template-columns:repeat(4, minmax(0, 1fr));row-gap:var(--talos-space-snug)}@media (max-width: 960px){#docs-home .home-columns{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (max-width: 560px){#docs-home .home-columns{grid-template-columns:1fr}}#docs-home .home-column{display:grid;grid-template-rows:subgrid;gap:var(--talos-space-snug)}#docs-home .home-columns--rows-1 .home-column{grid-row:span 2}#docs-home .home-columns--rows-2 .home-column{grid-row:span 3}#docs-home .home-columns--rows-3 .home-column{grid-row:span 4}#docs-home .home-columns--rows-4 .home-column{grid-row:span 5}#docs-home .home-column-head{border-top:2px solid var(--talos-border-strong);padding-top:var(--talos-space-snug);margin-bottom:var(--talos-space-tight)}#docs-home .home-column-head h3{margin:0 0 var(--talos-space-tight);font-size:var(--talos-text-base);font-weight:var(--talos-weight-semibold);color:var(--talos-content-emphasis)}#docs-home .home-column-head p{margin:0;font-size:var(--talos-text-sm);color:var(--talos-content-secondary)}#docs-home .home-grid--tools{grid-template-columns:repeat(auto-fill, minmax(220px, 1fr))}#docs-home .home-card--tool{padding:var(--talos-space-compact) var(--talos-space-base)}#docs-home .home-card--tool p{margin-bottom:0}#docs-home .home-aside{border-top:1px solid var(--talos-border-subtle);padding-top:var(--talos-space-base);display:flex;flex-wrap:wrap;gap:var(--talos-space-base);align-items:baseline}#docs-home .home-lbl{font-size:var(--talos-text-2xs);text-transform:uppercase;letter-spacing:var(--talos-tracking-eyebrow);font-weight:var(--talos-weight-semibold);color:var(--talos-content-muted)}#docs-home .home-aside a{color:var(--talos-content-default);font-size:var(--talos-text-base);text-decoration:none}#docs-home .home-aside a:hover{color:var(--talos-accent-text);text-decoration:underline}"},{"filePath":"product-chrome.css","content":"html[data-current-path=\"/changelog\"] #sidebar-content{display:none}html[data-current-path=\"/changelog\"] #content-area{width:100%;max-width:60rem}"}],"page":{"pagePath":"omni/security-and-authentication/revoke-kubernetes-access-tokens","slug":"/omni/security-and-authentication/revoke-kubernetes-access-tokens","pageMetadata":{"title":"Revoke Kubernetes Access Tokens","description":"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.","href":"/omni/security-and-authentication/revoke-kubernetes-access-tokens"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This guide explains how to invalidate Kubernetes access tokens issued by Omni before they expire, for example during a credential rotation, or when a service account kubeconfig has leaked.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-token-signing-works`,children:`How token signing works`}),`\n`,_jsxs(_components.p,{children:[`Omni signs two kinds of Kubernetes access tokens: the long-lived tokens embedded in service account kubeconfigs (created with `,_jsx(_components.code,{children:`omnictl kubeconfig --service-account`}),`), and the short-lived tokens used by interactive `,_jsx(_components.code,{children:`kubectl`}),` sessions. Every request made with such a token goes through Omni’s Kubernetes proxy, which verifies the token against a set of signing keys stored in Omni.`]}),`\n`,_jsx(_components.p,{children:`A new signing key is generated periodically and on every restart of Omni, so each key signs the tokens issued during a limited time window. Deleting a signing key immediately invalidates all the tokens signed by it. There is no way to invalidate a single token, so revocation works at the granularity of a key and affects all the tokens from its time window.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.a,{href:`/omni/getting-started/install-and-configure-omnictl`,children:[_jsx(_components.code,{children:`omnictl`}),` installed and configured`]}),` with an account that has the `,_jsx(_components.code,{children:`Admin`}),` role`]}),`\n`,_jsx(_components.li,{children:`Omni v1.10.4 or later`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`find-the-signing-key-of-a-token`,children:`Find the signing key of a token`}),`\n`,_jsx(_components.p,{children:`If you want to invalidate a specific kubeconfig, first find the ID of the key that signed its token. The key ID is in the token header.`}),`\n`,_jsx(_components.p,{children:`Set the path to the kubeconfig, then decode the header of its token:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` KUBECONFIG_FILE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`path-to-the-kubeconfig`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`grep`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'token:'`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$KUBECONFIG_FILE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` awk`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{print $2}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` cut`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -f1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` base64`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The output contains the key ID in the `,_jsx(_components.code,{children:`kid`}),` field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"alg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RS256\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f1f9549c-8890-4a5e-9b0c-2b9059d66b74\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"typ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JWT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`delete-the-signing-key`,children:`Delete the signing key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`List the signing keys:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`omnictl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` jwtpublickeys`})]}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`Delete the key. Replace `,_jsx(_components.code,{children:`\u003ckey-id>`}),` with the `,_jsx(_components.code,{children:`kid`}),` value from the token header:`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`omnictl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` jwtpublickeys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`key-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The deletion takes effect immediately, without a restart. Any request using a token signed by the deleted key is rejected from that point on.`}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:`Re-issue the kubeconfigs which were invalidated by the deletion, and roll them out to the tooling that uses them.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Deleting a signing key invalidates `,_jsx(_components.strong,{children:`all`}),` the tokens signed by it, not only the one you are targeting. This includes other service account kubeconfigs issued during the same time window, and, if the key is recent, the tokens of interactive `,_jsx(_components.code,{children:`kubectl`}),` sessions. Interactive users simply log in again, but service account kubeconfigs must be re-issued.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Deleting the most recent key is safe: Omni generates a replacement key automatically when the next token is issued.`}),`\n`,_jsx(_components.li,{children:`The key deletions are recorded in the audit log with the acting user.`}),`\n`,_jsxs(_components.li,{children:[`Connections that were established before the deletion, such as a running `,_jsx(_components.code,{children:`kubectl exec`}),` or `,_jsx(_components.code,{children:`--watch`}),` session, keep running until Omni or the cluster’s Kubernetes API server is restarted. New requests are rejected immediately.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-links`,children:`Related links`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/omni/omni-cluster-setup/create-a-kubeconfig-for-a-service-account`,children:`Create a Kubeconfig for a Kubernetes Service Account`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Revoke Kubernetes Access Tokens","description":"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.","href":"/omni/security-and-authentication/revoke-kubernetes-access-tokens"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How token signing works","slug":"how-token-signing-works","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Find the signing key of a token","slug":"find-the-signing-key-of-a-token","depth":2,"children":[]},{"title":"Delete the signing key","slug":"delete-the-signing-key","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]},{"title":"Related links","slug":"related-links","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/siderolabs-fe86397c/35f5b79d0f96f08e/script/cookie.js","/_mintlify/custom/siderolabs-fe86397c/3cbe4d3646b78d4f/home.js","/_mintlify/custom/siderolabs-fe86397c/d57b1e900c03bdac/script/contextual-chrome.js","/_mintlify/custom/siderolabs-fe86397c/8e8b7fbcff2dadcd/script/product-nav.js"],"subdomain":"siderolabs-fe86397c","siteName":"Sidero Documentation","title":"Revoke Kubernetes Access Tokens - Sidero Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-19T15:42:35.313Z","originalFileLocation":"omni/security-and-authentication/revoke-kubernetes-access-tokens.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sidero Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Revoke Kubernetes Access Tokens - Sidero Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sidero Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://siderolabs-fe86397c.mintlify.site/_mintlify/api/og/v2?division=Security+and+Authentication\u0026amp;title=Revoke+Kubernetes+Access+Tokens\u0026amp;description=Invalidate+issued+Kubernetes+access+tokens%2C+such+as+a+leaked+service+account+kubeconfig%2C+by+deleting+the+signing+key+that+backs+them.\u0026amp;theme=adbfd9499291058dc821c512\u0026amp;signature=6ed55fbc8de45c82d8c53f46b9762c2f3b628d473eee1d61f0b30c007b26f10d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Revoke Kubernetes Access Tokens - Sidero Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://siderolabs-fe86397c.mintlify.site/_mintlify/api/og/v2?division=Security+and+Authentication\u0026amp;title=Revoke+Kubernetes+Access+Tokens\u0026amp;description=Invalidate+issued+Kubernetes+access+tokens%2C+such+as+a+leaked+service+account+kubeconfig%2C+by+deleting+the+signing+key+that+backs+them.\u0026amp;theme=adbfd9499291058dc821c512\u0026amp;signature=6ed55fbc8de45c82d8c53f46b9762c2f3b628d473eee1d61f0b30c007b26f10d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/siderolabs-fe86397c/3so3sf5kkBQmhola/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sidero Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D41A3B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/omni/security-and-authentication/revoke-kubernetes-access-tokens.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.siderolabs.com/#organization\",\"name\":\"Sidero Documentation\",\"url\":\"https://docs.siderolabs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/siderolabs-fe86397c/G9H15xhTYrTLoHZE/images/sidero-light.svg?fit=max\u0026auto=format\u0026n=G9H15xhTYrTLoHZE\u0026q=85\u0026s=111c3a81dfd33536a250355ab70d5b5f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.siderolabs.com#website\",\"name\":\"Sidero Documentation\",\"url\":\"https://docs.siderolabs.com\",\"publisher\":{\"@id\":\"https://docs.siderolabs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens#webpage\",\"url\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens\",\"name\":\"Revoke Kubernetes Access Tokens\",\"description\":\"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.\",\"dateModified\":\"2026-08-19T15:42:35.313Z\",\"isPartOf\":{\"@id\":\"https://docs.siderolabs.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Security and Authentication\",\"item\":\"https://docs.siderolabs.com/omni/security-and-authentication/using-saml-with-omni/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Revoke Kubernetes Access Tokens\",\"item\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens#article\",\"headline\":\"Revoke Kubernetes Access Tokens\",\"name\":\"Revoke Kubernetes Access Tokens\",\"description\":\"Invalidate issued Kubernetes access tokens, such as a leaked service account kubeconfig, by deleting the signing key that backs them.\",\"url\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens\",\"mainEntityOfPage\":{\"@id\":\"https://docs.siderolabs.com/omni/security-and-authentication/revoke-kubernetes-access-tokens#webpage\"},\"dateModified\":\"2026-08-19T15:42:35.313Z\",\"publisher\":{\"@id\":\"https://docs.siderolabs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.siderolabs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sidero Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sidero Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/omni/security-and-authentication/revoke-kubernetes-access-tokens.md","siteName":"Sidero Documentation","nav":{"global":null,"products":[{"product":"Talos Linux","icon":"https://mintlify.s3.us-west-1.amazonaws.com/siderolabs-fe86397c/images/talos.svg","description":"Bring up a Kubernetes cluster on Talos Linux and operate it day to day.","versions":[{"version":"v1.14"},{"version":"v1.13"},{"version":"v1.12"},{"version":"v1.11"},{"version":"v1.10"},{"version":"v1.9"},{"version":"v1.8"},{"version":"v1.15.0-beta.0"}],"pages":[{"title":"Talos Linux","href":"/talos/v1.14/overview/what-is-talos"}]},{"product":"Talos Enterprise Linux","icon":"https://mintlify.s3.us-west-1.amazonaws.com/siderolabs-fe86397c/images/talos.svg","description":"FIPS-enabled builds, SBOMs, VEX, and signed images from the Enterprise Image Factory.","pages":[{"title":"Talos Enterprise Linux","href":"/talos-enterprise-linux/overview/introducing-talos-enterprise-linux"}]},{"product":"Talos Omni","icon":"https://mintlify.s3.us-west-1.amazonaws.com/siderolabs-fe86397c/images/omni.svg","description":"Provision, upgrade, and manage Talos machines across sites from one place.","groups":[{"group":"Overview","pages":[{"title":"Omni Documentation","href":"/omni/overview/what-is-omni"}]},{"group":"Getting Started","pages":[{"title":"Install talosctl","href":"/omni/getting-started/how-to-install-talosctl"},{"title":"Install and Configure Omnictl","href":"/omni/getting-started/install-and-configure-omnictl"},{"title":"Getting Started with Omni","href":"/omni/getting-started/getting-started"},{"title":"Use Kubectl With Omni","href":"/omni/getting-started/use-kubectl-with-omni"},{"title":"Create a Cluster","href":"/omni/getting-started/create-a-cluster"},{"title":"Omni Support Matrix","href":"/omni/getting-started/support-matrix"},{"title":"Talos Version Support Policy","href":"/omni/getting-started/talos-version-support-policy"}]},{"group":"Self Hosted","pages":[{"title":"Options for Running Omni","href":"/omni/self-hosted/options-for-running-omni"},{"title":"Omni On-Prem Hardware Requirements","href":"/omni/self-hosted/omni-on-prem-hardware-requirements"},{"title":"Run Omni On-Prem","href":"/omni/self-hosted/run-omni-on-prem"},{"title":"Production vs. Non-Production Use Under the Business Source License","href":"/omni/self-hosted/production-vs-non-production"},{"title":"Omni Configuration Examples","href":"/omni/self-hosted/omni-configuration-example"},{"title":"Enable Workload Proxy","href":"/omni/self-hosted/enable-workload-proxy"},{"title":"Run An etcd Cluster On-Prem","href":"/omni/self-hosted/run-an-etcd-cluster"},{"title":"Run Omni on Kubernetes","href":"/omni/self-hosted/run-omni-on-k8s"},{"title":"Run Omni Air-Gapped","href":"/omni/self-hosted/run-omni-airgapped"},{"title":"Run Image Factory On-Prem","href":"/omni/self-hosted/run-image-factory-on-prem"},{"title":"Connect Self-Hosted Omni to the Enterprise Image Factory","href":"/omni/self-hosted/connect-omni-to-enterprise-image-factory"},{"title":"Configure Keycloak for Omni","href":"/omni/self-hosted/configure-keycloak-for-omni"},{"title":"Expose Omni with Nginx (HTTPS)","href":"/omni/self-hosted/expose-omni-with-nginx-https"},{"title":"Back Up Omni Database","href":"/omni/self-hosted/back-up-omni-db"},{"title":"Omni On-Prem etcd Data Recovery","href":"/omni/self-hosted/restore-omni-database"},{"title":"Upgrade Omni","href":"/omni/self-hosted/upgrading-omni"}]},{"group":"Infrastructure and Extensions","pages":[{"title":"Infrastructure Providers","href":"/omni/infrastructure-and-extensions/infrastructure-providers"},{"title":"Write an Infrastructure Provider","href":"/omni/infrastructure-and-extensions/writing-infrastructure-providers"},{"title":"Machine Registration","href":"/omni/infrastructure-and-extensions/machine-registration"},{"title":"Install Talos Linux Extensions","href":"/omni/infrastructure-and-extensions/install-talos-linux-extensions"},{"title":"Modify Kernel Arguments","href":"/omni/infrastructure-and-extensions/modify-kernel-arguments"}]},{"group":"Omni Cluster Setup","pages":[{"group":"Register machines with Omni","pages":[{"title":"Overview","href":"/omni/omni-cluster-setup/registering-machines/register-machines-with-omni"},{"title":"Register a Bare Metal Machine (ISO)","href":"/omni/omni-cluster-setup/registering-machines/register-a-bare-metal-machine-iso"},{"title":"Register a Bare Metal Machine (PXE/iPXE)","href":"/omni/omni-cluster-setup/registering-machines/register-a-bare-metal-machine-pxe-ipxe"},{"title":"Register an AWS EC2 Instance","href":"/omni/omni-cluster-setup/registering-machines/how-to-register-an-aws-ec2-instance"},{"title":"Register an Azure Instance","href":"/omni/omni-cluster-setup/registering-machines/register-an-azure-instance"},{"title":"Register a GCP Instance","href":"/omni/omni-cluster-setup/registering-machines/register-a-gcp-instance"},{"title":"Register a Hetzner Server","href":"/omni/omni-cluster-setup/registering-machines/register-a-hetzner-server"},{"title":"Join machines to Omni","href":"/omni/omni-cluster-setup/registering-machines/join-machines-to-omni"}]},{"title":"Create a Kubeconfig for a Kubernetes Service Account","href":"/omni/omni-cluster-setup/create-a-kubeconfig-for-a-service-account"},{"title":"Create a Machine Class","href":"/omni/omni-cluster-setup/create-a-machine-class"},{"title":"How configuration works in Omni","href":"/omni/omni-cluster-setup/how-configuration-works-in-omni"},{"title":"Introduction to Cluster Templates","href":"/omni/omni-cluster-setup/cluster-template"},{"title":"Create a Patch for Cluster Machines","href":"/omni/omni-cluster-setup/create-a-patch-for-cluster-machines"},{"title":"Select the Install Disk","href":"/omni/omni-cluster-setup/select-the-install-disk"},{"title":"Create an Omni Service Account","href":"/omni/omni-cluster-setup/create-an-omni-service-account"},{"title":"Set Initial Machine Labels","href":"/omni/omni-cluster-setup/how-to-set-initial-machine-labels"},{"title":"Setting Up the Bare-Metal Infrastructure Provider","href":"/omni/omni-cluster-setup/setting-up-the-bare-metal-infrastructure-provider"},{"title":"Omni Firewall and Egress Requirements","href":"/omni/omni-cluster-setup/omni-firewall-egress-requirement"},{"title":"Connect Machines to Omni Through a Corporate Proxy","href":"/omni/omni-cluster-setup/connect-machines-to-omni-through-a-proxy"}]},{"group":"Cluster Management","pages":[{"group":"Scale your cluster","pages":[{"title":"Scale a Cluster Up or Down","href":"/omni/cluster-management/scale-your-cluster/scale-a-cluster-up-or-down"},{"title":"Autoscale Your Cluster with Cluster AutoScaler","href":"/omni/cluster-management/scale-your-cluster/cluster-autoscaler"},{"title":"Autoscale Your Cluster with Cluster AutoScaler in AWS","href":"/omni/cluster-management/scale-your-cluster/cluster-autoscaler-aws"},{"title":"Autoscale Your Talos Cluster on AWS with Karpenter","href":"/omni/cluster-management/scale-your-cluster/karpenter"}]},{"title":"Create a Hybrid Cluster","href":"/omni/cluster-management/create-a-hybrid-cluster"},{"title":"Sync Kubernetes Manifests","href":"/omni/cluster-management/sync-kubernetes-manifests"},{"title":"Upgrade Omni Clusters","href":"/omni/cluster-management/upgrading-clusters"},{"title":"Gate Talos Upgrades with Healthchecks","href":"/omni/cluster-management/gate-talos-upgrades-with-healthchecks"},{"title":"Expose a Workload via Service Proxy","href":"/omni/cluster-management/expose-a-workload-via-service-proxy"},{"title":"Export a Cluster template","href":"/omni/cluster-management/export-a-cluster-template-from-a-cluster-created-in-the-ui"},{"title":"Create Etcd Backups","href":"/omni/cluster-management/etcd-backups"},{"title":"Restore Etcd of a Cluster","href":"/omni/cluster-management/restore-etcd-of-a-cluster-managed-by-cluster-templates"},{"title":"Audit Logs","href":"/omni/cluster-management/using-audit-log"},{"title":"Export Audit Logs","href":"/omni/cluster-management/export-audit-logs"},{"title":"Monitor Omni With Prometheus","href":"/omni/cluster-management/monitor-omni-with-prometheus"},{"title":"Import Talos Clusters","href":"/omni/cluster-management/importing-talos-clusters"},{"title":"Manage Omni Clusters with Nautik","href":"/omni/cluster-management/manage-omni-cluster-with-nautik"},{"title":"Wipe a Machine","href":"/omni/cluster-management/wipe-a-machine"},{"title":"Talos Config Overrides","href":"/omni/cluster-management/talos-config-overrides"},{"title":"Override NTP Servers","href":"/omni/cluster-management/override-ntp-servers"},{"title":"Support Bundle","href":"/omni/cluster-management/support-bundle"},{"title":"CA Rotation","href":"/omni/cluster-management/ca-rotation"},{"title":"Terraform and Omni","href":"/omni/cluster-management/terraform-and-omni"}]},{"group":"Security and Authentication","pages":[{"group":"Using SAML With Omni","pages":[{"title":"Overview","href":"/omni/security-and-authentication/using-saml-with-omni/overview"},{"title":"Using SAML and ACLs for fine-grained access control","href":"/omni/security-and-authentication/using-saml-with-omni/configure-saml-and-acls"},{"title":"Configure Okta for Omni","href":"/omni/security-and-authentication/using-saml-with-omni/configure-okta-for-omni"},{"title":"Auto-Assign Roles to SAML and OIDC Users","href":"/omni/security-and-authentication/using-saml-with-omni/auto-assign-roles-to-saml-users"},{"title":"Sign SAML Requests","href":"/omni/security-and-authentication/using-saml-with-omni/sign-saml-requests"},{"title":"Configure Unifi Identity Enterprise for Omni","href":"/omni/security-and-authentication/using-saml-with-omni/configure-unifi-identity-enterprise-for-omni"},{"title":"Configure Workspace ONE Access for Omni","href":"/omni/security-and-authentication/using-saml-with-omni/configure-workspace-one-access-for-omni"},{"title":"Configure Entra ID for Omni","href":"/omni/security-and-authentication/using-saml-with-omni/how-to-configure-entraid-for-omni"},{"title":"Configure Oracle Cloud for Omni","href":"/omni/security-and-authentication/using-saml-with-omni/configure-oracle-cloud-for-omni"},{"title":"Use SAML groups information in Kubernetes","href":"/omni/security-and-authentication/using-saml-with-omni/use-saml-groups-in-kubernetes"}]},{"title":"Authentication and Authorization","href":"/omni/security-and-authentication/authentication-and-authorization"},{"title":"OIDC login with Tailscale","href":"/omni/security-and-authentication/oidc-login-with-tailscale"},{"title":"Manage Users in Omni","href":"/omni/security-and-authentication/manage-user-in-omni"},{"title":"Manage Access Policies (ACLs)","href":"/omni/security-and-authentication/how-to-manage-acls"},{"title":"Omni KMS Disk Encryption","href":"/omni/security-and-authentication/omni-kms-disk-encryption"},{"title":"Break Glass Emergency Access","href":"/omni/security-and-authentication/break-glass-emergency-access"},{"title":"Rotate SideroLink Join Token","description":"Revoke and replace a SideroLink join token to protect new machine registrations and prevent unauthorized connections.","href":"/omni/security-and-authentication/rotate-siderolink-join-token"},{"title":"Revoke Kubernetes Access Tokens","href":"/omni/security-and-authentication/revoke-kubernetes-access-tokens"},{"title":"Omni, Talos, and Kubernetes Security","description":"Understand how identity, authorization, and cluster access are enforced in Omni-managed environments.","href":"/omni/security-and-authentication/security-model"},{"title":"Subscribe to Security Advisories","href":"/omni/security-and-authentication/subscribe-to-security-advisories"}]},{"group":"Reference","pages":[{"title":"Build with the Omni API","href":"/omni/reference/build-with-the-omni-api"},{"title":"Access Policies (ACLs)","href":"/omni/reference/acls"},{"title":"omnictl CLI","href":"/omni/reference/cli"},{"title":"Cluster Templates","href":"/omni/reference/cluster-templates"},{"title":"Omni Configuration","href":"/omni/reference/omni-configuration"},{"title":"Manage Omni Resources with omnictl","href":"/omni/reference/manage-omni-resources-with-omnictl"},{"title":"Image Factory Configuration","href":"/omni/reference/image-factory-configuration"},{"title":"Omni Helm Chart","href":"/omni/reference/helm-chart"}]},{"group":"Troubleshooting and Support","pages":[{"title":"Troubleshooting","href":"/omni/troubleshooting/troubleshooting"},{"title":"FAQs","href":"/omni/troubleshooting/faqs"}]}]},{"product":"Talos Director","icon":"gauge","description":"Manage virtual machines, Kubernetes clusters, storage, and networking across the data center.","pages":[{"title":"Talos Director","href":"/director/overview/what-is-talos-director"}]},{"product":"Talos Hypervisor","icon":"server","description":"Run virtual machines on a Talos host through native Talos APIs and talosctl.","pages":[{"title":"Talos Hypervisor","href":"/hypervisor/overview/what-is-talos-hypervisor"}]},{"product":"Kubernetes Guides","icon":"https://mintlify.s3.us-west-1.amazonaws.com/siderolabs-fe86397c/images/kubernetes.svg","pages":[{"title":"Kubernetes Guides","href":"/kubernetes-guides/overview/kubernetes-guides-overview"}]},{"product":"Changelog","hidden":true,"pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Revoke Kubernetes Access Tokens - Sidero Documentation","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["10e4515597"],"chunks":["BannerMarkdown-5hDu1xuu.js","dist-OCScizqf.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}