Is it possible to add secret keys and values in private repo?

Is it possible to add secret keys and values in private repo?

I have created a CI/CD workflow for deploying containers to AWS, but unable to add secrets in private repo.

I just checked, and was able to add a secret just like for my public repositories (in the repository settings under “Secrets”). Can you describe where you have the problem?

Though for AWS using OpenID for authentication might be a more convenient option: Configuring OpenID Connect in Amazon Web Services - GitHub Docs

Its an organizations account, was unable to see the secret option

Hi,

Maybe there are some organization restrictions on your account, that’s a commun thing to do. Reach out the administrators of the organization and ask to them.

2 Likes

secrets are fully supported in both public and private repos. You have to be a repo admin to get to the settings so you and add or update secrets.

2 Likes