Why is “Application permissions” disabled in Azure AD’s “Request API permissions”?

Per my understanding, you are exposing your custom api protected by Azure AD. If so, you need to define the application permission by editing the manifest of your api app. manifest: “appRoles”: [ { “allowedMemberTypes”: [ “Application” ], “description”: “Apps that have this role have the ability to invoke my API”, “displayName”: “Can invoke my … Read more

How to create a kubectl config file for serviceaccount

# your server name goes here server=https://localhost:8443 # the name of the secret containing the service account token goes here name=default-token-sg96k ca=$(kubectl get secret/$name -o jsonpath=”{.data.ca\.crt}”) token=$(kubectl get secret/$name -o jsonpath=”{.data.token}” | base64 –decode) namespace=$(kubectl get secret/$name -o jsonpath=”{.data.namespace}” | base64 –decode) echo ” apiVersion: v1 kind: Config clusters: – name: default-cluster cluster: certificate-authority-data: ${ca} … Read more

tech