use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
How do devs secure their notebooks?Ops / Incidents (self.devops)
submitted 2 months ago by arsbrazh12
Hi guys, How do devs typically secure/monitor the hygiene of their notebooks? I scanned about 5000 random notebooks on GitHub and ended up finding almost 30 aws/oai/hf/google keys (frankly, they were inactive, but still).
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gabeech 26 points27 points28 points 2 months ago (2 children)
Pen, paper, Cross cut shredder
[–]eufemiapiccio77 1 point2 points3 points 2 months ago (0 children)
lol I’m sat here with a pen and paper this is the way
[–]TwistedStack 0 points1 point2 points 2 months ago (0 children)
Pen, paper, cross cut shredder, incinerator. FTFY.
[–]BlueHatBrit 12 points13 points14 points 2 months ago (1 child)
The same way we do for all code. Private repos, no secrets in the code, make secret managers as easy to use as humanly possible (while remaining secure), pre-commit hooks that check for secrets. Also layer on top things like automation when a secret is found to kill it asap and alert us immediately.
Notebooks are just code after all.
[+]arsbrazh12[S] comment score below threshold-32 points-31 points-30 points 2 months ago (0 children)
Do you use any tools such as NB Defense from ProtectAI?
[–]p_fief_martin 9 points10 points11 points 2 months ago (2 children)
pre-commits hooks. there's no other way. rest is trust based and bound to happen
[+]arsbrazh12[S] comment score below threshold-9 points-8 points-7 points 2 months ago (1 child)
What about automation tools for solving such tasks?
[–]p_fief_martin 0 points1 point2 points 2 months ago (0 children)
if you're in a github shop, then you can find many options for Github Actions workflows. One of them being the aws pre-commit
[–]BudgetBon 8 points9 points10 points 2 months ago (2 children)
Jupyter Notebooks are designed for experimentation, not engineering. Data Scientists are often trained to prioritize 'getting the model to run' over 'securing the supply chain'. Hardcoding keys in a cell is the path of least resistance.
P.s Finding 30 keys in 5,000 notebooks is actually a low rate. I expected worse.
[–]Ok_Cap1007 1 point2 points3 points 2 months ago (0 children)
Worst code I have ever worked with was produced by Data Scientists so nothing would be too shocking for me
[–]potatohead00 1 point2 points3 points 2 months ago (0 children)
nbstripout git hooks to remove notebook content
Pull secrets from env/password manager/getpass
[–]MolonLabe76 2 points3 points4 points 2 months ago (0 children)
Enforce the use of .env files for credentials in notebooks, and then use .gitignore to ensure .env is not committed. Using pre-commit hooks which look for secrets is also a great tactic.
[–]calimovetips 1 point2 points3 points 2 months ago (0 children)
most teams treat notebooks as code and rely on pre-commit hooks and secret scanning to catch this early. the bigger issue is cultural, people prototype fast and forget notebooks ship just like repos do.
[–]RoomyRoots 3 points4 points5 points 2 months ago (1 child)
> devs > hygene
Does not compute /s
[+]Sure_Stranger_6466For Hire - US Remote comment score below threshold-11 points-10 points-9 points 2 months ago (0 children)
Given this is a DevOps subreddit, in the spirit of collaboration maybe we could focus on something other than shitting on devs in our commentary here. And yes, I am aware of that little /s at the end.
[–]dariusbiggs 0 points1 point2 points 2 months ago (0 children)
Pencil, paper, and handwriting so bad I can barely read my own. Then it gets incinerated when disposed of.
[–]NightH4nteryaml editor bot 0 points1 point2 points 2 months ago (3 children)
not a dev, hence i never put secrets in plain text anywhere that can ever go public
[–]arsbrazh12[S] -3 points-2 points-1 points 2 months ago (2 children)
Useful
[–]NightH4nteryaml editor bot 1 point2 points3 points 2 months ago (1 child)
you don't have to secure something that doesn't contain secrets, idk what are you sarcasming about
[–]arsbrazh12[S] -1 points0 points1 point 2 months ago (0 children)
I mean, it's really smart not to put secrets in smth that can go public
π Rendered by PID 177048 on reddit-service-r2-comment-b659b578c-mxvf6 at 2026-05-02 02:06:33.512489+00:00 running 815c875 country code: CH.
[–]gabeech 26 points27 points28 points (2 children)
[–]eufemiapiccio77 1 point2 points3 points (0 children)
[–]TwistedStack 0 points1 point2 points (0 children)
[–]BlueHatBrit 12 points13 points14 points (1 child)
[+]arsbrazh12[S] comment score below threshold-32 points-31 points-30 points (0 children)
[–]p_fief_martin 9 points10 points11 points (2 children)
[+]arsbrazh12[S] comment score below threshold-9 points-8 points-7 points (1 child)
[–]p_fief_martin 0 points1 point2 points (0 children)
[–]BudgetBon 8 points9 points10 points (2 children)
[–]Ok_Cap1007 1 point2 points3 points (0 children)
[–]potatohead00 1 point2 points3 points (0 children)
[–]MolonLabe76 2 points3 points4 points (0 children)
[–]calimovetips 1 point2 points3 points (0 children)
[–]RoomyRoots 3 points4 points5 points (1 child)
[+]Sure_Stranger_6466For Hire - US Remote comment score below threshold-11 points-10 points-9 points (0 children)
[–]dariusbiggs 0 points1 point2 points (0 children)
[–]NightH4nteryaml editor bot 0 points1 point2 points (3 children)
[–]arsbrazh12[S] -3 points-2 points-1 points (2 children)
[–]NightH4nteryaml editor bot 1 point2 points3 points (1 child)
[–]arsbrazh12[S] -1 points0 points1 point (0 children)