Secret Keys

Secret keys authenticate your project from server-side environments (Node.js, Python, Ruby, etc.). Each key you create in your dashboard is assigned to a project.

  1. 1

    Have an Account

    Create your Ip2Geo account or login to your existing account if you haven’t already. You can do that by visiting the Ip2Geo Dashboard. Once logged in, select the project you want to generate a secret key for from your dashboard.

  2. 2

    Create a Secret Key

    Navigate to the Keys section within your project. Click on “Create Key”, provide a name for your key, and click “Generate Key” to create your secret key. From a terminal, ip2geo keys create “My key” does the same with the CLI. The owner and admins of a project can create keys; see Team Members.

  3. 3

    Authenticate Your Project

    Use the secret key to authenticate your project when using the SDK or making direct API calls from your server.

Keep your secret keys secure and do not share them publicly. If you believe your key has been compromised, you can re-roll it from the dashboard to generate a new one.

Get Started

Convert IPs into accurate location data in milliseconds.

Sign up today and get 1,000 free monthly conversions, and discover why developers trust us for fast, reliable, and affordable IP conversions.