File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
airbyte_cdk/cli/airbyte_cdk Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2- """Secret management commands.
2+ """** Secret management commands.**
33
44This 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
1526The 'fetch' command retrieves secrets from Google Secret Manager based on connector
1627labels and writes them to the connector's `secrets` directory.
You can’t perform that action at this time.
0 commit comments