vsts_auth_key: Azure DevOps Authentication Key

View source: R/authentication.R

vsts_auth_keyR Documentation

Azure DevOps Authentication Key

Description

Creation of a Azure DevOps authentication key that will be used when running any of the API calls.

Usage

vsts_auth_key(user, pass)

Arguments

user

username to access Azure DevOps project

pass

password to access Azure DevOps project

Details

For more information about authentication check https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-6.1#create-the-request

Value

An authentication key string in the form of 'Basic <Base 64 of user:pass>'

Examples

# Using credentials
auth_key <- vsts_auth_key("<username>", "<password>")

# Using PAT token
auth_key <- vsts_auth_key(NULL, "<token>")


ashbaldry/vstsr documentation built on Aug. 24, 2023, 12:11 a.m.