Skip to content
Log in to Azure so that you can do stuff with Azure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite
hooks
tests
LICENSE
README.md
azure-login-message.png
docker-compose.yml
plugin.yml

README.md

Azure CLI Login plugin

A Buildkite plugin for logging into Azure CLI before running pipeline steps that want to interact with Azure

Currently it only supports interactive logins and identity-based logins.

If you are using interactive logins you will need to follow the instructions in the plugin output.

e.g. alt text

Examples

The following pipeline will list all vms in the subscription after interactively logging in to the Azure CLI

steps:
  - command: "az vm list"
    plugins:
      - cevoaustralia/azure-login#v0.0.1: ~

If you want to use the identity of the agent instance to login:

steps:
  - command: "az vm list"
    plugins:
      - cevoaustralia/azure-login#v0.0.1:
            use-identity: true

Configuration

Optional

use-identity (boolean)

Log in to Azure using the agent instace's identity (passes --identiy) to az login

You can’t perform that action at this time.