You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Andy Pixley 1c631c6d4b
[BRE-847] Adding composite action to do azure login (#400)
7 months ago
..
README.md [BRE-847] Adding composite action to do azure login (#400) 7 months ago
action.yml [BRE-847] Adding composite action to do azure login (#400) 7 months ago

README.md

Composite Action for logging out of Azure

This action provides a centralized way to logout to Azure.

Inputs

None

Examples

Step Snippet

      - name: Azure Logout
        uses: bitwarden/gh-actions/azure-logout@main

Workflow

on:
  workflow_dispatch:
  push:
    branches:
      - "main"
  pull_request:
    types: [opened, synchronize, reopened]

jobs:
  example:
    name: Example Job
    runs-on: ubuntu-24.04
    steps:
      - name: Azure Login
        uses: bitwarden/gh-actions/azure-login@main
        with:
          subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
          tenant_id: ${{ secrets.AZURE_TENANT_ID }}
          client_id: ${{ secrets.AZURE_CLIENT_ID }}

      - name: Get KV Secrets
        id: get-kv-secrets
        uses: bitwarden/gh-actions/get-keyvault-secrets@main
        with:
          keyvault: gh-example-repository
          secrets: "example-secret-1,example-secret-2"

      - name: Azure Logout
        uses: bitwarden/gh-actions/azure-logout@main


      - name: Use Secrets
        shell: bash
        run: |
          # Use ${{ steps.get-kv-secrets.output.example-secret-1}} in some way