Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 891 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 891 Bytes

azb-connect-azure

Docker container that connects to Azure using the POD Identity or Azure Service Principal.

Build Docker Image

docker build -t azb-connect-azure .

Running Docker Image

These are the environment variables that the docker image suppor:

Name Comment
SP_USER Service Principal Application Id
SP_PASSWORD Service Principal Secret
SP_TENANT Service Principal Tenant
MSI Value should be "true" if you want to use the POD identity to connect to Azure

Examples

Using Pod Identity

docker run -e MSI=true azb-connect-azure

Using Service Principal

docker run -e SP_USER=XXXXX -e SP_PASSWORD=XXXXX -e SP_TENANT=XXXXX azb-connect-azure

The azure connection information is store inside /root/.azure