Skip to content

Commit

Permalink
examples added
Browse files Browse the repository at this point in the history
  • Loading branch information
Najeeb committed Nov 12, 2024
1 parent b673d9a commit a1ae2c1
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
azuread_applications = {
aks_auth_app = {
application_name = "app-najeeb-sandbox-aksadmin"
}
}

azuread_federated_credentials = {
cred1 = {
display_name = "app-wi-fed01"
subject = "system:serviceaccount:demo:workload-identity-sa"
oidc_issuer_url = "https://westeurope.oic.prod-aks.azure.com/"
azuread_application = {
key = "aks_auth_app"
}
}
}

azuread_service_principals = {
aks_auth_app = {
azuread_application = {
key = "aks_auth_app"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
resource_groups = {
msi_region1 = {
name = "security-rg1"
region = "region1"
}
}

managed_identities = {
workload_system_mi = {
name = "demo-mi-wi"
resource_group_key = "msi_region1"
}
}

mi_federated_credentials = {
cred1 = {
name = "mi-wi-demo01"
subject = "system:serviceaccount:demo:workload-identity-sa"
oidc_issuer_url = "https://westeurope.oic.prod-aks.azure.com/"
managed_identity = {
key = "workload_system_mi"
}
resource_group = {
key = "msi_region1"
}
}
}

0 comments on commit a1ae2c1

Please sign in to comment.