How to use
This Azure Devops Task Extension will help you to retrieve secrets from RevBits PAM and you can use those secrets in you azure DevOps piplelines
Requirements
- RevBits PAM should be installed with a valid license and Secret Manager module should be visible on your RevBits PAM Dashabord
- If Secret Manager module is missing from your RevBits PAM Dashabord please contact RevBits Support for a valid license
- Azure DevOps and you need to install RevBits PAM Azure DevOps Extension
Usage
Prerequisites
- RevBits PAM Azure DevOps Extension should be installed under your organization
- Create a secret in you RevBits PAM secret Manager and create an API key which you will use in your piplelines to make authentication with RevBits PAM
- Azure Agent should be installed and your PAM should be accessible for that Agent refered to officiall docoment Azure Create Agent
Example Pipline to fetch secrets
pool:
name: 'default'
steps:
- task: revbits-azure-devops@0
inputs:
pamhostname: 'RevBits PAM server URL here'
apikey: 'API key which you need to get from RevBits PAM secret manager'
pamsecretkeys: 'comma sepeted pamsecretkeys ex jenkinsPassword,gitPassword'
- bash: |
echo "Secrets retrieved:"
echo " SECRET1: $(jenkinsPassword)"
echo " SECRET2: $(gitPassword)"
echo "$(jenkinsPassword)" | sed 's/./& /g'
echo "$(gitPassword)" | sed 's/./& /g'
| |