---
title: "Get the effective password policy"
method: GET
path: "/auth/password-policy"
tags: ["Authentication"]
---

# Get the effective password policy

`GET /auth/password-policy`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/password-policy`
- Auth: HTTP bearer

Returns the backend-enforced password bounds and compromised-password
screening status for the project identified by the anon key. A valid
anon key is required, but no route-specific auth permission is needed.

## Headers

- `X-Volcano-Proxy-Authorization` string
- `X-Volcano-Client-IP` string

## Response `200`

Effective password policy

- AuthPasswordPolicy: Effective backend-enforced password policy.
  - `effective_min_length` integer, required: Effective minimum password length in Unicode characters.
  - `min_configurable_length` integer, required: Lowest minimum password length accepted by the auth configuration endpoint.
  - `max_length` integer, required: Maximum password length in Unicode characters.
  - `require_uppercase` boolean, required: Whether passwords must contain an ASCII uppercase letter (A-Z).
  - `require_lowercase` boolean, required: Whether passwords must contain an ASCII lowercase letter (a-z).
  - `require_numbers` boolean, required: Whether passwords must contain an ASCII digit (0-9).
  - `require_special_chars` boolean, required: Whether passwords must contain one of the backend-supported special characters.
  - `compromised_passwords_rejected` boolean, required: Whether common and known-compromised passwords are rejected by the backend.

## Other responses

- `401`: Invalid, missing, or revoked anon key; or invalid auth proxy metadata
- `404`: Project or auth configuration not found

## Changes

- **2026-10-23** `5113707385cc`: 2 info
  - added the new optional `header` request parameter `X-Volcano-Client-IP`
  - added the new optional `header` request parameter `X-Volcano-Proxy-Authorization`
- **2026-09-19** `3a6f365f3f35`: 3 breaking, 12 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `404`
  - added the optional property `code` to the response with the `401` status
  - …11 more
- **2026-08-27** `bb44e98aba2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/password-policy/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
