Skip to content

Nirupma-Verma/AzurePipeline

Repository files navigation

azure-devops-demo

A demonstration using @cyberark Conjur's Azure DevOps Pipelines integration

Setup

  • Download Conjur Azure DevOps Extension from Azure Marketplace

  • Install the extension to an Azure DevOps organization

  • Search for installed extension in Project Settings > Pipelines > Service connection > Create service connection

  • Add the Conjur details in Service Connection

  • In Pipeline > Task > Search with Batch Secret Retrieval > Select the Service Connection and provide path of secrets.yml file

  • Under steps in azure-pipeline.yml task is added

steps:
- task: secretBatchRetrievalConnector@0
  displayName: ConjurIntegeration
  inputs:
    ConjurService: 'ConjurSConnection'
    secretsyml: './secrets.yml'

How it works

The Conjur Service Connection contains all the connection and secret information needed to securely retrieve a secret just-in-time from Conjur. The secret value is then presented to the running pipeline as an environment variable defined within the service connection. You may reference that variable from within the pipeline script to utilize the secret.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published