The Simplest Way to Make Portworx and Postman Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair Portworx and Postman to test and run container storage tasks through API calls. This setup lets engineers create volumes, check cluster health, and manage snapshots from one workspace. Portworx runs storage for Kubernetes apps across cloud and on-prem hosts. Postman gives developers a simple client to build, test, and share HTTP requests. When you link them, you can trigger storage tasks without using the command line. Still, direct API calls from laptops to production storage cluste

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair Portworx and Postman to test and run container storage tasks through API calls. This setup lets engineers create volumes, check cluster health, and manage snapshots from one workspace.

Portworx runs storage for Kubernetes apps across cloud and on-prem hosts. Postman gives developers a simple client to build, test, and share HTTP requests. When you link them, you can trigger storage tasks without using the command line. Still, direct API calls from laptops to production storage clusters can create security risks.

How Portworx and Postman share data and permissions

Portworx exposes a REST API that handles volume creation, backup jobs, and node status checks. Engineers use Postman to send HTTP requests to these storage endpoints. Before Portworx runs a request, it checks who sent the call and what role they hold.

To make this work, an admin creates a token or links an identity provider to Portworx. The engineer then pastes this token into their Postman workspace variables. Each time the engineer clicks send, Postman attaches the token to the request header. Portworx reads the token, checks the role rules, and returns the storage data as JSON.

Teams often store these endpoints and request templates in shared Postman collections. A collection holds pre-built calls for common tasks like resizing a disk or checking pool capacity. When a team member updates a collection, everyone gets the new request format right away. This saves time during on-call shifts when engineers need fast answers from the storage cluster.

Common failure modes in storage API workflows

Sharing Postman collections makes work fast, but it often leads to poor secret habits. Teams frequently put a single admin token into a shared variable so everyone can run requests. When five engineers use the same token, the storage logs cannot show who deleted a volume. If that token leaks in a synced workspace, anyone with the file can change production disks.

Long-lived tokens cause another major problem for platform teams. Engineers generate a token for a quick test and leave it in their local app for months. Even after an engineer changes teams, that saved token might still work against the cluster. Manual token rotation takes time, so teams often skip it until an audit forces their hand.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Over-broad roles also put storage data at risk during routine checks. An engineer who only needs to read disk status often gets full write permissions by mistake. One click on the wrong request in a folder can wipe a snapshot or detach a disk. Without strict role rules, a simple test in a production tab can cause an outage.

How to scope roles and network paths

Start by breaking apart shared admin accounts into separate roles for each task type. Create a read-only role for daily health checks and capacity queries in your storage cluster. Reserve write roles for specific backup or volume setup workflows that require change rights. Map these roles to your identity provider so users log in with their own work accounts.

Keep tokens out of shared workspace files by using local variables that do not sync to the cloud. Set short expiration times on all user tokens so old keys stop working after a few hours. Also, restrict the storage API port so it only accepts traffic from trusted private networks. Finally, send all storage API logs to a central log tool so you can review every change.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Can I run Portworx API calls in Postman without an admin token?

Yes, you can assign role-based permissions in your storage cluster. Give users a read-only token so they can check status without changing volumes.

How do teams stop tokens from leaking in shared Postman workspaces?

Put tokens in the current value field of variables instead of the initial value field. Current values stay on your local machine and do not sync to team servers.

What is the safest way to test destructive storage API calls?

Always point your requests at a staging cluster first using separate workspace variables. Label production setups clearly and use read-only keys for daily debugging.

The query runs. The emails stay hidden.