Azure-specific
Azure devops locking connection methods
How does it work?
There is one mandatory environment variable the user will have to set, in order to use Azure based locks: DIGGER_AZURE_AUTH_METHOD
, which can take one of the three values below:
-
SHARED_KEY
-
CONNECTION_STRING
-
CLIENT_SECRET
Then, depending on the value of DIGGER_AZURE_AUTH_METHOD
, the user will have to set other environment variables.
-
SHARED_KEY
DIGGER_AZURE_SA_NAME
: Storage account nameDIGGER_AZURE_SHARED_KEY
: shared key of the storage account
-
CONNECTION_STRING
DIGGER_AZURE_CONNECTION_STRING
: connection string
-
CLIENT_SECRET
DIGGER_AZURE_TENANT_ID
: tenant id to useDIGGER_AZURE_CLIENT_ID
: client id of the service principalDIGGER_AZURE_CLIENT_SECRET
: secret of the service principalDIGGER_AZURE_SA_NAME
: storage account name