---
title: "Store Credentials"
method: POST
path: "/auth"
tags: ["Credentials"]
---

# Store Credentials

`POST /auth`

## Request

- Base URL: `https://api.continueops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.continueops.com/auth`
- Auth: API key in header `X-Runner-Key`

Store cloud provider credentials (encrypted) in Supabase.

For AWS, validates against live AWS before storing so the user gets
immediate feedback if the role/keys aren't usable. Set
CRED_VALIDATION_ENABLED=false to skip (emergency bypass).

## Request body

- CredentialRequest
  - `tenant_id` string, required: Unique tenant identifier
  - `provider` 'aws' | 'gcp' | 'azure', required
  - `credentials` object, required: Provider credentials payload

## Response `200`

Successful Response

- CredentialResponse
  - `status` string
  - `tenant_id` string, required
  - `provider` 'aws' | 'gcp' | 'azure', required
  - `credential_id` string, uuid, required
  - `stored_at` string, date-time, required
  - `expires_at` string, date-time, nullable
  - `has_expiry` boolean, required
  - `account_id` string, nullable
  - `project_id` string, nullable
  - `note` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/continueops/apis/cloud-credential-proxy.md) · [All operations](https://skmtc.dev/continueops/apis/cloud-credential-proxy/llms.txt) · [OpenAPI document](https://skmtc.dev/continueops/apis/cloud-credential-proxy/revisions/f0940e341f41?raw)
