正解:A
GitHub secrets are used to securely store sensitive information like API keys, tokens, and passwords in repositories. When you store the sensitive information as a GitHub secret, you remove the need to hardcode the credential or key, and prevent exposure of it in your code or logs. The secret can then be used to authenticate services, manage credentials, and securely pass sensitive data in workflows.
Note: For GitHub, you can use a personal access token, an OAuth app, a Secrets Manager secret, or a GitHub App connection to access the source provider. For GitHub Enterprise Server, you can use a personal access token, a Secrets Manager secret, or a GitHub App connection to access the source provider.
Reference:
https://docs.github.com/en/code-security/getting-started/understanding-github-secret-types