{"id":6,"date":"2021-08-11T07:06:06","date_gmt":"2021-08-11T07:06:06","guid":{"rendered":"https:\/\/christoph-schmalfuss.de\/blog\/?p=6"},"modified":"2021-10-22T11:07:06","modified_gmt":"2021-10-22T11:07:06","slug":"python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux","status":"publish","type":"post","link":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/","title":{"rendered":"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux)"},"content":{"rendered":"\n<p>Heute schauen wir uns an, wie man Passw\u00f6rter au\u00dferhalb von Skripten speichern kann. <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Python: Passw\u00f6rter und Keys sicher speichern (au\u00dferhalb von Skripten) (MacOS) | Tutorial (Deutsch) \ud83d\udd11\" width=\"688\" height=\"387\" src=\"https:\/\/www.youtube.com\/embed\/nZyxw3ayEyA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import requests\n\u200b\nAPI_KEY = &quot;e1b8c7307dfc5d97e974as71350f44f8ab7&quot;\n\u200b\ncity = input(&quot;Hallo! Bitte gib eine Stadt ein.&quot;)\nurl = f&#39;https:\/\/api.openweathermap.org\/data\/2.5\/weather?q={city}&appid={API_KEY}&units=metric&#39;\n\u200b\ndata = requests.get(url).json()\ntemp = data[&#39;main&#39;][&#39;temp&#39;]\nhumidity = data[&#39;main&#39;][&#39;humidity&#39;]\n\u200b\nprint(f&#39;In {city} betr\u00e4gt die Temperatur {temp}. Die Luftfeuchtigkeit betr\u00e4gt {humidity}%.&#39;)<\/code><\/pre><\/div>\n\n\n\n<p>Es ist immer mal wieder notwendig, dass ein Python Skript Zugriff auf sensible Daten bekommt. Das k\u00f6nnen Passw\u00f6rter sein, aber auch z.B. API Keys oder Zugangsdaten zu einer Datenbank. Schauen wir uns kurz ein Beispiel an, das wir f\u00fcr ein anderes Tutorial schon mal geschrieben haben.<\/p>\n\n\n\n<p>Unser Skript hat ein entscheidenes Problem: Wenn wir diesen API-Code jetzt beispielsweise auf Github teilen w\u00fcrden, w\u00e4re unser API Key f\u00fcr alle sichtbar im Netz. Und das wollen wir nat\u00fcrlich nicht.<\/p>\n\n\n\n<p>Es gibt daf\u00fcr aber eine bequeme L\u00f6sung. Die Idee ist, dass wir den API Key lokal, also auf unserem Rechner speichern und dann einfach in das Skript importieren, wenn wer gebraucht wird. Und daf\u00fcr nutzen wir die .bash_profile-Datei. Daf\u00fcr gehen wir zun\u00e4chst ins Terminal und geben diesen Befehl ein:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>nano .bash_profile\u00a0<\/code><\/pre><\/div>\n\n\n\n<p>Damit starten wir den Nano-Texteditor und \u00f6ffnen mit ihm die Datei <code>.bash_profile<\/code>. In dieser Datei k\u00f6nnen wir jetzt unseren API-Key hinterlegen.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>export\u00a0wetter_api_key=&quot;e1b8c7307dfc5d97e974as71350f44f8ab7&quot;<\/code><\/pre><\/div>\n\n\n\n<p>Jetzt k\u00f6nnen wir die Datei auch schon verlassen. Daf\u00fcr dr\u00fccke ich Command+X und anschlie\u00dfend Y und dann Enter. Damit unsere \u00c4nderungen jetzt auch wirksam werden, f\u00fchren wir noch folgenden Befehl aus:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>source\u00a0.bash_profile<\/code><\/pre><\/div>\n\n\n\n<p>Jetzt testen wir kurz aus, ob der API-Key auffindbar ist. Daf\u00fcr lassen wir uns den Key im Terminal ausgeben:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>echo\u00a0$wetter_api_key&lt;br&gt;-&gt; e1b8c7307dfc5d97e974as71350f44f8ab7<\/code><\/pre><\/div>\n\n\n\n<p>Weiter geht&#8217;s im Quellcode. Um auf die Datei zuzugreifen, die wir gerade erstellt haben, nutzen wir das Modul os. Und greifen dann auf unseren Key zu.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>import os\nAPI_KEY\u00a0=\u00a0os.environ.get(&#39;wetter_api_key&#39;)<\/code><\/pre><\/div>\n\n\n\n<p>Okay, probieren wir das Ganze aus!<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>python3 weather.py\nHallo! Bitte gib eine Stadt ein.Leipzig\nIn Leipzig betr\u00e4gt die Temperatur\u00a017.08. Die Luftfeuchtigkeit betr\u00e4gt\u00a079%.<\/code><\/pre><\/div>\n\n\n\n<p>Okay, soviel erstmal f\u00fcr heute. Fragen und W\u00fcnsche k\u00f6nnt ihr wie immer in der Kommentarspalte dalassen, ich antworte bei passenden Fragen mit kurzen Videoantworten. Und jetzt viel Spa\u00df beim Ausprobieren, bleibt neugierig und bis bald!<\/p>\n\n\n\n<p>\u2705 Hier noch einmal der komplette Quellcode:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import requests\nimport os\n\nAPI_KEY = os.environ.get(&#39;wetter_api_key&#39;)\n\ncity = input(&quot;Hallo! Bitte gib eine Stadt ein.&quot;)\nurl = f&#39;https:\/\/api.openweathermap.org\/data\/2.5\/weather?q={city}&appid={API_KEY}&units=metric&#39;\n\ndata = requests.get(url).json()\ntemp = data[&#39;main&#39;][&#39;temp&#39;]\nhumidity = data[&#39;main&#39;][&#39;humidity&#39;]\n\nprint(f&#39;In {city} betr\u00e4gt die Temperatur {temp}. Die Luftfeuchtigkeit betr\u00e4gt {humidity}%.&#39;)<\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Heute schauen wir uns an, wie man Passw\u00f6rter au\u00dferhalb von Skripten speichern kann. Es ist immer mal wieder notwendig, dass&hellip;<\/p>\n","protected":false},"author":1,"featured_media":84,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-macos-und-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux) &mdash; Programmieren mit Chris<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux) &mdash; Programmieren mit Chris\" \/>\n<meta property=\"og:description\" content=\"Heute schauen wir uns an, wie man Passw\u00f6rter au\u00dferhalb von Skripten speichern kann. Es ist immer mal wieder notwendig, dass&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Programmieren mit Chris\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-11T07:06:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-22T11:07:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@chrischmayt\" \/>\n<meta name=\"twitter:site\" content=\"@chrischmayt\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"chris\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#organization\",\"name\":\"Programmieren mit Chris\",\"url\":\"https:\/\/christoph-schmalfuss.de\/blog\/\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/christoph-schmalfu\\u00df-52a93b209\/\",\"https:\/\/www.youtube.com\/channel\/UC0faHRYVxDn7chW573SSh8A\",\"https:\/\/twitter.com\/chrischmayt\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#logo\",\"inLanguage\":\"de\",\"url\":\"http:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/programmieren-mit-chris-logo-ohne-schatten-3000x3000-transparent.png\",\"contentUrl\":\"http:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/programmieren-mit-chris-logo-ohne-schatten-3000x3000-transparent.png\",\"width\":3000,\"height\":3000,\"caption\":\"Programmieren mit Chris\"},\"image\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#website\",\"url\":\"https:\/\/christoph-schmalfuss.de\/blog\/\",\"name\":\"Programmieren lernen mit Chris\",\"description\":\"Tutorials | Vlogs\",\"publisher\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/christoph-schmalfuss.de\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#primaryimage\",\"inLanguage\":\"de\",\"url\":\"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png\",\"contentUrl\":\"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png\",\"width\":1280,\"height\":720},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#webpage\",\"url\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/\",\"name\":\"Python: Passw\\u00f6rter sicher speichern (au\\u00dferhalb von Skripten) (MacOS \/ Linux) &mdash; Programmieren mit Chris\",\"isPartOf\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#primaryimage\"},\"datePublished\":\"2021-08-11T07:06:06+00:00\",\"dateModified\":\"2021-10-22T11:07:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/christoph-schmalfuss.de\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python: Passw\\u00f6rter sicher speichern (au\\u00dferhalb von Skripten) (MacOS \/ Linux)\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#webpage\"},\"author\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#\/schema\/person\/b64d7415ba9ac63f395509d7097012bb\"},\"headline\":\"Python: Passw\\u00f6rter sicher speichern (au\\u00dferhalb von Skripten) (MacOS \/ Linux)\",\"datePublished\":\"2021-08-11T07:06:06+00:00\",\"dateModified\":\"2021-10-22T11:07:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#webpage\"},\"wordCount\":328,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png\",\"articleSection\":[\"MacOS und Linux\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#\/schema\/person\/b64d7415ba9ac63f395509d7097012bb\",\"name\":\"chris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/christoph-schmalfuss.de\/blog\/#personlogo\",\"inLanguage\":\"de\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/176e906a49456dda30761449564e6e69d6b070f731880e6ace0d8e2d1746f1b6?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/176e906a49456dda30761449564e6e69d6b070f731880e6ace0d8e2d1746f1b6?s=96&d=retro&r=g\",\"caption\":\"chris\"},\"sameAs\":[\"http:\/\/christoph-schmalfuss.de\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux) &mdash; Programmieren mit Chris","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/","og_locale":"de_DE","og_type":"article","og_title":"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux) &mdash; Programmieren mit Chris","og_description":"Heute schauen wir uns an, wie man Passw\u00f6rter au\u00dferhalb von Skripten speichern kann. Es ist immer mal wieder notwendig, dass&hellip;","og_url":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/","og_site_name":"Programmieren mit Chris","article_published_time":"2021-08-11T07:06:06+00:00","article_modified_time":"2021-10-22T11:07:06+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png","path":"\/var\/www\/virtual\/schmalin\/html\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png","size":"full","id":84,"alt":"","pixels":921600,"type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@chrischmayt","twitter_site":"@chrischmayt","twitter_misc":{"Verfasst von":"chris","Gesch\u00e4tzte Lesezeit":"3\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/christoph-schmalfuss.de\/blog\/#organization","name":"Programmieren mit Chris","url":"https:\/\/christoph-schmalfuss.de\/blog\/","sameAs":["https:\/\/www.linkedin.com\/in\/christoph-schmalfu\u00df-52a93b209\/","https:\/\/www.youtube.com\/channel\/UC0faHRYVxDn7chW573SSh8A","https:\/\/twitter.com\/chrischmayt"],"logo":{"@type":"ImageObject","@id":"https:\/\/christoph-schmalfuss.de\/blog\/#logo","inLanguage":"de","url":"http:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/programmieren-mit-chris-logo-ohne-schatten-3000x3000-transparent.png","contentUrl":"http:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/programmieren-mit-chris-logo-ohne-schatten-3000x3000-transparent.png","width":3000,"height":3000,"caption":"Programmieren mit Chris"},"image":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/#logo"}},{"@type":"WebSite","@id":"https:\/\/christoph-schmalfuss.de\/blog\/#website","url":"https:\/\/christoph-schmalfuss.de\/blog\/","name":"Programmieren lernen mit Chris","description":"Tutorials | Vlogs","publisher":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/christoph-schmalfuss.de\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"ImageObject","@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#primaryimage","inLanguage":"de","url":"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png","contentUrl":"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png","width":1280,"height":720},{"@type":"WebPage","@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#webpage","url":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/","name":"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux) &mdash; Programmieren mit Chris","isPartOf":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#primaryimage"},"datePublished":"2021-08-11T07:06:06+00:00","dateModified":"2021-10-22T11:07:06+00:00","breadcrumb":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/christoph-schmalfuss.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux)"}]},{"@type":"Article","@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#article","isPartOf":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#webpage"},"author":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/#\/schema\/person\/b64d7415ba9ac63f395509d7097012bb"},"headline":"Python: Passw\u00f6rter sicher speichern (au\u00dferhalb von Skripten) (MacOS \/ Linux)","datePublished":"2021-08-11T07:06:06+00:00","dateModified":"2021-10-22T11:07:06+00:00","mainEntityOfPage":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#webpage"},"wordCount":328,"commentCount":0,"publisher":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/#organization"},"image":{"@id":"https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/christoph-schmalfuss.de\/blog\/wp-content\/uploads\/2021\/08\/Thumbnail-passw.png","articleSection":["MacOS und Linux"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/christoph-schmalfuss.de\/blog\/2021\/08\/11\/python-passwoerter-sicher-speichern-ausserhalb-von-skripten-macos-linux\/#respond"]}]},{"@type":"Person","@id":"https:\/\/christoph-schmalfuss.de\/blog\/#\/schema\/person\/b64d7415ba9ac63f395509d7097012bb","name":"chris","image":{"@type":"ImageObject","@id":"https:\/\/christoph-schmalfuss.de\/blog\/#personlogo","inLanguage":"de","url":"https:\/\/secure.gravatar.com\/avatar\/176e906a49456dda30761449564e6e69d6b070f731880e6ace0d8e2d1746f1b6?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/176e906a49456dda30761449564e6e69d6b070f731880e6ace0d8e2d1746f1b6?s=96&d=retro&r=g","caption":"chris"},"sameAs":["http:\/\/christoph-schmalfuss.de\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":7,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":19,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions\/19"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/media\/84"}],"wp:attachment":[{"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/christoph-schmalfuss.de\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}