---
title: "POST /static-creds-auth"
method: POST
path: "/static-creds-auth"
tags: ["Authentication"]
---

# POST /static-creds-auth

`POST /static-creds-auth`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/static-creds-auth`
- Auth: none declared

## Request body

- StaticCredsAuth: staticCredsAuth is a command that creates a temporary access profile using the provided static credentials.
  - `access-id` string: Akeyless JWT token
  - `admin-email` string: Akeyless JWT token
  - `creds` string: Akeyless JWT token
  - `json` boolean: Set output format to JSON

## Response `200`

staticCredsAuthResponse wraps response body.

- StaticCredsAuthOutput
  - `token` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
