Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: How cant I able to expose the github token in .tfvars file. #2418

Closed
1 task done
Anto4595 opened this issue Oct 10, 2024 · 2 comments
Closed
1 task done

[FEAT]: How cant I able to expose the github token in .tfvars file. #2418

Anto4595 opened this issue Oct 10, 2024 · 2 comments
Labels
Status: Triage This is being looked at and prioritized Type: Feature New feature or request

Comments

@Anto4595
Copy link

Describe the need

Hello Team,

I have created a terraform script that will create a repo and its working fine.

But in the .tfvars file I am exposing the github token as plain text. But I want to secure it somehow so that the token is not exposed to anyone who is testing the code.

How can I achieve it in terraform ?

Thank You.

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Anto4595 Anto4595 added Status: Triage This is being looked at and prioritized Type: Feature New feature or request labels Oct 10, 2024
@stevehipwell
Copy link
Contributor

@Anto4595 this isn't really the forum to request help with terraform, but you should find your answer in the Terraform docs, specifically "Protect sensitive input variables".

@kfcampbell
Copy link
Member

Thanks @stevehipwell!

@github-project-automation github-project-automation bot moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Active Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants