Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Terraform module to create the required applications and roles in AzureAD for Kubernetes AD integration

License

Notifications You must be signed in to change notification settings

avinor/terraform-azurerm-kubernetes-azuread-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes AzureAD integration

A complementary module to Kubernetes (AKS) module to create the server and client application required for Azure AD integration. It will output the client application id, server application id and password required as input parameters to avinor/kubernetes/azurerm module.

This module requires elevated access to be able to create the application in AzureAD and potensially grant access. It is therefore not recommended to be run as any CI/CD pipeline, but instead manually before running any automated process. The output can still be used by reading remote state.

It is important to grant access to the application before using them for Kubernetes deployment. See grant access for details.

Accesses are based on Microsoft documentation.

Usage

Examples use tau.

module {
    source = "avinor/kubernetes-azuread-integration/azurerm"
    version = "1.0.1"
}

inputs {
    server_name = "aks-server"
    client_name = "aks-client"
    end_date = "2020-01-01T00:00:00Z"
}

Output from this module can then be used when deploying Kubernetes cluster.

Grant access

If grant_access is set to true it will also try to grant access to the Azure AD application, however this requires admin access in Azure AD. If for security reasons this is not possible leave it as default to false and grant access manually after deployment.

About

Terraform module to create the required applications and roles in AzureAD for Kubernetes AD integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •