<?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: Bello Gbadebo</title>
    <description>The latest articles on DEV Community by Bello Gbadebo (@gbahdeyboh).</description>
    <link>https://dev.to/gbahdeyboh</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F99167%2F750186da-ccc8-4957-9953-034f85e49b54.jpg</url>
      <title>DEV Community: Bello Gbadebo</title>
      <link>https://dev.to/gbahdeyboh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gbahdeyboh"/>
    <language>en</language>
    <item>
      <title>Postman Plugin for Claude Code: A Hands-On Guide</title>
      <dc:creator>Bello Gbadebo</dc:creator>
      <pubDate>Fri, 13 Nov 2026 16:18:00 +0000</pubDate>
      <link>https://dev.to/postman/postman-plugin-for-claude-code-a-hands-on-guide-4j4c</link>
      <guid>https://dev.to/postman/postman-plugin-for-claude-code-a-hands-on-guide-4j4c</guid>
      <description>&lt;p&gt;&lt;em&gt;This article was originally published on the &lt;a href="https://blog.postman.com/postman-plugin-for-claude-code-a-hands-on-guide/?utm_source=devto&amp;amp;utm_medium=blog&amp;amp;utm_campaign=postman-plugin-for-claude-code-a-hands-on-guide-2&amp;amp;utm_content=devto-01" rel="noopener noreferrer"&gt;Postman blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How agent-ready is your API spec? Score it from Claude Code.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you live in Claude Code and maintain APIs that AI agents will call, you have probably seen two failure modes. The agent guesses wherever your spec is vague. And when a check goes red, it would rather loosen the check than fix the code. This walkthrough covers a repeatable, gated workflow for both: install the Postman plugin, put the contract first, score the spec, fix what the score points at, and move the gate somewhere the agent can't edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the spec sets the ceiling
&lt;/h2&gt;

&lt;p&gt;Most APIs were written for a human who reads the docs, squints at an error message, and tries again. An agent doesn't do that well. It calls the endpoint your spec describes. If the spec says nothing about what happens when an order is out of stock, the agent guesses. Guessed behavior in an agent loop becomes retries, hallucinated parameters, and a confused on-call engineer.&lt;/p&gt;

&lt;p&gt;The Postman plugin for Claude Code closes that gap from the terminal. It gives Claude Code a set of skills that run the real Postman CLI for each step of API work: discover, design, mock, test, document, and gate.&lt;/p&gt;

&lt;p&gt;The frame for everything below: a coding agent doesn't need a UI. It needs a command per step, committed skills that say which command to run, and a gate it can't edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you'll need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code, signed in&lt;/li&gt;
&lt;li&gt;Node.js 18 or later, which the plugin uses to set up the Postman CLI for you&lt;/li&gt;
&lt;li&gt;A Postman account. The free plan works. Local commands such as linting, mocking and running a collection don't require you to sign in; anything that touches the Postman cloud does.&lt;/li&gt;
&lt;li&gt;A directory with &lt;code&gt;git init&lt;/code&gt; run in it&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install the plugin
&lt;/h2&gt;

&lt;p&gt;Install it from Anthropic's official Claude Code plugin marketplace. Register the marketplace once, then install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude plugin marketplace add anthropics/claude-plugins-official
claude plugin install postman@claude-plugins-official
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the whole install. You don't need to install the Postman CLI yourself. The plugin's bootstrap skill checks for it the first time Claude needs it and installs it if it's missing.&lt;/p&gt;

&lt;p&gt;Start a fresh Claude Code session so the plugin loads, then run &lt;code&gt;/plugin&lt;/code&gt; and look for &lt;code&gt;postman&lt;/code&gt;. You can also ask Claude:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Which Postman skills do you have available in this session?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Set the ground rules once with CLAUDE.md
&lt;/h2&gt;

&lt;p&gt;Skills tell Claude how to use Postman. &lt;code&gt;CLAUDE.md&lt;/code&gt; tells it how your repo works. Run this once in the project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;postman init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It links the repo to a workspace and commits the skills alongside your code, so a teammate's agent or a CI job gets the same guidance. Then add a short section to &lt;code&gt;CLAUDE.md&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## API work
&lt;/span&gt;&lt;span class="k"&gt;- &lt;/span&gt;&lt;span class="sb"&gt;`openapi.yaml`&lt;/span&gt; is the contract. Change it before you change code.
&lt;span class="k"&gt;- &lt;/span&gt;Make HTTP calls with &lt;span class="sb"&gt;`postman request`&lt;/span&gt;, not curl.
&lt;span class="k"&gt;- &lt;/span&gt;Before you say a change is done, run &lt;span class="sb"&gt;`postman spec lint openapi.yaml`&lt;/span&gt; and &lt;span class="sb"&gt;`postman collection run`&lt;/span&gt; against the mock.
&lt;span class="k"&gt;- &lt;/span&gt;Never run &lt;span class="sb"&gt;`postman workspace push`&lt;/span&gt;. CI does that after merge.
&lt;span class="k"&gt;- &lt;/span&gt;Never edit &lt;span class="sb"&gt;`.github/workflows/api-gate.yml`&lt;/span&gt; or lower a &lt;span class="sb"&gt;`--min-score`&lt;/span&gt; threshold to make a check pass. Ask me.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That last rule matters more than it looks. An agent under pressure to turn a red check green will happily loosen the check. Put the gate somewhere it can't reach, and say so in writing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the OpenAPI spec and v3 collections matter
&lt;/h2&gt;

&lt;p&gt;The OpenAPI spec is the contract and the first thing an agent reads. The v3 collection is the executable proof. In the git-native v3 format, a collection stops being one big &lt;code&gt;collection.json&lt;/code&gt; and becomes a directory tree where every request, folder and saved example is its own YAML file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;postman/collections/
  Orders API/
    .resources/
      definition.yaml
    create order.resources/
      examples/
        201 Created.example.yaml
        409 Out of Stock.example.yaml
    create order.request.yaml
    get order.request.yaml
    cancel order.request.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The payoff is cheap context. Claude reads the one request it needs, not an entire collection, so tokens go to the work instead of to loading JSON.&lt;/p&gt;

&lt;h2&gt;
  
  
  Score the spec for agent readiness
&lt;/h2&gt;

&lt;p&gt;This is the step that makes the workflow AI-native instead of merely automated. The &lt;code&gt;ai-readiness&lt;/code&gt; skill scores a spec (or collection) on whether an agent can discover it, understand it, call it correctly, and recover from errors. Missing examples, undocumented errors and ambiguous parameters all cost points.&lt;/p&gt;

&lt;p&gt;Point it at an API you already have:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Run the AI-readiness check on openapi.yaml. Report the score, bucket, and confidence exactly as the command printed them, then list the three changes that would raise the score the most. Apply them, and run it again.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The score lands in one of four buckets (Limited, Fair, Good, Excellent), along with a confidence value for how many signals it could measure. Ask Claude to quote what the command printed rather than paraphrase it. A paraphrased 82 has a way of becoming a "roughly 80."&lt;/p&gt;

&lt;p&gt;To see the feedback loop, break the spec on purpose: delete a documented error response and rerun the check. The score should drop, and the recommendation should point at the missing error.&lt;/p&gt;

&lt;h2&gt;
  
  
  CI as the gate the agent can't edit
&lt;/h2&gt;

&lt;p&gt;For the gate itself, skip the model and run the Postman CLI directly in CI. A deterministic check can't be talked out of failing.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;API gate&lt;/span&gt;
&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pull_request&lt;/span&gt;
&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;gate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npm install -g postman-cli&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;postman spec lint openapi.yaml -f error&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;postman collection run "postman/collections/Orders API" --use-mock&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;postman spec ai-readiness openapi.yaml --min-score 80&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;80&lt;/code&gt; here is only an example. Pick a threshold your spec clears today, then raise it as you improve. &lt;code&gt;--use-mock&lt;/code&gt; needs a recent Postman CLI, so run &lt;code&gt;postman collection run -h&lt;/code&gt; on your version before relying on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things to watch for
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Run &lt;code&gt;-h&lt;/code&gt; before trusting a flag.&lt;/strong&gt; Flags change between CLI versions. That includes the ones in this post.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check what gets reported.&lt;/strong&gt; Some Postman CLI commands send run results and analytics to Postman by default. The plugin README lists which ones and how to opt out with &lt;code&gt;--no-report-events&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mocks are not the service.&lt;/strong&gt; A green run against a mock proves your tests match your contract. It says nothing about your implementation until you point the same collection at it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't let the agent push to your workspace.&lt;/strong&gt; Push from CI after merge instead.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where to start
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install the plugin with the two commands above.&lt;/li&gt;
&lt;li&gt;Score the spec of an API you already have.&lt;/li&gt;
&lt;li&gt;Read the recommendations and fix the top three.&lt;/li&gt;
&lt;li&gt;Put the gate in CI and the rule in &lt;code&gt;CLAUDE.md&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The full guide also builds an orders API end to end: contract-first design in plan mode, failure-path mocks, tests, lint hooks, a reviewer subagent and bounded &lt;code&gt;/goal&lt;/code&gt; loops. &lt;a href="https://blog.postman.com/postman-plugin-for-claude-code-a-hands-on-guide/?utm_source=devto&amp;amp;utm_medium=blog&amp;amp;utm_campaign=postman-plugin-for-claude-code-a-hands-on-guide-2&amp;amp;utm_content=devto-01" rel="noopener noreferrer"&gt;Read the full hands-on guide on the Postman blog&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What did your spec score, and which recommendation surprised you? I'm curious which gaps show up most often.&lt;/p&gt;

</description>
      <category>api</category>
      <category>ai</category>
      <category>openapi</category>
      <category>postman</category>
    </item>
    <item>
      <title>Stop Exposing Secrets! Secure Your APIs in Postman Like a Pro</title>
      <dc:creator>Bello Gbadebo</dc:creator>
      <pubDate>Fri, 07 Mar 2025 10:07:58 +0000</pubDate>
      <link>https://dev.to/postman/stop-exposing-secrets-secure-your-apis-in-postman-like-a-pro-13c3</link>
      <guid>https://dev.to/postman/stop-exposing-secrets-secure-your-apis-in-postman-like-a-pro-13c3</guid>
      <description>&lt;p&gt;API security is crucial, as it directly impacts your business's success and safety. How well you secure your APIs can make or mar your product, and it is of utmost importance to spend time thinking about security.&lt;/p&gt;

&lt;p&gt;I have seen developers work in Postman without properly securing their credentials, often leaving API keys exposed in shared environments or logging sensitive data in the console. For example, some developers unknowingly expose credentials when they make their workspaces public, allowing anyone to access sensitive API keys and tokens that are not properly stored.&lt;/p&gt;

&lt;p&gt;In this post, I want to share some tips on how you can protect your data and API in Postman.&lt;/p&gt;

&lt;h2&gt;
  
  
  General Tips for Securing Your APIs in Postman
&lt;/h2&gt;

&lt;p&gt;When working with APIs in Postman, taking proactive security measures is essential to prevent data leaks and unauthorized access. Implementing best practices ensures your credentials, tokens, and sensitive data remain protected. Below are some helpful tips on securely working in Postman.&lt;/p&gt;

&lt;h3&gt;
  
  
  1) The secret scanner is your friend
&lt;/h3&gt;

&lt;p&gt;The Postman secret scanner is every developer's knight. It constantly scans your public workspaces and documentation for any exposed secrets. It checks your variables and environments, schemas, etc for exposed secrets and notifies all Team and Workspace admins via emails and in-app notifications.&lt;/p&gt;

&lt;p&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%2Fs3u3ggh2ukx8qt6wayx2.jpeg" 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%2Fs3u3ggh2ukx8qt6wayx2.jpeg" alt="image|690x190" width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Admins are given a link to view all exposed secrets in a dashboard and an option to immediately replace them with a placeholder using a single button click. This helps mitigate security risks faster.&lt;/p&gt;

&lt;p&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%2Ffm2ku6dlxj3ebeptccg1.jpeg" 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%2Ffm2ku6dlxj3ebeptccg1.jpeg" alt="image|690x400" width="800" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you do not replace exposed secrets in a timeframe specified in the email, the secret scanner will automatically replace this data with a placeholder for you. For example, authorization secrets can be replaced with &lt;code&gt;{{vault:authorization-secret}}&lt;/code&gt;, or &lt;code&gt;&amp;lt;AUTHORIZATION_SECRET&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro tip 1 :&lt;/strong&gt; Whenever you want to show an example of some sensitive data, always use placeholder data before making your Workspace public. Maintain a private fork of your collection that you can continue to work in even after making your base collection public.&lt;/p&gt;

&lt;p&gt;There’s a lot more you can do with the secret scanner in Postman. You can mark alerts as ‘false positives’, ‘won’t fix’, etc.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro tip 2:&lt;/strong&gt; Don’t ever ignore the secret scanner notifications. While there may be false positives, always check to ensure you’re not exposing anything and staying safe.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://learning.postman.com/docs/administration/managing-your-team/secret-scanner/" rel="noopener noreferrer"&gt;Learn more about the secret scanner here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2) Avoid secret keys in test scripts, headers, params, etc
&lt;/h3&gt;

&lt;p&gt;When working with test scripts, depending on your workflow, some developers often prefer to make HTTP calls from pre-request scripts. Some HTTP calls require auth credentials, and these auth credentials can be easily exposed if you’re logging data to the console, passing data to a template for visualization, etc.&lt;/p&gt;

&lt;p&gt;If you need to use sensitive data in your pm scripts, always first store them in a vault, environment, or collection variable, then programmatically access the data from storage.&lt;/p&gt;

&lt;p&gt;In some cases, Postman actively checks for any sensitive data in your scripts and truncates them before logging to avoid being exposed.&lt;/p&gt;

&lt;p&gt;Similarly, you should also be very careful when adding request headers, query/path parameters, etc. These are places where we’ve observed a lot of secrets being exposed. Our variable helpers make it easy to store data from those places into the vault or collection/environment variables. Simply highlight the value, and you will see a pop up that helps you store the data more securely.&lt;/p&gt;

&lt;p&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%2Fmy8fdalj0owdnxfyvhs4.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%2Fmy8fdalj0owdnxfyvhs4.png" alt="image|690x400" width="800" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s a list of places to take note of when making a workspace public:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Request header&lt;/li&gt;
&lt;li&gt;Collection/Environment/Global Variables&lt;/li&gt;
&lt;li&gt;Query and Path Parameters&lt;/li&gt;
&lt;li&gt;Authorization helpers (API Key, Basic, OAuth, etc)&lt;/li&gt;
&lt;li&gt;Pre-request and Post-response scripts&lt;/li&gt;
&lt;li&gt;Request body&lt;/li&gt;
&lt;li&gt;URL bar&lt;/li&gt;
&lt;li&gt;Postman Console&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3) Keep your credentials local with Postman Vault
&lt;/h3&gt;

&lt;p&gt;Some users worry about storing their credentials in Postman environments and variables because it could potentially sync with Postman cloud depending on how it is stored. While the Postman cloud is safe and secure, we always encourage everyone to store their API secrets in the Postman Vault.&lt;/p&gt;

&lt;p&gt;Postman Vault is a local encrypted storage that only you can access. Data stored in the Postman vault are not synced with the Postman cloud and can only be accessed using a vault key. Your vault key can be stored in your system’s password manager or securely elsewhere.&lt;/p&gt;

&lt;p&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%2Foc31t2s1otzxscuqjker.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%2Foc31t2s1otzxscuqjker.png" alt="image|690x216" width="800" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can limit vault secrets to specific API domains, and link them to external password managers like Hashicorp, Azure Vault, 1Password, etc if you intend to share credentials with your team. Vault credentials can be programmatically accessed in postman scripts similar to how you would access environments, and collection variables.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro tip:&lt;/strong&gt; When working with authorization helpers in Postman. Always use the Postman Vault.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://learning.postman.com/docs/sending-requests/postman-vault/postman-vault-secrets/" rel="noopener noreferrer"&gt;Learn more about Postman Vaults&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4) Help your API consumers stay secure with Guided Auths
&lt;/h3&gt;

&lt;p&gt;Guided Auth helps you onboard API consumers to your public APIs faster and more efficiently. When you set up Guided Auths for your public APIs in Postman, your API consumers get a step by step guide on how they can make their first successful API call as soon as they start typing your domain name in the URL bar.&lt;/p&gt;

&lt;p&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%2F9s8cjbcgp83kobsno2be.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%2F9s8cjbcgp83kobsno2be.png" alt="image|690x148" width="800" height="171"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;They can easily set up different kinds of authentication(OAuth 2.0, Client Credentials, PKCE, etc) depending on how your guided auth is configured.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://learning.postman.com/docs/publishing-your-api/setting-up-authentication-for-public-apis/" rel="noopener noreferrer"&gt;Learn how to setup Guided Auths here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once you have guided auths setup, you can help your API consumers stay secure by choosing to store their credentials after a guided authentication step in Postman Vault. Vault secrets added using Guided Auth are inside double curly braces (&lt;code&gt;{{ }}&lt;/code&gt;). The prefix &lt;code&gt;vault:&lt;/code&gt; is appended to the vault secret's name, and a suffix is automatically appended with the authentication type.&lt;br&gt;
e.g &lt;code&gt;{{vault:postman-api-key:value}}&lt;/code&gt;&lt;/p&gt;

