Questions tagged [github-secret]

55 questions
0
votes
1 answer

Github Actions Secrets value is blank after adding a new Secret

I'm using Github Actions workflow to deploy an Asp.Net Core MVC app to an Azure Web App Service. I have added the secret in the Github Actions Secrets section of the Github repository. When I click on the secret again to view the value, it shows…
Goober
  • 13,146
  • 50
  • 126
  • 195
0
votes
1 answer

Deployed ASP.Net WebApp via public github repo, is there any way to hide the connection string?

Ideally, I would like to keep my repo public, but the connection string contains sensitive information. Is there any way to hide the string? I was thinking I could store the connection string in GitHub Secrets, but that would leave the question of…
0
votes
0 answers

github actions hides my jwt token retrieved from the backend

I have a CRON github action, which executes a python script. First request goes well, the script gets jwt token from the backend. Then when I am trying to do the second request, guarded by JwtGuard, the token is not attached in Authentication…
mhld
  • 163
  • 2
  • 9
0
votes
1 answer

Unable to access repository secrets in reusable workflows

I have a scan tool that is being run manually using workflow_dispatch event. Now I want to use it automatically for all other repos. So I went with reusable workflows. But I'm getting issues there. I have referred to the github docs also but didn't…
0
votes
0 answers

How do I pass JSON in GitHub Secret as environment variable in R script for Github Action workflow

I'm trying to run an action that requires JSONs for authentication within my R Script. I have stored these two JSON as Github Secrets Action: GMAIL_ADDRESS GMAIL_SECRET_API This is my main.yml section that calls these two JSONs # Run R script …
Andrea
  • 105
  • 10
0
votes
1 answer

How to access github secrets key from android studio project

I have an android project with GitHub actions which needs some key in GitHub secrets to successfully build. I wonder how to access Github secrets key from my project code like this? I have tried to assign the key to local properties on my yml…
galihif
  • 310
  • 1
  • 8
0
votes
2 answers

Passing secrets to GitHub Actions

I am trying to deploy a lambda function through GitHub actions and OIDC on AWS. It was working file when I hardcoded role-to-assume as a plain string. But this is not a ideal approach for me and I would like to parameterize it. I tried giving the…
Parthiva
  • 254
  • 3
  • 21
0
votes
1 answer

How to Set a Secret in GitHub Workflow that is Injected into Properties File that is Not in the Workflow Folder

I have a .github/workflow .yml file that I am using as a GitHub Action workflow. Please bear with me I am new to GitHub. I am working on a project to trigger a build in GitHub whenever a file in the project is changed. I have that part working. …
0
votes
1 answer

How to get github decrypted secrets out of the context of a github action?

So we currently are storing a lot of our secrets in Github, yet are trying to move to another CI/CD tool. Still, we think they do their work correctly and we are trying to access the decrypted values from scripts that are running in multiple…
0
votes
0 answers

Github Secrets Local Override

I'm currently working on a project which uses Github secrets to encrypt variables used in unit and int. tests. As the tests are part of the build cycle, they will pass when run through Github CI pipeline and the secrets can be accessed, but will…
Ali
  • 193
  • 3
  • 13
1 2 3
4