Environment secrets in repository #129072
Replies: 1 comment
-
For the first question, it is 100 secrets per environment in a repo. So if you have two environments, each one gets 100 secrets. For the second question, yes the workflow can access all 100 secrets for each environment. Here is what I did to test the first question. Wrote a quick script (Copilot helped) to try and create 101 secrets in an environment:
I was able to create 100 secrets, and it failed on the 101st, which is what you expect. Then I changed the script to create 100 secrets in a second environment, and it created them. ![]() For the second question I created a workflow to access those secrets: https://github.com/devopselvis/testing-env-secrets-limit/actions/workflows/blank.yml and it was able to access 100 secrets for each environment. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hi Team
Can anyone explain below queries?
Query -
2.GitHub action will be able to access and process 100 secrets per environment wise.?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions