• REVOKED
  • PROVISIONED
  • VERIFIED
  • HUMAN

How to rotate API keys with your AI client

Connect Equinix Metal to your AI client to automate credential rotation. Once connected, your agent handles the heavy lifting of securing your environment.

Ask AI about this page

Short answer

How do I rotate API keys with my AI?

Tell your AI to delete the old key and create a new one. Your agent uses Equinix Metal tools to revoke access and provision fresh credentials immediately. You'll see the results of these security updates below.

Where every action lands.

Security outcomes

The AI executes these specific changes in your Equinix Metal account.

REVOKED

Access is cut

The AI uses delete_api_key to remove the compromised credential. The old key stops working instantly.

PROVISIONED

New keys ready

Your agent generates fresh credentials via create_user_api_key or create_project_api_key. You get new access without touching the console.

VERIFIED

Rotation complete

The AI confirms the old key is gone and the new one is active. You receive a summary of the new state.

HUMAN

Manual review needed

You decide if the new key permissions match your current needs. The AI doesn't change your account settings or billing.

The workflow

What your AI does when a key is compromised.

Your agent moves through these steps to close the security gap.

  1. Kill the old key

    The AI identifies the specific compromised credential and removes it from your Equinix Metal account.

    delete_api_key
  2. Generate user access

    If you need a replacement for a specific person, the AI creates a new user-level key.

    create_user_api_key
  3. Generate project access

    For service accounts or automated tasks, the AI provisions a key tied to a specific project.

    create_project_api_key
  4. Confirm status

    The AI checks that the rotation was successful and reports the new key details to you.

    create_user_api_key

Try it

Copy these to start.

Use these prompts to trigger the rotation process.

Starting points

Swap out the specific key IDs or project names for your actual Equinix Metal details.

Equinix Metal Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_PCLKoMBRiDuqocULBdhP3vVp3zouG0zUhlY0D0XK/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Equinix Metal capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "equinix-metal-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_PCLKoMBRiDuqocULBdhP3vVp3zouG0zUhlY0D0XK/mcp"
    }
  }
}
Copy into chat04
  • Delete my Equinix Metal API key ending in 4a2b.

  • Create a new project API key for my production environment.

  • I think my user key is leaked. Delete it and make me a new one.

  • Provision a new project-level key for the 'web-app' project.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Equinix Metal once, then ask.

Add the Equinix Metal MCP to your client. Your credentials stay encrypted and secure on our side.

Connect Equinix Metal to your AI

FAQ

How this task behaves

  • 01

    Can the AI delete my entire Equinix Metal account?

    No. The AI only has tools to manage specific API keys.

  • 02

    Will the AI create a new key for every user in my account?

    No. The AI only creates the specific key you ask for in your prompt.

  • 03

    Does the AI need my login password?

    No. You connect the MCP once, and the AI uses the established connection to perform actions.

  • 04

    Can the AI change my billing settings?

    No. There are no tools available to modify billing or subscription data.

  • 05

    Can the AI see my infrastructure configuration?

    The AI can only see and act on what the specific API key tools allow.

  • More questions about Equinix Metal? The Connector page answers them. See everything the Equinix Metal Connector can do

Connect Equinix Metal to Claude, Cursor, ChatGPT & more