[{"data":1,"prerenderedAt":805},["ShallowReactive",2],{"navigation_docs":3,"-guides-ci-cd-jenkins":365,"-guides-ci-cd-jenkins-surround":800},[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":325,"body":367,"description":792,"extension":793,"links":794,"meta":795,"navigation":547,"path":326,"seo":796,"stem":327,"__hash__":799},"docs\u002F3.guides\u002F3.ci-cd\u002F04.jenkins.md",{"type":368,"value":369,"toc":779},"minimark",[370,375,393,397,404,408,424,449,453,464,496,519,523,670,695,699,702,720,743,747,752,755,763,772,775],[371,372,374],"h2",{"id":373},"how-it-works","How it works",[376,377,378,379,383,384,387,388,392],"p",{},"Jenkins stores one Ennote token as a credential. The Jenkinsfile binds it to ",[380,381,382],"code",{},"ENNOTE_TOKEN",", and ",[380,385,386],{},"ennote secret get \u003Csecret> -- \u003Ccommand>"," runs each command with the keys of the secret as environment variables. See the ",[389,390,391],"a",{"href":314},"CI\u002FCD overview"," for the common setup.",[371,394,396],{"id":395},"_1-create-a-token","1. Create a token",[376,398,399,400,403],{},"Create a ",[389,401,402],{"href":43},"Personal Access Token"," with an expiration, and copy it.",[371,405,407],{"id":406},"_2-store-it-in-jenkins","2. Store it in Jenkins",[376,409,410,411,415,416,419,420,423],{},"Open ",[412,413,414],"strong",{},"Manage Jenkins → Credentials",", choose a store and domain (for example ",[412,417,418],{},"System → Global credentials","), and click ",[412,421,422],{},"Add Credentials",":",[425,426,427,434,440],"ul",{},[428,429,430,433],"li",{},[412,431,432],{},"Kind:"," Secret text",[428,435,436,439],{},[412,437,438],{},"Secret:"," the token",[428,441,442,445,446],{},[412,443,444],{},"ID:"," ",[380,447,448],{},"ennote-token",[371,450,452],{"id":451},"_3-install-the-cli-on-your-agents","3. Install the CLI on your agents",[376,454,455,456,459,460,463],{},"Jenkins agents usually run as the ",[380,457,458],{},"jenkins"," user without root, so the install script cannot write to ",[380,461,462],{},"\u002Fusr\u002Flocal\u002Fbin",". Install the CLI once on each agent, or in the image your agents run, as root:",[465,466,471],"pre",{"className":467,"code":468,"language":469,"meta":470,"style":470},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\n","bash","",[380,472,473],{"__ignoreMap":470},[474,475,478,482,486,489,493],"span",{"class":476,"line":477},"line",1,[474,479,481],{"class":480},"sBMFI","curl",[474,483,485],{"class":484},"sfazB"," -sSfL",[474,487,488],{"class":484}," https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh",[474,490,492],{"class":491},"sMK4o"," |",[474,494,495],{"class":480}," sh\n",[376,497,498,499,502,503,506,507,510,511,518],{},"You can also install the ",[380,500,501],{},".deb",", ",[380,504,505],{},".rpm"," or ",[380,508,509],{},".apk"," package from the ",[389,512,517],{"href":513,"rel":514,"target":516},"https:\u002F\u002Fgithub.com\u002Fennote-io\u002Fennote-cli\u002Freleases\u002Flatest",[515],"nofollow","_blank","releases page",", for example with your configuration management tool.",[371,520,522],{"id":521},"_4-add-the-jenkinsfile","4. Add the Jenkinsfile",[465,524,529],{"className":525,"code":526,"filename":527,"language":528,"meta":470,"style":470},"language-groovy shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pipeline {\n  agent any\n\n  environment {\n    ENNOTE_TOKEN           = credentials('ennote-token')\n    ENNOTE_ORGANIZATION_ID = 'org_123'\n    ENNOTE_WORKSPACE_ID    = 'wrk_prod'\n    ENNOTE_DO_NOT_TRACK    = '1'\n  }\n\n  stages {\n    stage('Migrate') {\n      steps {\n        sh 'ennote secret get db-credentials -- npm run migrate'\n      }\n    }\n    stage('Deploy') {\n      when { branch 'main' }\n      steps {\n        sh 'ennote secret get aws -- .\u002Fdeploy.sh'\n      }\n    }\n  }\n}\n","Jenkinsfile","groovy",[380,530,531,536,542,549,555,561,567,573,579,585,590,596,602,608,614,620,626,632,638,643,649,654,659,664],{"__ignoreMap":470},[474,532,533],{"class":476,"line":477},[474,534,535],{},"pipeline {\n",[474,537,539],{"class":476,"line":538},2,[474,540,541],{},"  agent any\n",[474,543,545],{"class":476,"line":544},3,[474,546,548],{"emptyLinePlaceholder":547},true,"\n",[474,550,552],{"class":476,"line":551},4,[474,553,554],{},"  environment {\n",[474,556,558],{"class":476,"line":557},5,[474,559,560],{},"    ENNOTE_TOKEN           = credentials('ennote-token')\n",[474,562,564],{"class":476,"line":563},6,[474,565,566],{},"    ENNOTE_ORGANIZATION_ID = 'org_123'\n",[474,568,570],{"class":476,"line":569},7,[474,571,572],{},"    ENNOTE_WORKSPACE_ID    = 'wrk_prod'\n",[474,574,576],{"class":476,"line":575},8,[474,577,578],{},"    ENNOTE_DO_NOT_TRACK    = '1'\n",[474,580,582],{"class":476,"line":581},9,[474,583,584],{},"  }\n",[474,586,588],{"class":476,"line":587},10,[474,589,548],{"emptyLinePlaceholder":547},[474,591,593],{"class":476,"line":592},11,[474,594,595],{},"  stages {\n",[474,597,599],{"class":476,"line":598},12,[474,600,601],{},"    stage('Migrate') {\n",[474,603,605],{"class":476,"line":604},13,[474,606,607],{},"      steps {\n",[474,609,611],{"class":476,"line":610},14,[474,612,613],{},"        sh 'ennote secret get db-credentials -- npm run migrate'\n",[474,615,617],{"class":476,"line":616},15,[474,618,619],{},"      }\n",[474,621,623],{"class":476,"line":622},16,[474,624,625],{},"    }\n",[474,627,629],{"class":476,"line":628},17,[474,630,631],{},"    stage('Deploy') {\n",[474,633,635],{"class":476,"line":634},18,[474,636,637],{},"      when { branch 'main' }\n",[474,639,641],{"class":476,"line":640},19,[474,642,607],{},[474,644,646],{"class":476,"line":645},20,[474,647,648],{},"        sh 'ennote secret get aws -- .\u002Fdeploy.sh'\n",[474,650,652],{"class":476,"line":651},21,[474,653,619],{},[474,655,657],{"class":476,"line":656},22,[474,658,625],{},[474,660,662],{"class":476,"line":661},23,[474,663,584],{},[474,665,667],{"class":476,"line":666},24,[474,668,669],{},"}\n",[376,671,672,673,502,676,502,679,682,683,686,687,690,691,694],{},"Replace ",[380,674,675],{},"org_123",[380,677,678],{},"wrk_prod",[380,680,681],{},"db-credentials"," and ",[380,684,685],{},"aws"," with your organization ID, workspace ID and secret names. ",[380,688,689],{},"credentials()"," makes the token available only during the build and masks it in the console log. ",[380,692,693],{},"when { branch 'main' }"," works in Multibranch Pipeline jobs; in a regular Pipeline job, remove it.",[371,696,698],{"id":697},"docker-agents","Docker Agents",[376,700,701],{},"If your stages run in a Docker agent, install the CLI in the image you build for CI:",[465,703,708],{"className":704,"code":705,"filename":706,"language":707,"meta":470,"style":470},"language-dockerfile shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","FROM node:22\nRUN curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\n","Dockerfile","dockerfile",[380,709,710,715],{"__ignoreMap":470},[474,711,712],{"class":476,"line":477},[474,713,714],{},"FROM node:22\n",[474,716,717],{"class":476,"line":538},[474,718,719],{},"RUN curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\n",[465,721,723],{"className":525,"code":722,"filename":527,"language":528,"meta":470,"style":470},"pipeline {\n  agent { docker { image 'my-registry\u002Fci-node:22' } }\n  \u002F\u002F environment and stages as above\n}\n",[380,724,725,729,734,739],{"__ignoreMap":470},[474,726,727],{"class":476,"line":477},[474,728,535],{},[474,730,731],{"class":476,"line":538},[474,732,733],{},"  agent { docker { image 'my-registry\u002Fci-node:22' } }\n",[474,735,736],{"class":476,"line":544},[474,737,738],{},"  \u002F\u002F environment and stages as above\n",[474,740,741],{"class":476,"line":551},[474,742,669],{},[371,744,746],{"id":745},"faq","FAQ",[748,749,751],"h3",{"id":750},"can-i-scope-the-token-to-one-job","Can I scope the token to one job?",[376,753,754],{},"Yes. Store the credential in a folder's credentials store instead of the global one, so only jobs in that folder can use it.",[748,756,758,759,762],{"id":757},"do-i-need-ennote-auth-login-on-the-agent","Do I need ",[380,760,761],{},"ennote auth login"," on the agent?",[376,764,765,766,768,769,771],{},"No. With ",[380,767,382],{}," set, the CLI authenticates headlessly (",[389,770,234],{"href":235},").",[773,774],"need-help",{},[776,777,778],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}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":470,"searchDepth":538,"depth":538,"links":780},[781,782,783,784,785,786,787],{"id":373,"depth":538,"text":374},{"id":395,"depth":538,"text":396},{"id":406,"depth":538,"text":407},{"id":451,"depth":538,"text":452},{"id":521,"depth":538,"text":522},{"id":697,"depth":538,"text":698},{"id":745,"depth":538,"text":746,"children":788},[789,790],{"id":750,"depth":544,"text":751},{"id":757,"depth":544,"text":791},"Do I need ennote auth login on the agent?","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.","md",null,{},{"title":797,"description":798},"Use Ennote Secrets in Jenkins Pipelines","Store an Ennote token as a Jenkins Secret text credential, install the Ennote CLI on your agents and inject secrets into Jenkinsfile steps without .env files.","FezhVyIT8Oss0gLQZu81oZLUhFPCMFsiWlCnU7dWej4",[801,803],{"title":321,"path":322,"stem":323,"description":802,"children":-1},"Use Ennote secrets in GitLab CI\u002FCD: store an Ennote token as a masked CI\u002FCD variable, install the Ennote CLI in the job, and inject secrets into scripts with ennote secret get.",{"title":329,"path":330,"stem":331,"description":804,"children":-1},"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.",1796188903850]