원클릭으로
collect-credentials
Run the authenticate script to collect credentials from the user via a browser form.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run the authenticate script to collect credentials from the user via a browser form.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate public-facing documentation for a connector targeted at end users.
Set up authentication for a source connector — generate connector spec, collect credentials interactively, and validate auth.
Guide the user through creating or updating a pipeline for a source connector — read the docs, build a pipeline spec interactively, and run create_pipeline or update_pipeline.
Generate the connector spec YAML file defining connection parameters and external options allowlist.
Single step only: audit a completed connector — implementation, testing & simulator validation, artifacts, security smells, cross-doc consistency — and produce a scored markdown review report. Read-mostly; does not modify connector code.
Generate and run an auth verification test to confirm that collected credentials are valid.
| name | collect-credentials |
| description | Run the authenticate script to collect credentials from the user via a browser form. |
Run the authenticate.py script to collect credentials for the {{source_name}} connector. The script starts a local HTTP server that serves a browser form based on the connector spec. The user fills in their credentials in the browser and clicks Save.
connector_spec.yaml must already exist at src/databricks/labs/community_connector/sources/{{source_name}}/connector_spec.yamlCONNECTOR_TEST_CONFIG_PATH=<that path>
or by inlining its contents into CONNECTOR_TEST_CONFIG_JSON.python3.10 -m venv .venv && source .venv/bin/activate && pip install -e ".[dev]"
~/secrets/{{source_name}}.json). Pass that path as -o:source .venv/bin/activate && \
python tools/scripts/authenticate.py -s {{source_name}} -m browser \
-o ~/secrets/{{source_name}}.json
The -o flag is required for this skill — never write into the
repo. Run the script in background (Bash with timeout: 0)
because it blocks until the user submits the form.
→ http://localhost:9876
The port may differ from 9876 if that port is already in use.
Show the URL to the user via AskUserQuestion. Ask them to:
Wait for the user to explicitly confirm before proceeding. If the user reports an error, help them debug.
After confirmation, verify that the chosen output file exists. Tell the user how to point tests at it:
CONNECTOR_TEST_CONFIG_PATH=<their chosen path> pytest tests/unit/sources/{{source_name}}/
connector_spec.yaml declares a connection.oauth block with an interactive flow (u2m / u2m_per_user), the script runs the OAuth 2.0 authorization-code flow instead of a plain form — the user provides their client_id + client_secret, then logs in and authorizes in the browser, and the script obtains the token automatically. The OAuth app in the source must have the script's redirect URI registered. (The script does not run the m2m client-credentials grant; for an m2m connector the user just supplies client_id + client_secret.) Otherwise the steps are identical.AskUserQuestion) while the script is running.