---
title: "Comment by yukio on \"Use Python & Boto3 to Backup files/logs to AWS S3\" | Hashnode"
description: "Nice Blog ! , Is there any way you to secure the access key, I&#39;ve come across programs that uses some kind of algorithm to encrypt the secret key. That coul"
url: "https://hashnode.com/posts/use-python-boto3-to-backup-fileslogs-to-aws-s3/63f388dbd2567203ebab550d/comment/63f4225c3c8949b64ddcccbd"
---

[Discussion](https://hashnode.com/posts/use-python-boto3-to-backup-fileslogs-to-aws-s3/63f388dbd2567203ebab550d)

Comment [Use Python & Boto3 to Backup files/logs to AWS S3](https://hashnode.com/posts/use-python-boto3-to-backup-fileslogs-to-aws-s3/63f388dbd2567203ebab550d)

[yukio](https://hashnode.com/@yuki0)

[Feb 21, 2023](https://hashnode.com/posts/use-python-boto3-to-backup-fileslogs-to-aws-s3/63f388dbd2567203ebab550d/comment/63f4225c3c8949b64ddcccbd)

Nice Blog ! , Is there any way you to secure the access key, I've come across programs that uses some kind of algorithm to encrypt the secret key. That could be amazing

[Pushp Vashisht](https://hashnode.com/@pushp1997)

[Feb 22, 2023](https://hashnode.com/posts/use-python-boto3-to-backup-fileslogs-to-aws-s3/63f388dbd2567203ebab550d/comment/63f4225c3c8949b64ddcccbd#reply-63f630c0437bc8d091bd0724)

Thanks for your kind complement and feedback. You can store your access keys in environment variables and read from there using os.get\_env(). That's the standard practice. If you know a better way for access keys using some kind of encryption would love to have read. Would you be kind enough to drop a link here to an article?
