[{"data":1,"prerenderedAt":956},["ShallowReactive",2],{"navigation_docs":3,"-guides-ci-cd-azure-devops":365,"-guides-ci-cd-azure-devops-surround":951},[4,215,267],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":21},"Documentation","i-lucide-book-open","\u002Fdocs","1.docs",[10,15,19,45,87,104,125,159,210],{"title":11,"path":12,"stem":13,"icon":14},"Welcome","\u002Fdocs\u002Fwelcome","1.docs\u002F1.welcome","i-lucide-house",{"title":16,"path":17,"stem":18},"Quick Start","\u002Fdocs\u002Fquickstart","1.docs\u002F2.quickstart",{"title":20,"icon":21,"path":22,"stem":23,"children":24,"page":21},"Auth Methods",false,"\u002Fdocs\u002Fauth","1.docs\u002F3.auth",[25,29,33,37,41],{"title":26,"path":27,"stem":28},"Overview","\u002Fdocs\u002Fauth\u002Foverview","1.docs\u002F3.auth\u002F1.overview",{"title":30,"path":31,"stem":32},"Google","\u002Fdocs\u002Fauth\u002Fgoogle","1.docs\u002F3.auth\u002F2.google",{"title":34,"path":35,"stem":36},"Microsoft","\u002Fdocs\u002Fauth\u002Fmicrosoft","1.docs\u002F3.auth\u002F3.microsoft",{"title":38,"path":39,"stem":40},"Github","\u002Fdocs\u002Fauth\u002Fgithub","1.docs\u002F3.auth\u002F4.github",{"title":42,"path":43,"stem":44},"Personal Access Tokens","\u002Fdocs\u002Fauth\u002Fuser-tokens","1.docs\u002F3.auth\u002F5.user-tokens",{"title":46,"icon":21,"path":47,"stem":48,"children":49,"page":21},"Organizations","\u002Fdocs\u002Forganization","1.docs\u002F4.organization",[50,54,58,62,66,70,74],{"title":51,"path":52,"stem":53},"Organization Overview","\u002Fdocs\u002Forganization\u002Foverview","1.docs\u002F4.organization\u002F1.overview",{"title":55,"path":56,"stem":57},"Create Organization","\u002Fdocs\u002Forganization\u002Fcreate","1.docs\u002F4.organization\u002F2.create",{"title":59,"path":60,"stem":61},"Billing","\u002Fdocs\u002Forganization\u002Fbilling","1.docs\u002F4.organization\u002F3.billing",{"title":63,"path":64,"stem":65},"Organization permissions","\u002Fdocs\u002Forganization\u002Fpermissions","1.docs\u002F4.organization\u002F4.permissions",{"title":67,"path":68,"stem":69},"Organization users","\u002Fdocs\u002Forganization\u002Fusers","1.docs\u002F4.organization\u002F5.users",{"title":71,"path":72,"stem":73},"Organization security","\u002Fdocs\u002Forganization\u002Fsecurity","1.docs\u002F4.organization\u002F6.security",{"title":75,"icon":21,"path":76,"stem":77,"children":78,"page":21},"Audit","\u002Fdocs\u002Forganization\u002Faudit","1.docs\u002F4.organization\u002F7.audit",[79,83],{"title":80,"path":81,"stem":82},"Audit Logs","\u002Fdocs\u002Forganization\u002Faudit\u002Flogs","1.docs\u002F4.organization\u002F7.audit\u002F1.logs",{"title":84,"path":85,"stem":86},"Audit Notifications","\u002Fdocs\u002Forganization\u002Faudit\u002Fnotifications","1.docs\u002F4.organization\u002F7.audit\u002F2.notifications",{"title":88,"icon":21,"path":89,"stem":90,"children":91,"page":21},"Workspaces","\u002Fdocs\u002Fworkspaces","1.docs\u002F5.workspaces",[92,96,100],{"title":93,"path":94,"stem":95},"Workspace Overview","\u002Fdocs\u002Fworkspaces\u002Foverview","1.docs\u002F5.workspaces\u002F1.overview",{"title":97,"path":98,"stem":99},"Create Workspace","\u002Fdocs\u002Fworkspaces\u002Fcreate","1.docs\u002F5.workspaces\u002F2.create",{"title":101,"path":102,"stem":103},"Workspace permissions","\u002Fdocs\u002Fworkspaces\u002Fpermissions","1.docs\u002F5.workspaces\u002F3.permissions",{"title":105,"icon":21,"path":106,"stem":107,"children":108,"page":21},"Kubernetes Agent","\u002Fdocs\u002Fagents","1.docs\u002F6.agents",[109,113,117,121],{"title":110,"path":111,"stem":112},"Agents Overview","\u002Fdocs\u002Fagents\u002Foverview","1.docs\u002F6.agents\u002F1.overview",{"title":114,"path":115,"stem":116},"Agents Deployment","\u002Fdocs\u002Fagents\u002Fdeployment","1.docs\u002F6.agents\u002F2.deployment",{"title":118,"path":119,"stem":120},"AWS Marketplace","\u002Fdocs\u002Fagents\u002Faws-marketplace","1.docs\u002F6.agents\u002F3.aws-marketplace",{"title":122,"path":123,"stem":124},"Agents Security","\u002Fdocs\u002Fagents\u002Fsecurity","1.docs\u002F6.agents\u002F4.security",{"title":126,"icon":21,"path":127,"stem":128,"children":129,"page":21},"Secrets","\u002Fdocs\u002Fsecrets","1.docs\u002F7.secrets",[130,134,138,142,146],{"title":131,"path":132,"stem":133},"Secret Overview","\u002Fdocs\u002Fsecrets\u002Foverview","1.docs\u002F7.secrets\u002F1.overview",{"title":135,"path":136,"stem":137},"Secret Types","\u002Fdocs\u002Fsecrets\u002Ftypes","1.docs\u002F7.secrets\u002F2.types",{"title":139,"path":140,"stem":141},"Secret Versions","\u002Fdocs\u002Fsecrets\u002Fversions","1.docs\u002F7.secrets\u002F3.versions",{"title":143,"path":144,"stem":145},"Two-Factor codes","\u002Fdocs\u002Fsecrets\u002Ftwo-factor","1.docs\u002F7.secrets\u002F4.two-factor",{"title":147,"icon":21,"path":148,"stem":149,"children":150,"page":21},"One-time share","\u002Fdocs\u002Fsecrets\u002Fonetime","1.docs\u002F7.secrets\u002F5.onetime",[151,155],{"title":152,"path":153,"stem":154},"Secret Version","\u002Fdocs\u002Fsecrets\u002Fonetime\u002Fversion","1.docs\u002F7.secrets\u002F5.onetime\u002F1.version",{"title":156,"path":157,"stem":158},"Custom note","\u002Fdocs\u002Fsecrets\u002Fonetime\u002Fcustom","1.docs\u002F7.secrets\u002F5.onetime\u002F2.custom",{"title":160,"icon":21,"path":161,"stem":162,"children":163,"page":21},"Integrations","\u002Fdocs\u002Fintegration","1.docs\u002F8.integration",[164,167,180,193],{"title":26,"path":165,"stem":166},"\u002Fdocs\u002Fintegration\u002Foverview","1.docs\u002F8.integration\u002F1.overview",{"title":168,"icon":21,"path":169,"stem":170,"children":171,"page":21},"Notifications","\u002Fdocs\u002Fintegration\u002Fnotification","1.docs\u002F8.integration\u002F2.notification",[172,176],{"title":173,"path":174,"stem":175},"Slack","\u002Fdocs\u002Fintegration\u002Fnotification\u002Fslack","1.docs\u002F8.integration\u002F2.notification\u002F1.slack",{"title":177,"path":178,"stem":179},"Telegram","\u002Fdocs\u002Fintegration\u002Fnotification\u002Ftelegram","1.docs\u002F8.integration\u002F2.notification\u002F2.telegram",{"title":181,"icon":21,"path":182,"stem":183,"children":184,"page":21},"Connections","\u002Fdocs\u002Fintegration\u002Fconnections","1.docs\u002F8.integration\u002F3.connections",[185,189],{"title":186,"path":187,"stem":188},"GCP Connection","\u002Fdocs\u002Fintegration\u002Fconnections\u002Fgcp","1.docs\u002F8.integration\u002F3.connections\u002F1.gcp",{"title":190,"path":191,"stem":192},"AWS Connection","\u002Fdocs\u002Fintegration\u002Fconnections\u002Faws","1.docs\u002F8.integration\u002F3.connections\u002F2.aws",{"title":194,"icon":21,"path":195,"stem":196,"children":197,"page":21},"KMS (Key Management System)","\u002Fdocs\u002Fintegration\u002Fkms","1.docs\u002F8.integration\u002F4.kms",[198,202,206],{"title":199,"path":200,"stem":201},"KMS Overview","\u002Fdocs\u002Fintegration\u002Fkms\u002Foverview","1.docs\u002F8.integration\u002F4.kms\u002F1.overview",{"title":203,"path":204,"stem":205},"GCP KMS","\u002Fdocs\u002Fintegration\u002Fkms\u002Fgcp","1.docs\u002F8.integration\u002F4.kms\u002F2.gcp",{"title":207,"path":208,"stem":209},"AWS KMS","\u002Fdocs\u002Fintegration\u002Fkms\u002Faws","1.docs\u002F8.integration\u002F4.kms\u002F3.aws",{"title":211,"path":212,"stem":213,"icon":214},"Security","\u002Fdocs\u002Fsecurity","1.docs\u002F9.security","i-lucide-shield-check",{"title":216,"icon":217,"path":218,"stem":219,"children":220,"page":21},"CLI Reference","i-lucide-terminal","\u002Fcli","2.cli",[221,224,228],{"title":26,"path":222,"stem":223},"\u002Fcli\u002Foverview","2.cli\u002F1.overview",{"title":225,"path":226,"stem":227},"Quickstart","\u002Fcli\u002Fquickstart","2.cli\u002F2.quickstart",{"title":229,"icon":21,"path":230,"stem":231,"children":232,"page":21},"Commands","\u002Fcli\u002Fcommands","2.cli\u002F3.commands",[233,237,241,259,263],{"title":234,"path":235,"stem":236},"ennote auth","\u002Fcli\u002Fcommands\u002Fauth","2.cli\u002F3.commands\u002F1.auth",{"title":238,"path":239,"stem":240},"ennote config","\u002Fcli\u002Fcommands\u002Fconfig","2.cli\u002F3.commands\u002F2.config",{"title":242,"path":243,"stem":244,"children":245,"icon":21},"ennote secret","\u002Fcli\u002Fcommands\u002Fsecret","2.cli\u002F3.commands\u002F3.secret\u002F1.index",[246,247,251,255],{"title":26,"path":243,"stem":244},{"title":248,"path":249,"stem":250},"create","\u002Fcli\u002Fcommands\u002Fsecret\u002Fcreate","2.cli\u002F3.commands\u002F3.secret\u002F2.create",{"title":252,"path":253,"stem":254},"get","\u002Fcli\u002Fcommands\u002Fsecret\u002Fget","2.cli\u002F3.commands\u002F3.secret\u002F3.get",{"title":256,"path":257,"stem":258},"import","\u002Fcli\u002Fcommands\u002Fsecret\u002Fimport","2.cli\u002F3.commands\u002F3.secret\u002F4.import",{"title":260,"path":261,"stem":262},"ennote share","\u002Fcli\u002Fcommands\u002Fshare","2.cli\u002F3.commands\u002F4.share",{"title":264,"path":265,"stem":266},"ennote version","\u002Fcli\u002Fcommands\u002Fversion","2.cli\u002F3.commands\u002F5.version",{"title":268,"icon":269,"path":270,"stem":271,"children":272,"page":21},"Guides","i-lucide-compass","\u002Fguides","3.guides",[273,276,308,352,361],{"title":26,"path":274,"stem":275},"\u002Fguides\u002Foverview","3.guides\u002F1.overview",{"title":277,"icon":21,"path":278,"stem":279,"children":280,"page":21},"Local Development","\u002Fguides\u002Flocal-development","3.guides\u002F2.local-development",[281,284,288,292,296,300,304],{"title":26,"path":282,"stem":283},"\u002Fguides\u002Flocal-development\u002Foverview","3.guides\u002F2.local-development\u002F1.overview",{"title":285,"path":286,"stem":287},"JavaScript & TypeScript","\u002Fguides\u002Flocal-development\u002Fjavascript","3.guides\u002F2.local-development\u002F2.javascript",{"title":289,"path":290,"stem":291},"Python","\u002Fguides\u002Flocal-development\u002Fpython","3.guides\u002F2.local-development\u002F3.python",{"title":293,"path":294,"stem":295},"Go","\u002Fguides\u002Flocal-development\u002Fgo","3.guides\u002F2.local-development\u002F4.go",{"title":297,"path":298,"stem":299},"Java & Kotlin","\u002Fguides\u002Flocal-development\u002Fjava","3.guides\u002F2.local-development\u002F5.java",{"title":301,"path":302,"stem":303},"PHP","\u002Fguides\u002Flocal-development\u002Fphp","3.guides\u002F2.local-development\u002F6.php",{"title":305,"path":306,"stem":307},"Ruby, .NET and Rust","\u002Fguides\u002Flocal-development\u002Fmore-languages","3.guides\u002F2.local-development\u002F7.more-languages",{"title":309,"icon":21,"path":310,"stem":311,"children":312,"page":21},"CI\u002FCD","\u002Fguides\u002Fci-cd","3.guides\u002F3.ci-cd",[313,316,320,324,328,332,336,340,344,348],{"title":26,"path":314,"stem":315},"\u002Fguides\u002Fci-cd\u002Foverview","3.guides\u002F3.ci-cd\u002F01.overview",{"title":317,"path":318,"stem":319},"GitHub Actions","\u002Fguides\u002Fci-cd\u002Fgithub-actions","3.guides\u002F3.ci-cd\u002F02.github-actions",{"title":321,"path":322,"stem":323},"GitLab CI\u002FCD","\u002Fguides\u002Fci-cd\u002Fgitlab-ci","3.guides\u002F3.ci-cd\u002F03.gitlab-ci",{"title":325,"path":326,"stem":327},"Jenkins","\u002Fguides\u002Fci-cd\u002Fjenkins","3.guides\u002F3.ci-cd\u002F04.jenkins",{"title":329,"path":330,"stem":331},"Azure DevOps","\u002Fguides\u002Fci-cd\u002Fazure-devops","3.guides\u002F3.ci-cd\u002F05.azure-devops",{"title":333,"path":334,"stem":335},"Bitbucket Pipelines","\u002Fguides\u002Fci-cd\u002Fbitbucket","3.guides\u002F3.ci-cd\u002F06.bitbucket",{"title":337,"path":338,"stem":339},"CircleCI","\u002Fguides\u002Fci-cd\u002Fcircleci","3.guides\u002F3.ci-cd\u002F07.circleci",{"title":341,"path":342,"stem":343},"TeamCity","\u002Fguides\u002Fci-cd\u002Fteamcity","3.guides\u002F3.ci-cd\u002F08.teamcity",{"title":345,"path":346,"stem":347},"AWS CodeBuild","\u002Fguides\u002Fci-cd\u002Faws-codebuild","3.guides\u002F3.ci-cd\u002F09.aws-codebuild",{"title":349,"path":350,"stem":351},"Google Cloud Build","\u002Fguides\u002Fci-cd\u002Fgoogle-cloud-build","3.guides\u002F3.ci-cd\u002F10.google-cloud-build",{"title":353,"icon":21,"path":354,"stem":355,"children":356,"page":21},"Containers","\u002Fguides\u002Fcontainers","3.guides\u002F4.containers",[357],{"title":358,"path":359,"stem":360},"Docker","\u002Fguides\u002Fcontainers\u002Fdocker","3.guides\u002F4.containers\u002F1.docker",{"title":362,"path":363,"stem":364},"Import from other managers","\u002Fguides\u002Fimport","3.guides\u002F5.import",{"id":366,"title":329,"body":367,"description":943,"extension":944,"links":945,"meta":946,"navigation":485,"path":330,"seo":947,"stem":331,"__hash__":950},"docs\u002F3.guides\u002F3.ci-cd\u002F05.azure-devops.md",{"type":368,"value":369,"toc":932},"minimark",[370,375,389,393,400,404,407,443,447,737,749,776,780,787,892,896,901,908,912,925,928],[371,372,374],"h2",{"id":373},"how-it-works","How it works",[376,377,378,379,383,384,388],"p",{},"Azure DevOps stores one Ennote token as a secret variable. The pipeline maps it into the step's environment, and ",[380,381,382],"code",{},"ennote secret get \u003Csecret> -- \u003Ccommand>"," runs the command with the keys of the secret as environment variables. See the ",[385,386,387],"a",{"href":314},"CI\u002FCD overview"," for the common setup.",[371,390,392],{"id":391},"_1-create-a-token","1. Create a token",[376,394,395,396,399],{},"Create a ",[385,397,398],{"href":43},"Personal Access Token"," with an expiration, and copy it.",[371,401,403],{"id":402},"_2-store-it-in-azure-devops","2. Store it in Azure DevOps",[376,405,406],{},"Choose one:",[408,409,410,430],"ul",{},[411,412,413,417,418,421,422,425,426,429],"li",{},[414,415,416],"strong",{},"Pipeline variable:"," edit the pipeline, click ",[414,419,420],{},"Variables → New variable",", name it ",[380,423,424],{},"ENNOTE_TOKEN",", paste the token and select ",[414,427,428],{},"Keep this value secret",".",[411,431,432,435,436,439,440,442],{},[414,433,434],{},"Variable group"," (to share it between pipelines): open ",[414,437,438],{},"Pipelines → Library → + Variable group",", add ",[380,441,424],{},", click the lock icon to make it secret, and save. Link the group in your YAML as shown below.",[371,444,446],{"id":445},"_3-add-the-pipeline","3. Add the pipeline",[448,449,455],"pre",{"className":450,"code":451,"filename":452,"language":453,"meta":454,"style":454},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","trigger:\n  - main\n\npool:\n  vmImage: ubuntu-latest\n\nvariables:\n  - group: ennote            # only if you used a variable group\n  - name: ENNOTE_ORGANIZATION_ID\n    value: org_123\n  - name: ENNOTE_WORKSPACE_ID\n    value: wrk_prod\n  - name: ENNOTE_DO_NOT_TRACK\n    value: '1'\n\nsteps:\n  - script: curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\n    displayName: Install the Ennote CLI\n\n  - script: ennote secret get db-credentials -- npm run migrate\n    displayName: Run database migrations\n    env:\n      ENNOTE_TOKEN: $(ENNOTE_TOKEN)\n\n  - script: ennote secret get aws -- .\u002Fdeploy.sh\n    displayName: Deploy\n    env:\n      ENNOTE_TOKEN: $(ENNOTE_TOKEN)\n","azure-pipelines.yml","yaml","",[380,456,457,470,480,487,495,507,512,520,537,550,561,573,583,595,611,616,624,637,648,653,665,675,683,694,699,711,721,728],{"__ignoreMap":454},[458,459,462,466],"span",{"class":460,"line":461},"line",1,[458,463,465],{"class":464},"swJcz","trigger",[458,467,469],{"class":468},"sMK4o",":\n",[458,471,473,476],{"class":460,"line":472},2,[458,474,475],{"class":468},"  -",[458,477,479],{"class":478},"sfazB"," main\n",[458,481,483],{"class":460,"line":482},3,[458,484,486],{"emptyLinePlaceholder":485},true,"\n",[458,488,490,493],{"class":460,"line":489},4,[458,491,492],{"class":464},"pool",[458,494,469],{"class":468},[458,496,498,501,504],{"class":460,"line":497},5,[458,499,500],{"class":464},"  vmImage",[458,502,503],{"class":468},":",[458,505,506],{"class":478}," ubuntu-latest\n",[458,508,510],{"class":460,"line":509},6,[458,511,486],{"emptyLinePlaceholder":485},[458,513,515,518],{"class":460,"line":514},7,[458,516,517],{"class":464},"variables",[458,519,469],{"class":468},[458,521,523,525,528,530,533],{"class":460,"line":522},8,[458,524,475],{"class":468},[458,526,527],{"class":464}," group",[458,529,503],{"class":468},[458,531,532],{"class":478}," ennote",[458,534,536],{"class":535},"sHwdD","            # only if you used a variable group\n",[458,538,540,542,545,547],{"class":460,"line":539},9,[458,541,475],{"class":468},[458,543,544],{"class":464}," name",[458,546,503],{"class":468},[458,548,549],{"class":478}," ENNOTE_ORGANIZATION_ID\n",[458,551,553,556,558],{"class":460,"line":552},10,[458,554,555],{"class":464},"    value",[458,557,503],{"class":468},[458,559,560],{"class":478}," org_123\n",[458,562,564,566,568,570],{"class":460,"line":563},11,[458,565,475],{"class":468},[458,567,544],{"class":464},[458,569,503],{"class":468},[458,571,572],{"class":478}," ENNOTE_WORKSPACE_ID\n",[458,574,576,578,580],{"class":460,"line":575},12,[458,577,555],{"class":464},[458,579,503],{"class":468},[458,581,582],{"class":478}," wrk_prod\n",[458,584,586,588,590,592],{"class":460,"line":585},13,[458,587,475],{"class":468},[458,589,544],{"class":464},[458,591,503],{"class":468},[458,593,594],{"class":478}," ENNOTE_DO_NOT_TRACK\n",[458,596,598,600,602,605,608],{"class":460,"line":597},14,[458,599,555],{"class":464},[458,601,503],{"class":468},[458,603,604],{"class":468}," '",[458,606,607],{"class":478},"1",[458,609,610],{"class":468},"'\n",[458,612,614],{"class":460,"line":613},15,[458,615,486],{"emptyLinePlaceholder":485},[458,617,619,622],{"class":460,"line":618},16,[458,620,621],{"class":464},"steps",[458,623,469],{"class":468},[458,625,627,629,632,634],{"class":460,"line":626},17,[458,628,475],{"class":468},[458,630,631],{"class":464}," script",[458,633,503],{"class":468},[458,635,636],{"class":478}," curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\n",[458,638,640,643,645],{"class":460,"line":639},18,[458,641,642],{"class":464},"    displayName",[458,644,503],{"class":468},[458,646,647],{"class":478}," Install the Ennote CLI\n",[458,649,651],{"class":460,"line":650},19,[458,652,486],{"emptyLinePlaceholder":485},[458,654,656,658,660,662],{"class":460,"line":655},20,[458,657,475],{"class":468},[458,659,631],{"class":464},[458,661,503],{"class":468},[458,663,664],{"class":478}," ennote secret get db-credentials -- npm run migrate\n",[458,666,668,670,672],{"class":460,"line":667},21,[458,669,642],{"class":464},[458,671,503],{"class":468},[458,673,674],{"class":478}," Run database migrations\n",[458,676,678,681],{"class":460,"line":677},22,[458,679,680],{"class":464},"    env",[458,682,469],{"class":468},[458,684,686,689,691],{"class":460,"line":685},23,[458,687,688],{"class":464},"      ENNOTE_TOKEN",[458,690,503],{"class":468},[458,692,693],{"class":478}," $(ENNOTE_TOKEN)\n",[458,695,697],{"class":460,"line":696},24,[458,698,486],{"emptyLinePlaceholder":485},[458,700,702,704,706,708],{"class":460,"line":701},25,[458,703,475],{"class":468},[458,705,631],{"class":464},[458,707,503],{"class":468},[458,709,710],{"class":478}," ennote secret get aws -- .\u002Fdeploy.sh\n",[458,712,714,716,718],{"class":460,"line":713},26,[458,715,642],{"class":464},[458,717,503],{"class":468},[458,719,720],{"class":478}," Deploy\n",[458,722,724,726],{"class":460,"line":723},27,[458,725,680],{"class":464},[458,727,469],{"class":468},[458,729,731,733,735],{"class":460,"line":730},28,[458,732,688],{"class":464},[458,734,503],{"class":468},[458,736,693],{"class":478},[738,739,740,741,744,745,748],"warning",{},"Azure DevOps does not pass secret variables to scripts automatically. Every step that runs ",[380,742,743],{},"ennote"," needs the ",[380,746,747],{},"env: ENNOTE_TOKEN: $(ENNOTE_TOKEN)"," mapping. Non-secret variables, such as the organization and workspace IDs, are passed automatically.",[376,750,751,752,755,756,755,759,762,763,766,767,770,771,775],{},"Replace ",[380,753,754],{},"org_123",", ",[380,757,758],{},"wrk_prod",[380,760,761],{},"db-credentials"," and ",[380,764,765],{},"aws"," with your organization ID, workspace ID and secret names. Microsoft-hosted Ubuntu agents allow ",[380,768,769],{},"sudo",", so the install script works as is. On self-hosted agents without root, install the CLI on the agent once (",[385,772,774],{"href":773},"\u002Fguides\u002Fci-cd\u002Foverview#installing-the-cli","Installing the CLI",").",[371,777,779],{"id":778},"staging-and-production","Staging and Production",[376,781,782,783,786],{},"With multi-stage pipelines, set ",[380,784,785],{},"ENNOTE_WORKSPACE_ID"," per stage:",[448,788,790],{"className":450,"code":789,"filename":452,"language":453,"meta":454,"style":454},"stages:\n  - stage: Staging\n    variables:\n      ENNOTE_WORKSPACE_ID: wrk_staging\n    jobs:\n      - job: Deploy\n        steps:\n          - script: curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\n          - script: ennote secret get app -- .\u002Fdeploy.sh\n            env:\n              ENNOTE_TOKEN: $(ENNOTE_TOKEN)\n",[380,791,792,799,811,818,828,835,847,854,865,876,883],{"__ignoreMap":454},[458,793,794,797],{"class":460,"line":461},[458,795,796],{"class":464},"stages",[458,798,469],{"class":468},[458,800,801,803,806,808],{"class":460,"line":472},[458,802,475],{"class":468},[458,804,805],{"class":464}," stage",[458,807,503],{"class":468},[458,809,810],{"class":478}," Staging\n",[458,812,813,816],{"class":460,"line":482},[458,814,815],{"class":464},"    variables",[458,817,469],{"class":468},[458,819,820,823,825],{"class":460,"line":489},[458,821,822],{"class":464},"      ENNOTE_WORKSPACE_ID",[458,824,503],{"class":468},[458,826,827],{"class":478}," wrk_staging\n",[458,829,830,833],{"class":460,"line":497},[458,831,832],{"class":464},"    jobs",[458,834,469],{"class":468},[458,836,837,840,843,845],{"class":460,"line":509},[458,838,839],{"class":468},"      -",[458,841,842],{"class":464}," job",[458,844,503],{"class":468},[458,846,720],{"class":478},[458,848,849,852],{"class":460,"line":514},[458,850,851],{"class":464},"        steps",[458,853,469],{"class":468},[458,855,856,859,861,863],{"class":460,"line":522},[458,857,858],{"class":468},"          -",[458,860,631],{"class":464},[458,862,503],{"class":468},[458,864,636],{"class":478},[458,866,867,869,871,873],{"class":460,"line":539},[458,868,858],{"class":468},[458,870,631],{"class":464},[458,872,503],{"class":468},[458,874,875],{"class":478}," ennote secret get app -- .\u002Fdeploy.sh\n",[458,877,878,881],{"class":460,"line":552},[458,879,880],{"class":464},"            env",[458,882,469],{"class":468},[458,884,885,888,890],{"class":460,"line":563},[458,886,887],{"class":464},"              ENNOTE_TOKEN",[458,889,503],{"class":468},[458,891,693],{"class":478},[371,893,895],{"id":894},"faq","FAQ",[897,898,900],"h3",{"id":899},"why-is-ennote_token-empty-in-my-script","Why is ENNOTE_TOKEN empty in my script?",[376,902,903,904,907],{},"The step is missing the ",[380,905,906],{},"env:"," mapping. Secret variables are only available to a script when mapped explicitly.",[897,909,911],{"id":910},"do-windows-agents-work","Do Windows agents work?",[376,913,914,915,918,919,922,923,429],{},"The install script supports Linux and macOS. Use an ",[380,916,917],{},"ubuntu-latest"," or ",[380,920,921],{},"macos-latest"," agent for steps that run ",[380,924,743],{},[926,927],"need-help",{},[929,930,931],"style",{},"html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":454,"searchDepth":472,"depth":472,"links":933},[934,935,936,937,938,939],{"id":373,"depth":472,"text":374},{"id":391,"depth":472,"text":392},{"id":402,"depth":472,"text":403},{"id":445,"depth":472,"text":446},{"id":778,"depth":472,"text":779},{"id":894,"depth":472,"text":895,"children":940},[941,942],{"id":899,"depth":482,"text":900},{"id":910,"depth":482,"text":911},"Use Ennote secrets in Azure DevOps Pipelines: store an Ennote token as a secret pipeline variable or in a variable group, map it into the step's environment, and inject secrets with ennote secret get.","md",null,{},{"title":948,"description":949},"Use Ennote Secrets in Azure DevOps Pipelines","Store an Ennote token as a secret variable in Azure DevOps, map it to ENNOTE_TOKEN in azure-pipelines.yml and inject secrets into build and deploy steps.","ASLE0osYBAKMWZi99Yik0lN2wT6ksWtz20rmPit__2Q",[952,954],{"title":325,"path":326,"stem":327,"description":953,"children":-1},"Use Ennote secrets in Jenkins pipelines: store an Ennote token as a Secret text credential, bind it with credentials() in a Jenkinsfile, and inject secrets into build and deploy steps with ennote secret get.",{"title":333,"path":334,"stem":335,"description":955,"children":-1},"Use Ennote secrets in Bitbucket Pipelines: store an Ennote token as a secured repository or deployment variable, install the Ennote CLI in the step, and inject secrets with ennote secret get.",1796188903895]