Secrets Scope and Access Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Manage Encrypted Secrets

What you'll be asked

  1. Where should you store sensitive information, such as API keys or passwords, to ensure they are not exposed in your GitHub repository's source code?
  2. If you define a secret at the Organization level, which repositories can access it by default?
  3. When a workflow is triggered by a pull request from a public fork, what is the default behavior regarding access to repository secrets?
  4. You have an environment named 'production' with required reviewers. If a workflow targets this environment, when are the secrets associated with that environment made available to the job?
  5. A workflow uses a reusable workflow from a different private repository. How must secrets be handled to ensure the called workflow can access them?

Answers and explanations come after you submit.