---
title: "Discussion on \"How to use Environment Variables in Kotlin + Spring Boot\" | Hashnode"
description: "Discussion on \"How to use Environment Variables in Kotlin + Spring Boot\". Overview\n\nWith the advent of the serverless container era, managing the state of applications has become crucial. Constants that were loosely hard-coded in the past must now be appropriately received and injected through environment variables for saf..."
url: "https://hashnode.com/posts/how-to-use-environment-variables-in-kotin-spring-boot/65f23f7cc5a60eb060f035db"
---

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

Discussion

# [How to use Environment Variables in Kotlin + Spring Boot](https://jsonobject.com/how-to-use-environment-variables-in-kotin-spring-boot?utm_source=hashnode&utm_medium=feed)

Overview With the advent of the serverless container era, managing the state of applications has become crucial. Constants that were loosely hard-coded in the past must now be appropriately received and injected through environment variables for saf...

Mar 14, 2024 · 2 min read · jsonobject.com  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#springboot](https://hashnode.com/tag/springboot)

## Written by

[Taehyeong Lee](https://hashnode.com/@jsonobject)

@jsonobject · Seoul, Korea

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

Simple is best

## Responses 1

Markdown supported · ⌘↵ to post

[Erik C. Thauvin](https://hashnode.com/@ethauvin)

[Mar 14, 2024](https://hashnode.com/posts/how-to-use-environment-variables-in-kotin-spring-boot/65f23f7cc5a60eb060f035db/comment/65f25f762c45645d23866414)

Typo in the title, Kotlin not Kotin.

[Taehyeong Lee](https://hashnode.com/@jsonobject)

[Mar 14, 2024](https://hashnode.com/posts/how-to-use-environment-variables-in-kotin-spring-boot/65f23f7cc5a60eb060f035db/comment/65f25f762c45645d23866414#reply-65f2648f18d056b34c84bf18)

I fixed it. Thank yo so much.
