---
title: "Comment by Muhammad Ardiyansyah on \"Jenkins Pipeline to build and deploy a frontend application on AWS EC2.\" | Hashnode"
description: "hellow how to get private key in the key section?"
url: "https://hashnode.com/posts/jenkins-pipeline-to-build-and-deploy-a-frontend-application-on-aws-ec2/62bd90f53570511378920a59/comment/64b0e43c2c04197d2b32809e"
---

[Discussion](https://hashnode.com/posts/jenkins-pipeline-to-build-and-deploy-a-frontend-application-on-aws-ec2/62bd90f53570511378920a59)

Comment [Jenkins Pipeline to build and deploy a frontend application on AWS EC2.](https://hashnode.com/posts/jenkins-pipeline-to-build-and-deploy-a-frontend-application-on-aws-ec2/62bd90f53570511378920a59)

[Muhammad Ardiyansyah](https://hashnode.com/@muhammadardiyansyah)

[Jul 14, 2023](https://hashnode.com/posts/jenkins-pipeline-to-build-and-deploy-a-frontend-application-on-aws-ec2/62bd90f53570511378920a59/comment/64b0e43c2c04197d2b32809e)

hellow how to get private key in the key section?

[Jenny Kibiri](https://hashnode.com/@Jenny_kibiri)

[Jul 18, 2023](https://hashnode.com/posts/jenkins-pipeline-to-build-and-deploy-a-frontend-application-on-aws-ec2/62bd90f53570511378920a59/comment/64b0e43c2c04197d2b32809e#reply-64b6727a2eb301aee4d07821)

You set the private key in the "Jenkins Credentials Provider" In the Kind section, select username with private key Then copy the content of your pem file or secret key
