***

title: get_auth_info
slug: /reference/python/agents/configuration/auth-handler/get-auth-info
description: Get a summary of configured authentication methods.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Get a summary of which authentication methods are configured and their settings.
Sensitive values (passwords, tokens, keys) are not included.

## **Returns**

`dict[str, Any]` -- Dictionary with keys for each enabled method (`basic`, `bearer`,
`api_key`), each containing `enabled: True` and relevant non-sensitive metadata.

## **Example**

```python {6}
from signalwire.core.security_config import SecurityConfig
from signalwire.core.auth_handler import AuthHandler

security = SecurityConfig()
auth = AuthHandler(security)
info = auth.get_auth_info()

print(info)
# {
#   'basic': {'enabled': True, 'username': 'signalwire'},
#   'bearer': {'enabled': True, 'hint': 'Use Authorization: Bearer <token>'},
#   'api_key': {'enabled': True, 'header': 'X-API-Key', 'hint': 'Use X-API-Key: <key>'}
# }
```