In Kuberentes secret, required format is:
apiVersion: v1
kind: Secret
metadata:
name: azcreds
type: Opaque
stringData: # use `stringData` for raw credential string or `data` for base64 encoded string
AZ_CLIENT_ID: xxxxx
AZ_CLIENT_SECRET: xxxxx
AZ_SUBSCRIPTION_ID: xxxxx
AZ_TENANT_ID: xxxxx
How do i get these credentials? I have a Storage account, and when I go to Access keys I only see Key and ConnectionString
Then Click on your application, You will find the credentials as below:
To find the Client secret you need to Click on App registrations the click on Certificates and Secrets then you will find your Secret as below: