## duckdb.list_secrets()


The connection's Azure secrets, as `quak::az_list_secrets()`.


Usage

``` python
duckdb.list_secrets(conn)
```


## Parameters


`conn: duckdb.DuckDBPyConnection`  
The DuckDB connection.


## Returns


`duckdb.DuckDBPyRelation`  
`duckdb_secrets()` where `type = 'azure'`, ordered by name; DuckDB redacts the secret values. Fetch it with `.fetchall()`, `.df()` or `.pl()`, or print it.


## Raises


`ImportError`  
`duckdb` is not installed (`pip install 'dazapiz[duckdb]'`).


## Notes

Runs DuckDB's `duckdb_secrets()` table function, after installing and loading the `azure` extension if needed, as `quak::az_list_secrets()` does; nothing is computed in Python.


## Examples

``` python
from dazapiz.duckdb import list_secrets

list_secrets(conn).fetchall()
```
