Exercises / prod
Redact API keys
redact(text) replaces tokens that start with sk- and are 8+ chars with sk-***. Print the redacted log line.
Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.
Exercises / prod
redact(text) replaces tokens that start with sk- and are 8+ chars with sk-***. Print the redacted log line.
Run to execute this in your browser. Nothing is sent to a server.