Skip to content

Commit 430adfb

Browse files
committed
docs: update docstring
1 parent d250de1 commit 430adfb

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

airbyte_cdk/cli/airbyte_cdk/_secrets.py

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
11
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2-
"""Secret management commands.
2+
"""**Secret management commands.**
33
44
This module provides commands for managing secrets for Airbyte connectors.
55
6-
Usage:
7-
airbyte-cdk secrets fetch --connector-name source-github
8-
airbyte-cdk secrets fetch --connector-directory /path/to/connector
9-
airbyte-cdk secrets fetch # Run from within a connector directory
6+
**Usage:**
107
11-
Usage without pre-installing (stateless):
12-
pipx run airbyte-cdk secrets fetch ...
13-
uvx airbyte-cdk secrets fetch ...
8+
```bash
9+
# Fetch secrets
10+
airbyte-cdk secrets fetch --connector-name source-github
11+
airbyte-cdk secrets fetch --connector-directory /path/to/connector
12+
airbyte-cdk secrets fetch # Run from within a connector directory
13+
14+
# List secrets (without fetching)
15+
airbyte-cdk secrets list --connector-name source-github
16+
airbyte-cdk secrets list --connector-directory /path/to/connector
17+
```
18+
19+
**Usage without pre-installing (stateless):**
20+
21+
```bash
22+
pipx run airbyte-cdk secrets fetch ...
23+
uvx airbyte-cdk secrets fetch ...
24+
```
1425
1526
The 'fetch' command retrieves secrets from Google Secret Manager based on connector
1627
labels and writes them to the connector's `secrets` directory.

0 commit comments

Comments
 (0)