The Simplest Way to Make Cohesity and Tyk Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair Cohesity and Tyk to expose backup tasks through a safe API endpoint. Together, cohesity and tyk let apps trigger data snapshots and check backup status. Platform teams use this setup to manage storage jobs without opening direct cluster ports. Apps call one route, and the cluster runs the requested storage job. How cohesity and tyk pass requests and check roles Tyk sits in front of the storage cluster to check incoming web calls. An external app sends a web request with a client key

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.

You pair Cohesity and Tyk to expose backup tasks through a safe API endpoint. Together, cohesity and tyk let apps trigger data snapshots and check backup status. Platform teams use this setup to manage storage jobs without opening direct cluster ports. Apps call one route, and the cluster runs the requested storage job.

How cohesity and tyk pass requests and check roles

Tyk sits in front of the storage cluster to check incoming web calls. An external app sends a web request with a client key to Tyk. Tyk checks the key against its local rule set before forwarding the call. It also checks rate limits so a bad script cannot flood the storage cluster.

Once the call passes those checks, it moves to the Cohesity API endpoint. Cohesity needs its own user token or key to run the storage task. The caller must hold a valid role on the storage cluster to read data. Cohesity runs the backup job and sends the status back through the same path.

Teams often map identity provider groups to specific storage roles in the cluster. A developer group might only hold rights to read backup job status reports. An operations group might hold rights to start a new database snapshot. This split keeps regular app traffic away from deep storage admin settings.

Common token risks and how to scope network paths

Many teams make the mistake of using one shared admin account for all calls. They put a single static storage key into their API routing tier. If an attacker steals a basic app key, they gain full storage admin rights. They could delete snapshots or read private backups across the whole company.

Broad keys also ruin your audit logs inside the storage system. Every single call looks like it came from the same shared service user. When a bad script deletes a backup policy, you cannot see who wrote it. You have to dig through two separate log systems to match the timestamps.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, create tight roles inside Cohesity for each app team. Give each role access to only one storage domain or one view box. Next, lock down the network path between your API nodes and the storage cluster. Use strict firewall rules so only your API nodes can reach the storage port.

Keeping sensitive backup metadata safe in transit

Backup job logs and file lists often contain private customer details. A file path or metadata tag might hold emails, phone numbers, or card numbers. When apps pull job reports through an API, that data flows into app logs. Data masking rewrites matched fields in results to keep national IDs out of logs.

You should also set short lifetimes for every API key and user session. Rotate your storage cluster keys on a regular schedule using an automated script. Check your API traffic logs each week to find unused keys and revoke them. Good hygiene stops old test scripts from turning into hidden security holes.

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

Why put Tyk in front of Cohesity APIs?

It gives you rate limits, quota checks, and clean routing for storage calls. You can protect the storage cluster from traffic spikes caused by bad automation scripts.

How should we scope Cohesity roles for API callers?

Create a separate role for each task, such as reading job status or starting snapshots. Never assign the cluster admin role to an automated API user account.

How do we trace which user ran a storage job?

Pass user identity headers from your identity provider through the API call. Match those headers with your storage audit logs to see who triggered each job.

The query runs. The emails stay hidden.