<?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: Tushar Rajpoot</title>
    <description>The latest articles on DEV Community by Tushar Rajpoot (@tush_tr).</description>
    <link>https://dev.to/tush_tr</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%2F946535%2Fc4e71183-419e-4f62-9b11-18c4197fbf2d.JPEG</url>
      <title>DEV Community: Tushar Rajpoot</title>
      <link>https://dev.to/tush_tr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tush_tr"/>
    <language>en</language>
    <item>
      <title>What is Hashicorp Vault? Manage your secrets in production.</title>
      <dc:creator>Tushar Rajpoot</dc:creator>
      <pubDate>Sat, 04 Mar 2023 16:46:09 +0000</pubDate>
      <link>https://dev.to/tush_tr/what-is-hashicorp-vault-manage-your-secrets-in-production-4n4a</link>
      <guid>https://dev.to/tush_tr/what-is-hashicorp-vault-manage-your-secrets-in-production-4n4a</guid>
      <description>&lt;h2&gt;
  
  
  What is hashicorp vault?
&lt;/h2&gt;

&lt;p&gt;It's a cloud-agnostic secrets management system.&lt;/p&gt;

&lt;p&gt;API-driven&lt;/p&gt;

&lt;p&gt;It allows you to safely store and manage sensitive data in hybrid cloud environments&lt;/p&gt;

&lt;p&gt;Used to generate dynamic short-lived credentials, or encrypt application data on the fly.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a secret?
&lt;/h2&gt;

&lt;p&gt;Usernames and passwords&lt;/p&gt;

&lt;p&gt;Certificates&lt;/p&gt;

&lt;p&gt;SSH Keys&lt;/p&gt;

&lt;p&gt;API keys&lt;/p&gt;

&lt;p&gt;Encryption keys&lt;/p&gt;

&lt;p&gt;What problems does vault solve?&lt;br&gt;
Secrets sprawl&lt;/p&gt;

&lt;p&gt;Below are some common places where secrets get stored:&lt;/p&gt;

&lt;p&gt;On a developer's computer in excel or notepad files&lt;/p&gt;

&lt;p&gt;Hard-coded into the source code.&lt;/p&gt;

&lt;p&gt;On a sticky note under an engineer's keyboard&lt;/p&gt;

&lt;p&gt;In a version control system such as GitHub and sometimes exposed publicly.&lt;/p&gt;

&lt;p&gt;Vault use cases&lt;br&gt;
Secrets management&lt;/p&gt;

&lt;p&gt;Centrally store, access, and distribute secrets.&lt;br&gt;
Encrypting application data&lt;/p&gt;

&lt;p&gt;Keep application data secure with centralized key management&lt;br&gt;
Identity-based Access&lt;/p&gt;

&lt;p&gt;Authenticate and access different clouds, systems, and endpoints using trusted identities.&lt;br&gt;
Secret management&lt;br&gt;
KV Secrets Engine&lt;br&gt;
The idea is to share between the client and the vault. (A client could be a person, user, or application)&lt;/p&gt;

&lt;p&gt;The client makes a call to the vault with a specific path(In the vault everything is path based)&lt;/p&gt;

&lt;p&gt;Vault checks its policy for authorizing the client to share the secrets.&lt;/p&gt;

&lt;p&gt;Encrypting Application Data&lt;br&gt;
Vault provides an EAAS(Encryption as a service), also called a transit secrets engine inside the vault.&lt;/p&gt;

&lt;p&gt;So after encrypting the application data using a vault, now the web server can use or store that data in a database for the next use cases.&lt;/p&gt;

&lt;p&gt;Vault will not store data, only pass it back to requesting client.&lt;/p&gt;

&lt;p&gt;Basic Vault CLI commands&lt;br&gt;
Vault by itself will give you a list of many Vault CLI commands.(starts with common ones)&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ vault&lt;br&gt;
  $ vault version # tells the version of vault&lt;br&gt;
  $ vault read # used to read secrets from vault&lt;br&gt;
  $ vault write #used to write secrets to vault&lt;br&gt;
  $ vault write -h # -h, -help and --help flags can be added&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to get help for any vault CLI command.&lt;/p&gt;

</description>
      <category>software</category>
      <category>productivity</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
