Which approach securely encrypts the Docker Hub access token as an environment variable within the CI/CD pipeline?

A DevOps engineer must build a Docker image to containerize an application. Then the image must be pushed to a repository on Docker Hub in a CI/CD pipeline using GitHub Actions.

Which approach securely encrypts the Docker Hub access token as an environment variable within the CI/CD pipeline?
A . Store the access token with GitHub environment variables
B. Store the access token with GitHub encrypted secrets
C. Store the access token in an environment file in the repository
D. Hard code the access token in the repository with Base64 encoding

Answer: B

Latest 300-910 Dumps Valid Version with 59 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments