---
title: "Discussion on \"How to Keep API Keys Out of Source Control\" | Hashnode"
description: "Discussion on \"How to Keep API Keys Out of Source Control\". In this tutorial we will learn how to keep an API key out of your Swift weather app’s source control. Hard-coding the key in a string literal is fine for a walkthrough, risky the moment that file is c"
url: "https://hashnode.com/posts/how-to-keep-api-keys-out-of-source-control/6ae24462096945132b1d753c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Keep API Keys Out of Source Control](https://iliaskarim.dev/how-to-keep-api-keys-out-of-source-control?utm_source=hashnode&utm_medium=feed)

In this tutorial we will learn how to keep an API key out of your Swift weather app’s source control. Hard-coding the key in a string literal is fine for a walkthrough, risky the moment that file is c

Oct 28 · 5 min read · iliaskarim.dev  
Read the article

## Written by

[Ilias Karim](https://hashnode.com/@iliaskarim)

@iliaskarim

  
[View profile](https://hashnode.com/@iliaskarim)

## Responses

Comments are turned off for this post.
