We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba9826 commit 142c62aCopy full SHA for 142c62a
1 file changed
README.md
@@ -33,8 +33,7 @@ import * as azdev from "azure-devops-node-api";
33
// your collection url
34
let orgUrl = "https://dev.azure.com/yourorgname";
35
36
-// ideally from config
37
-let token: string = "cbdeb34vzyuk5l4gxc4qfczn3lko3avfkfqyb47etahq6axpcqha";
+let token: string = process.env.AZURE_PERSONAL_ACCESS_TOKEN; // e.g "cbdeb34vzyuk5l4gxc4qfczn3lko3avfkfqyb47etahq6axpcqha";
38
39
let authHandler = azdev.getPersonalAccessTokenHandler(token);
40
let connection = new azdev.WebApi(orgUrl, authHandler);
0 commit comments