[{"data":1,"prerenderedAt":877},["ShallowReactive",2],{"navigation_docs":3,"-guides-ci-cd-overview":365,"-guides-ci-cd-overview-surround":872},[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":367,"body":368,"description":863,"extension":864,"links":865,"meta":866,"navigation":867,"path":314,"seo":868,"stem":315,"__hash__":871},"docs\u002F3.guides\u002F3.ci-cd\u002F01.overview.md","Ennote Secrets in CI\u002FCD Pipelines",{"type":369,"value":370,"toc":850},"minimark",[371,380,428,431,435,530,533,537,683,687,697,743,765,769,786,796,800,830,834,843,846],[372,373,374,375,379],"p",{},"Every CI\u002FCD system works with Ennote the same way. Instead of copying each password and API key into your CI tool's settings, you store ",[376,377,378],"strong",{},"one Ennote token"," there. The job installs the Ennote CLI, which uses the token to fetch secrets and pass them to your command as environment variables:",[381,382,387],"pre",{"className":383,"code":384,"language":385,"meta":386,"style":386},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ennote secret get \"db-credentials\" -- npm run migrate\n","bash","",[388,389,390],"code",{"__ignoreMap":386},[391,392,395,399,403,406,410,413,416,419,422,425],"span",{"class":393,"line":394},"line",1,[391,396,398],{"class":397},"sBMFI","ennote",[391,400,402],{"class":401},"sfazB"," secret",[391,404,405],{"class":401}," get",[391,407,409],{"class":408},"sMK4o"," \"",[391,411,412],{"class":401},"db-credentials",[391,414,415],{"class":408},"\"",[391,417,418],{"class":401}," --",[391,420,421],{"class":401}," npm",[391,423,424],{"class":401}," run",[391,426,427],{"class":401}," migrate\n",[372,429,430],{},"Ennote never writes the values to a file or prints them to the build log. When you rotate a secret in Ennote, the next pipeline run uses the new value, with no change in the CI tool.",[432,433,268],"h2",{"id":434},"guides",[436,437,438,451],"table",{},[439,440,441],"thead",{},[442,443,444,448],"tr",{},[445,446,447],"th",{},"CI\u002FCD system",[445,449,450],{},"Guide",[452,453,454,464,472,480,489,497,505,513,522],"tbody",{},[442,455,456,459],{},[457,458,317],"td",{},[457,460,461],{},[462,463,317],"a",{"href":318},[442,465,466,468],{},[457,467,321],{},[457,469,470],{},[462,471,321],{"href":322},[442,473,474,476],{},[457,475,325],{},[457,477,478],{},[462,479,325],{"href":326},[442,481,482,485],{},[457,483,484],{},"Azure DevOps Pipelines",[457,486,487],{},[462,488,329],{"href":330},[442,490,491,493],{},[457,492,333],{},[457,494,495],{},[462,496,333],{"href":334},[442,498,499,501],{},[457,500,337],{},[457,502,503],{},[462,504,337],{"href":338},[442,506,507,509],{},[457,508,341],{},[457,510,511],{},[462,512,341],{"href":342},[442,514,515,518],{},[457,516,517],{},"AWS CodeBuild and CodePipeline",[457,519,520],{},[462,521,345],{"href":346},[442,523,524,526],{},[457,525,349],{},[457,527,528],{},[462,529,349],{"href":350},[372,531,532],{},"Not on the list? The steps below work in any system that can run a shell command.",[432,534,536],{"id":535},"the-three-steps","The Three Steps",[538,539,541,546,553,557,564,568,571,627,670],"steps",{"level":540},"3",[542,543,545],"h3",{"id":544},"create-a-token","Create a token",[372,547,548,549,552],{},"Create a ",[462,550,551],{"href":43},"Personal Access Token"," with an expiration date and copy it. The pipeline can read every secret the token's owner can read, so use an account with access only to the workspaces the pipeline needs.",[542,554,556],{"id":555},"store-the-token-in-your-ci-tool","Store the token in your CI tool",[372,558,559,560,563],{},"Save it as a secret or masked variable named ",[388,561,562],{},"ENNOTE_TOKEN",". This is the only credential your CI tool holds.",[542,565,567],{"id":566},"install-the-cli-and-run-your-command","Install the CLI and run your command",[372,569,570],{},"Set these environment variables in the job, then install the CLI and run your command through it:",[436,572,573,583],{},[439,574,575],{},[442,576,577,580],{},[445,578,579],{},"Variable",[445,581,582],{},"Value",[452,584,585,594,604,614],{},[442,586,587,591],{},[457,588,589],{},[388,590,562],{},[457,592,593],{},"The token, from your CI tool's secret store",[442,595,596,601],{},[457,597,598],{},[388,599,600],{},"ENNOTE_ORGANIZATION_ID",[457,602,603],{},"Your organization ID",[442,605,606,611],{},[457,607,608],{},[388,609,610],{},"ENNOTE_WORKSPACE_ID",[457,612,613],{},"The workspace that holds this pipeline's secrets",[442,615,616,621],{},[457,617,618],{},[388,619,620],{},"ENNOTE_DO_NOT_TRACK",[457,622,623,626],{},[388,624,625],{},"1",", to turn off telemetry and update checks",[381,628,630],{"className":383,"code":629,"language":385,"meta":386,"style":386},"curl -sSfL https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh | sh\nennote secret get \"app\" -- .\u002Fdeploy.sh\n",[388,631,632,649],{"__ignoreMap":386},[391,633,634,637,640,643,646],{"class":393,"line":394},[391,635,636],{"class":397},"curl",[391,638,639],{"class":401}," -sSfL",[391,641,642],{"class":401}," https:\u002F\u002Fget.ennote.io\u002Fget-cli.sh",[391,644,645],{"class":408}," |",[391,647,648],{"class":397}," sh\n",[391,650,652,654,656,658,660,663,665,667],{"class":393,"line":651},2,[391,653,398],{"class":397},[391,655,402],{"class":401},[391,657,405],{"class":401},[391,659,409],{"class":408},[391,661,662],{"class":401},"app",[391,664,415],{"class":408},[391,666,418],{"class":401},[391,668,669],{"class":401}," .\u002Fdeploy.sh\n",[372,671,672,673,675,676,679,680,682],{},"With ",[388,674,562],{}," set, the CLI does not need ",[388,677,678],{},"ennote auth login"," (",[462,681,234],{"href":235},").",[432,684,686],{"id":685},"installing-the-cli","Installing the CLI",[372,688,689,690,692,693,696],{},"The install script downloads the latest release from GitHub, checks its SHA-256 checksum and puts the ",[388,691,398],{}," binary in ",[388,694,695],{},"\u002Fusr\u002Flocal\u002Fbin",". It needs:",[698,699,700,709,733],"ul",{},[701,702,703,704,708],"li",{},"Linux or macOS. Windows agents are not supported by the script; use a Linux agent, or install the CLI on Windows with ",[462,705,707],{"href":706},"\u002Fcli\u002Foverview#windows-scoop","Scoop",".",[701,710,711,713,714,713,717,720,721,724,725,728,729,732],{},[388,712,636],{},", ",[388,715,716],{},"tar",[388,718,719],{},"awk"," and ",[388,722,723],{},"sha256sum"," (or ",[388,726,727],{},"shasum","). Most CI images have them; on Alpine run ",[388,730,731],{},"apk add --no-cache curl"," first.",[701,734,735,736,738,739,742],{},"Write access to ",[388,737,695],{},": run as root, or as a user with passwordless ",[388,740,741],{},"sudo",". Hosted runners on GitHub, Azure DevOps and CircleCI allow this.",[372,744,745,746,713,749,752,753,756,757,764],{},"On self-hosted agents without root, such as many Jenkins and TeamCity agents, install the CLI once on the agent or bake it into your build image. Download the binary or the ",[388,747,748],{},".deb",[388,750,751],{},".rpm"," or ",[388,754,755],{},".apk"," package from the ",[462,758,763],{"href":759,"rel":760,"target":762},"https:\u002F\u002Fgithub.com\u002Fennote-io\u002Fennote-cli\u002Freleases\u002Flatest",[761],"nofollow","_blank","releases page",". A preinstalled CLI also makes jobs faster and pins the version you run.",[432,766,768],{"id":767},"separate-environments","Separate Environments",[372,770,771,772,775,776,720,779,782,783,785],{},"Keep each environment's secrets in its own ",[462,773,774],{"href":94},"workspace",", for example ",[388,777,778],{},"staging",[388,780,781],{},"production",", and set ",[388,784,610],{}," per job or per CI environment. For the strongest separation, use a different token for production, owned by an account that only has access to the production workspace.",[372,787,788,789,679,792,682],{},"To read one secret from another workspace in a single command, pass ",[388,790,791],{},"--workspace-id",[462,793,795],{"href":794},"\u002Fcli\u002Fcommands\u002Fsecret\u002Fget#override-flags","override flags",[432,797,799],{"id":798},"keeping-values-out-of-logs","Keeping Values Out of Logs",[698,801,802,812,821],{},[701,803,804,807,808,811],{},[376,805,806],{},"Prefer process injection."," ",[388,809,810],{},"ennote secret get \"\u003Csecret>\" -- \u003Ccommand>"," passes values to the command without printing them.",[701,813,814,807,817,820],{},[376,815,816],{},"Avoid printing single values.",[388,818,819],{},"ennote secret get \"\u003Csecret>:\u003Ckey>\""," writes the value to stdout. If you must use it, capture it in a variable instead of echoing it, because CI log masking only knows about the CI tool's own secrets, not values fetched from Ennote.",[701,822,823,679,826,829],{},[376,824,825],{},"Don't enable shell tracing",[388,827,828],{},"set -x",") in steps that handle secrets.",[432,831,833],{"id":832},"rotating-the-token","Rotating the Token",[372,835,836,837,839,840,842],{},"Create a new token, update ",[388,838,562],{}," in your CI tool, run a pipeline to check it, then revoke the old token in Ennote (",[462,841,42],{"href":43},"). Set a reminder before the token's expiration date.",[844,845],"need-help",{},[847,848,849],"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":386,"searchDepth":651,"depth":651,"links":851},[852,853,859,860,861,862],{"id":434,"depth":651,"text":268},{"id":535,"depth":651,"text":536,"children":854},[855,857,858],{"id":544,"depth":856,"text":545},3,{"id":555,"depth":856,"text":556},{"id":566,"depth":856,"text":567},{"id":685,"depth":651,"text":686},{"id":767,"depth":651,"text":768},{"id":798,"depth":651,"text":799},{"id":832,"depth":651,"text":833},"How to use Ennote secrets in any CI\u002FCD system: store one Ennote token in the CI tool, install the Ennote CLI in the job, and inject secrets into build, test and deploy commands with ennote secret get.","md",null,{},{"title":26},{"title":869,"description":870},"Use Ennote Secrets in CI\u002FCD Pipelines","The common pattern for Ennote in CI\u002FCD — one token in your CI tool, the Ennote CLI in the job, secrets injected with ennote secret get — with guides for 9 CI systems.","OX2nTi1GGAZ9HGGe-3rjgaHUaEHEuQWj2fZmkVhKr3s",[873,875],{"title":305,"path":306,"stem":307,"description":874,"children":-1},"Run Ruby on Rails, ASP.NET Core and Rust apps locally with secrets from Ennote instead of a .env file, by starting them with ennote secret get.",{"title":317,"path":318,"stem":319,"description":876,"children":-1},"Use Ennote secrets in GitHub Actions: install the Ennote CLI on the runner, authenticate with a token stored as a GitHub secret, and inject secrets into a step with ennote secret get, without writing a .env file.",1796188903377]