Microsoft
AZ-400 · Question #525
You have a GitHub repository that uses GitHub Actions and stores access keys by using GitHub encrypted secrets. You plan to update the secrets by using the GitHub REST API. You need to wrap the secret
The correct answer is C. libsodium. libsodium: This is the recommended library for encrypting secrets for use with GitHub, as it provides a secure way to encrypt data before sending it over a network. GitHub uses the libsodium library for its encryption processes, which makes it the correct choice when wrapping
Submitted by skyler.x· Mar 6, 2026Develop a security and compliance plan
Question
You have a GitHub repository that uses GitHub Actions and stores access keys by using GitHub encrypted secrets. You plan to update the secrets by using the GitHub REST API. You need to wrap the secrets before adding them to a REST-based call. Which encryption library should you use?
Options
- ACryptoNet
- BBouncyCastle
- Clibsodium
- Dhashlib
How the community answered
(68 responses)- A1% (1)
- B1% (1)
- C93% (63)
- D4% (3)
Explanation
libsodium: This is the recommended library for encrypting secrets for use with GitHub, as it provides a secure way to encrypt data before sending it over a network. GitHub uses the libsodium library for its encryption processes, which makes it the correct choice when wrapping
Community Discussion
No community discussion yet for this question.