&lt;p&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%2Fughzpnl5dej0rmqt6a8y.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%2Fughzpnl5dej0rmqt6a8y.png" alt="image|690x162" width="800" height="188"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5) Current Values vs Initial Values
&lt;/h3&gt;

&lt;p&gt;When using variables in Postman, it’s important to understand the difference between Initial Values and Current Values.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Initial Values are synced to the Postman cloud. If you share your collections, your variables become visible to your team and anyone who has access to that workspace.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Current Values are only stored locally on your machine and are not shared with others. This makes them ideal for storing sensitive API keys, tokens, or credentials.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pro tip: Always ensure that sensitive data is stored as a Current Value to prevent accidental exposure. Use Initial Values to show examples of what the variable value could look like.&lt;/p&gt;

&lt;h3&gt;
  
  
  6) Authorization helpers are there to help
&lt;/h3&gt;

&lt;p&gt;Postman provides authorization helpers that let you handle authentication securely without manually adding tokens or credentials in your request headers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Instead of manually copying access tokens, use the OAuth 2.0 helper to automatically fetch and refresh tokens.&lt;/li&gt;
&lt;li&gt;When using API keys, configure them in the authorization tab rather than adding them directly to request URLs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  7) Stop ignoring the warnings!
&lt;/h3&gt;

&lt;p&gt;Postman does a great job at providing several warnings at different places when it suspects that something may be wrong. This warning can come as a UI popup, a push notification, an email, or status indicators on the UI depending on what it is you are trying to do. Always make sure you pay attention to these warnings and never ignore them.&lt;/p&gt;

&lt;p&gt;It never hurts to double check to be sure you are not exposing any sensitive information.&lt;/p&gt;

&lt;p&gt;Remember, your data will only be public if you make them public.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro Tip:&lt;/strong&gt; When creating a new Workspace, always start with a Private or Team Workspace. Once you’re done making changes, review your work and then make it public. Ensure you always check thoroughly before changing a Workspace visibility to “Public”.&lt;/p&gt;

&lt;p&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%2Fp3iwknopl8goisihl2n7.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%2Fp3iwknopl8goisihl2n7.png" alt="image|690x222" width="800" height="257"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&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%2Fzfihlkvacnaqm1pscfjb.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%2Fzfihlkvacnaqm1pscfjb.png" alt="image|690x127" width="800" height="148"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7) Enforce the Principle of Least Privilege(POLP)
&lt;/h3&gt;

&lt;p&gt;Workspaces and Teams in Postman have Role Based Access Control(RBAC) integrated in them. We encourage teams collaborating in Postman to always give access and certain privileges to only those who need them. In a Postman Team, only individuals with super admin and community manager roles are allowed to manage all public elements. Therefore, we encourage you to only assign these roles to necessary people and have a standard review process in place for when Workspaces are being published to the public.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://learning.postman.com/docs/collaborating-in-postman/manage-public-elements/" rel="noopener noreferrer"&gt;Learn more about managing public elements in Postman here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Securing your APIs is crucial, and Postman provides various tools to help you keep your secrets safe. By leveraging features like Postman Vault, the Secret Scanner, Guided Auth, Authorization Helpers, etc. you can significantly reduce the risk of exposing sensitive data.&lt;/p&gt;

&lt;p&gt;Make sure you implement these best practices and regularly audit your Postman workspaces to ensure that your API security remains strong. &lt;/p&gt;

&lt;p&gt;Got questions? Found any of this helpful? Let me know in the comments!&lt;/p&gt;

&lt;p&gt;Happy coding and stay secure!&lt;br&gt;
Cheers!&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This was originally posted on the &lt;a href="https://community.postman.com/t/stop-exposing-secrets-secure-your-apis-in-postman-like-a-pro/76420?u=gbadebo-bello" rel="noopener noreferrer"&gt;Postman Community Forum&lt;/a&gt;&lt;/p&gt;

</description>
      <category>apisecurity</category>
      <category>postman</category>
      <category>authentication</category>
      <category>security</category>
    </item>
  </channel>
</rss>
