MCPcopy Index your code
hub / github.com/Azure/kubelogin

github.com/Azure/kubelogin @v0.2.19

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.19 ↗ · + Follow
444 symbols 1,507 edges 99 files 147 documented · 33% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

kubelogin

Go Report Card golangci-lint Build on Push Go Reference codecov

This is a client-go credential (exec) plugin implementing azure authentication. This plugin provides features that are not available in kubectl. It is supported on kubectl v1.11+

Check out the official doc page for more details

[!NOTE] The official sources for the Azure kubelogin project are the documentation site at https://azure.github.io/kubelogin/ and the GitHub repository at https://github.com/Azure/kubelogin. The Azure Kubernetes Service team does not maintain or endorse any other websites representing themselves as the official site for Azure kubelogin.

Installation

https://azure.github.io/kubelogin/install.html

Quick Start

https://azure.github.io/kubelogin/quick-start.html

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Extension points exported contracts — how you extend this code

CredentialProvider (Interface)
(no doc) [20 implementers]
pkg/internal/token/provider.go
TokenProvider (Interface)
TokenProvider provides access to tokens. [1 implementers]
pkg/token/types.go
ExecCredentialWriter (Interface)
(no doc) [4 implementers]
pkg/internal/token/execCredentialWriter.go
PoPKey (Interface)
PoPKey is a generic interface for PoP key properties and methods [1 implementers]
pkg/internal/pop/poptoken.go
ExecCredentialPlugin (Interface)
(no doc) [3 implementers]
pkg/internal/token/execCredentialPlugin.go
PoPKeyProvider (Interface)
PoPKeyProvider provides PoP keys based on the configured cache policy [1 implementers]
pkg/internal/token/options.go

Core symbols most depended-on inside this repo

isSet
called by 27
pkg/internal/converter/options.go
Read
called by 26
pkg/internal/pop/cache/linux.go
Write
called by 23
pkg/internal/token/execCredentialWriter.go
GetToken
called by 21
pkg/internal/token/provider.go
GetCloudConfiguration
called by 21
pkg/internal/token/options.go
Name
called by 18
pkg/internal/token/provider.go
Validate
called by 14
pkg/internal/token/options.go
UpdateFromEnv
called by 13
pkg/internal/token/options.go

Shape

Function 214
Method 163
Struct 58
Interface 7
FuncType 2

Languages

Go100%

Modules by API surface

pkg/internal/pop/poptoken.go28 symbols
pkg/internal/token/options.go20 symbols
pkg/internal/pop/cache/cache_test.go17 symbols
pkg/internal/pop/authnscheme.go17 symbols
hack/changelog-generator/main.go17 symbols
pkg/internal/token/mock_token/provider.go12 symbols
pkg/internal/token/clientcertcredential.go12 symbols
pkg/internal/pop/cache/linux.go11 symbols
pkg/internal/token/options_test.go10 symbols
pkg/internal/converter/options.go10 symbols
pkg/internal/pop/cache/internal/aescbc/aescbc.go9 symbols
pkg/internal/token/githubactionscredential.go8 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add kubelogin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page