vsts_auth_key: Azure DevOps Authentication Key

Description Usage Arguments Details Value Examples

View source: R/authentication.R

Description

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

Usage

1
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

1
2
3
4
5
# Using credentials
auth_key <- vsts_auth_key("<username>", "<password>")

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

vstsr documentation built on Nov. 9, 2021, 1:07 a.m.