Practice – devcor_350-901_Cisco_Platforms

Strength:
0%
Answered: 0 • Correct: 0 • Incorrect: 0

Logged in as Guest

Fill in the function call that redacts tokens before writing them to logs.

Drag the correct code snippets from the options panel into the placeholders in the code window.

safe_headers = redact_secrets(headers) logger.info("headers=%s", {{1}})

Drag a snippet from the right into each blank box in the code.

Available snippets

headers.strip()
api_key
json.dumps(headers)
token
safe_headers.strip()
repr(headers)
safe_headers
headers