Skip to content

Managing API keys

Getting Started with API Keys

  1. Go to SkySQL API Key management page: https://app.skysql.com/user-profile/api-keys and generate an API key

  2. Export the value from the token field to an environment variable $API_KEY

  3. Use it on subsequent request, e.g:

     curl --request GET 'https://api.skysql.com/provisioning/v1/services' \
     --header "X-API-Key: $API_KEY"
    

Managing API Keys

Use the Portal to create new, revoke or permanently delete these Keys.

OR

You can use the swagger API portal to manage the keys.

  1. Fetch all keys

  2. Create a new API Key

  3. Delete a user specific Key

  4. Update a user specific key