{"id":46304,"date":"2025-01-02T13:50:35","date_gmt":"2025-01-02T18:50:35","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=46304"},"modified":"2025-01-02T13:50:35","modified_gmt":"2025-01-02T18:50:35","slug":"op-run","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/01\/02\/op-run\/","title":{"rendered":"op run"},"content":{"rendered":"<p><a href=\"https:\/\/nshipster.com\/1password-cli\/\">Mattt Thompson<\/a> (<a href=\"https:\/\/x.com\/NSHipster\/status\/1874476831824658931\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/nshipster.com\/1password-cli\/\"><p>This core insight &mdash; that configuration should be separate from code &mdash;\n                led to the widespread adoption of <code>.env<\/code> files.<\/p><p>[&#8230;]<\/p><p>You add this file to <code>.gitignore<\/code> to keep it out of version control,\n                and load these variables into your environment at runtime with a tool or library.<\/p><p>[&#8230;]<\/p><p><code>op<\/code> lets you manage 1Password from the command-line.\n                You can do all the \n                <abbr title=\"Create-Read-Update-Delete\">CRUD<\/abbr>\n                operations you&rsquo;d expect for items in your vault.\n                But its killer features is the <code>op run<\/code> subcommand,\n                which can dynamically inject secrets from your 1Password vault\n                into your application&rsquo;s environment.<\/p><p>Instead of storing sensitive values directly in your <code>.env<\/code> file,\n                you reference them using special <code>op:\/\/<\/code> URLs[&#8230;]<\/p><\/blockquote>\n\n<p>It&rsquo;s great to see NSHipster back after a five-year hiatus.<\/p>","protected":false},"excerpt":{"rendered":"<p>Mattt Thompson (tweet): This core insight &mdash; that configuration should be separate from code &mdash; led to the widespread adoption of .env files.[&#8230;]You add this file to .gitignore to keep it out of version control, and load these variables into your environment at runtime with a tool or library.[&#8230;]op lets you manage 1Password from the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-01-02T18:50:37Z","apple_news_api_id":"0ee30566-ab35-44c4-9b8b-517e08f0457d","apple_news_api_modified_at":"2025-01-02T18:50:37Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ADuMFZqs1RMSbi1F-CPBFfQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[284,75,30,32,2598,981,71,318],"class_list":["post-46304","post","type-post","status-publish","format-standard","hentry","category-technology","tag-1password","tag-developertool","tag-mac","tag-macapp","tag-macos-15-sequoia","tag-passwords","tag-programming","tag-terminal"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/46304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=46304"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/46304\/revisions"}],"predecessor-version":[{"id":46305,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/46304\/revisions\/46305"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=46304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=46304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=46304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}