<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Crhistopher Suriel</title>
    <description>The latest articles on DEV Community by Crhistopher Suriel (@csuriel).</description>
    <link>https://dev.to/csuriel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F105693%2Fd6ce97e7-238f-430d-babb-8e6ed84fe3ed.jpeg</url>
      <title>DEV Community: Crhistopher Suriel</title>
      <link>https://dev.to/csuriel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/csuriel"/>
    <language>en</language>
    <item>
      <title>Env Shield: Your Secret Guardian in VS Code</title>
      <dc:creator>Crhistopher Suriel</dc:creator>
      <pubDate>Tue, 25 Mar 2025 23:00:00 +0000</pubDate>
      <link>https://dev.to/csuriel/env-shield-your-secret-guardian-in-vs-code-788</link>
      <guid>https://dev.to/csuriel/env-shield-your-secret-guardian-in-vs-code-788</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;As developers, we know how crucial it is to protect sensitive information during collaborative work. That's why I created &lt;a href="https://github.com/csuriel/env-shield" rel="noopener noreferrer"&gt;Env Shield&lt;/a&gt;, a small VS Code extension designed to protect sensitive information from accidental exposure. Whether you're sharing your screen during pair programming sessions, recording tutorials, or taking screenshots, Env Shield ensures your secrets stay secret by automatically blurring sensitive content in your configuration files.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Automatic Secret Detection
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Hide sensitive content in &lt;code&gt;.env&lt;/code&gt; files and other configuration files by blurring the value of your secret keys.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0cq6u8pn6hcwt1adnvy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0cq6u8pn6hcwt1adnvy.png" alt="Secret Detection" width="800" height="227"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Recognizes common patterns for API keys, passwords, tokens, and other credentials from given configuration files.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F727tpc37wnqkmxep6epz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F727tpc37wnqkmxep6epz.png" alt="Common patterns" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Smart File Recognition
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Built-in support for &lt;code&gt;.env&lt;/code&gt; files and their variants (&lt;code&gt;.env.local&lt;/code&gt;, &lt;code&gt;.env.development&lt;/code&gt;, etc.)&lt;/li&gt;
&lt;li&gt;It is configured to protect additional file types (JSON, YAML, etc.).&lt;/li&gt;
&lt;li&gt;Customizable file patterns to match your project's structure&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Dynamic Blur Control
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Toggle blur on/off with a simple click&lt;/li&gt;
&lt;li&gt;Status bar indicator shows current protection status&lt;/li&gt;
&lt;li&gt;Automatic reactivation when switching files or windows&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Installation
&lt;/h3&gt;

&lt;p&gt;From the editor:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open VS Code&lt;/li&gt;
&lt;li&gt;Access the Extensions Marketplace&lt;/li&gt;
&lt;li&gt;Search for "Env Shield"&lt;/li&gt;
&lt;li&gt;Click Install&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;From the marketplace:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Visit the &lt;a href="https://marketplace.visualstudio.com/items?itemName=csuriel.env-shield" rel="noopener noreferrer"&gt;Visual Studio Code Marketplace&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Click the "Install" button&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Basic Configuration
&lt;/h3&gt;

&lt;p&gt;The extension works out of the box with default settings, but you can customize it through VS Code settings:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"env-shield.additionalFiles"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"config.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"secrets.yaml"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"env-shield.sensitiveFiles"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"**/credentials/*"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage Scenarios
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Pair Programming
&lt;/h3&gt;

&lt;p&gt;Env Shield automatically blurs sensitive values in your &lt;code&gt;.env&lt;/code&gt; files while keeping the key names visible when sharing your screen during pair programming sessions. This allows you to discuss configuration without exposing actual credentials.&lt;/p&gt;

&lt;h3&gt;
  
  
  Documentation and Tutorials
&lt;/h3&gt;

&lt;p&gt;Creating documentation or tutorials? Env Shield helps you capture clean screenshots without accidentally including sensitive information. The blur toggle feature lets you quickly switch between protected and visible states.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Quick Toggle&lt;/strong&gt;: Use the status bar indicator to toggle blur protection on/off when needed quickly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;File Patterns&lt;/strong&gt;: Configure additional file patterns to protect sensitive files across your project:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"env-shield.additionalFiles"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"config/*.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"**/secrets/*"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="s2"&gt;"deployment/credentials.yaml"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Env Shield is an essential tool for modern development workflows where security and privacy are paramount. It automatically protects sensitive information while maintaining productivity, providing peace of mind during collaborative development activities.&lt;/p&gt;

&lt;p&gt;Remember: The best security breach is the one that never happens. With Env Shield, you're one step closer to ensuring your secrets remain secret.&lt;/p&gt;

</description>
      <category>vscodeextensions</category>
      <category>vscode</category>
    </item>
  </channel>
</rss>
