Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

scrubbing secrets from console #91

Merged
merged 2 commits into from
Jun 12, 2024
Merged

scrubbing secrets from console #91

merged 2 commits into from
Jun 12, 2024

Conversation

theoephraim
Copy link
Member

initial POC to scrub secrets from the console. This would be opt-in, and needs further testing...

image

Also includes the ability to unmask a secret, in case you really do need to log something just temporarily.

import { unmaskSecret } from 'dmno/scrub-console';
console.log(unmaskSecret(DMNO_CONFIG.SOME_SECRET));

Copy link

netlify bot commented Jun 10, 2024

Deploy Preview for dmno ready!

Name Link
🔨 Latest commit c9c506a
🔍 Latest deploy log https://app.netlify.com/sites/dmno/deploys/6668e3f34740ef00081fcafc
😎 Deploy Preview https://deploy-preview-91--dmno.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jun 10, 2024

Deploy Preview for #-api canceled.

Name Link
🔨 Latest commit c9c506a
🔍 Latest deploy log https://app.netlify.com/sites/#-api/deploys/6668e3f3c3b3b70008928e20

@theoephraim theoephraim merged commit df6496c into main Jun 12, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant