What is the appropriate password storage approach?

Refer to the exhibit.

A developer created a Python script to retrieve interface information for the devices in a MeraKi network environment. A security analyst has reviewed the code and observed poor secret storage practices. What is the appropriate password storage approach?
A. Set the Base64 encoded version of the API key as MER_API_KEY in the code and Base64 decode before using in the header.
B. Set an OS environment variable for MER_API_KEY to the API key during running the code and longer set MER_API_KEY within the code.
C. Create a secret for the API key, set MER_API_KEY using the value from the secret in the Pod. and no longer set MER_API_KEY within the code.
D. Leverage an external secret vault to retrieve MER_API_KEY and embed the vault key as a new variable before running the code.

cisco-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.