---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ydb.tech/docs/en/reference/ydb-cli/profile/list-and-get.md?version=v25.3
  - https://ydb.tech/docs/ru/reference/ydb-cli/profile/list-and-get.md?version=v25.3
  - href: en/reference/ydb-cli/profile/list-and-get.md
    type: text/markdown
    title: Markdown version
  - href: ../../../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/core/reference/ydb-cli/profile/list-and-get.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

<!-- source: en/reference/ydb-cli/profile/_includes/list-and-get.md -->
# Getting profile information

## Getting a list of profiles {#list}

Getting a list of profiles:

```bash
ydb config profile list
```

If there is a currently [activated profile](https://ydb.tech/docs/en/reference/ydb-cli/profile/activate.md?version=v25.3), it will be marked as `(active)` in the output list, for example:

```text
prod
test (active)
local
```

## Getting detailed profile information {#get}

Getting parameters saved in the specified profile:

```bash
ydb config profile get <profile_name>
```

For example:

```bash
$ ydb config profile get local1
  endpoint: grpcs://ydb.serverless.yandexcloud.net:2135
  database: /rul1/b1g8skp/etn02099
  sa-key-file: /Users/username/secrets/sa_key_test.json
```

## Getting profiles with content {#get-all}

Full information on all profiles and parameters stored in them:

```bash
ydb config profile list --with-content
```

The output of this command combines the output of the command to get a list of profiles (with the active profile marked) and the parameters of each profile in the lines following its name.
<!-- endsource: en/reference/ydb-cli/profile/_includes/list-and-get.md -->
