For secrets stored at the organization-level, you can use access policies to control which repositories can use organization secrets. Organization-level secrets let you share secrets between multiple repositories, which reduces the need for creating duplicate secrets. Updating an organization secret in one location also ensures that the change takes effect in all repository workflows that use that secret.
https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-encrypted-secrets-for-an-organization
since the question says all workflows but doesn't specify organization I infer that it is related to the repository
B. Recreate the secret at the repository level.
all workflows inside the repository already have access to the environment secrets within this repository
at the same time if we really need to be able to use secrets in ALL the repositories (within the any repo) we need recreate secrets on a higher level - organization - answer A
I choose A
Recreating the secret at the repository level would not make it available to all the workflows, as repository secrets are only accessible within the repository they are defined in
its also possible to enable the approvers/reviewers for each worfklow to access the secret at environment level. The question doesn't give us a motive eg. easiest, most secure....
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
kay000001
Highly Voted 1 year, 11 months agozellck
Highly Voted 1 year, 11 months agoSkankhunt
Most Recent 9 months, 4 weeks agochloaus
1 year agoozbonny
1 year, 2 months agovsvaid
1 year, 4 months agovector_bco
1 year, 6 months agoghabool
1 year, 7 months agocatfood
1 year, 10 months ago