Skip to content
Console
Menu

Getting Started

Authentication

KV Store

sylphx connections connection_providers

Every sylphx connections connection_providers command: its argument, its flags and a run line.

The connection_providers commands of Sylphx Connections, as the CLI spells them: the same calls as the connection_providers API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#begin-registration

Begins an expiring, one-use GitHub manifest registration ceremony. Open registration_url to POST the bound, prefilled manifest to GitHub. github_organization selects organization ownership. The state-authorized callback is GET /v1/connections/github-manifest:callback?state=...&code=... and returns only provider metadata and an installation URL.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx connections connection-providers begin-registration orgs/acme

POST https://api.sylphx.com/v1/orgs/acme/connection_providers:beginRegistration · scope connections:admin · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--connection-provider-idstringExplicit immutable provider identity. Required.
--signing-keystringUnused environment-scoped public Keys target in this organization. Required.
--webhook-secretstringEnvironment-scoped Secrets custody target in this organization. Required.
--github-manifestjsonPermissions, events and the declared platform webhook destination. Required.
--expected-github-app-slugstringSlug whose literal wrapped-import path has been enrolled in custody. Renaming the App at GitHub causes the callback to refuse before import. Required.
--github-organizationstringGitHub organization that will own the App; unset selects a personal account.

#adopt

Adopts an existing GitHub App whose non-exportable custody already exists. The server observes public SPKI metadata and verifies signed GET /app before atomically registering the SIGN Key and provider. No private key is accepted.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx connections connection-providers adopt orgs/acme

POST https://api.sylphx.com/v1/orgs/acme/connection_providers:adopt · scope connections:admin · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--connection-provider-idstringExplicit immutable provider identity. Required.
--github-appjsonExisting App identity and unused full environment-scoped SIGN Key target. An optional webhook_secret must already name this organization's Secret. Required.
--reasonstringAccountable operator's reason for adopting the existing App. Required.

#get

Gets a connection provider.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx connections connection-providers get orgs/acme/connection_providers/connection-provider

GET https://api.sylphx.com/v1/orgs/acme/connection_providers/connection-provider · scope connections:read · effect read · Request, response and examples

#list

Lists an org's connection providers.

PARENT — optional: the CLI fills it from the linked project or the key's scope when it is left out.

CLI

Shell
sylphx connections connection-providers list orgs/acme

GET https://api.sylphx.com/v1/orgs/acme/connection_providers · scope connections:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintAt most this many; default 50, clamped to 1000.
--page-tokenstringnext_page_token of the previous page.
--filterstringAIP-160 filter over labels and filterable fields.
--order-bystringAIP-132 ordering over filterable fields.

#update

Updates a connection provider.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx connections connection-providers update orgs/acme/connection_providers/connection-provider

PATCH https://api.sylphx.com/v1/orgs/acme/connection_providers/connection-provider · scope connections:admin · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--spec.github-app.slugstringThe App's slug, for example sylphx.
--spec.github-app.client-idstringThe App's OAuth client id.
--spec.github-app.signing-keystringThe imported, non-exportable SIGN Key (RS256) that signs App assertions; only the credential service may use it.
--spec.github-app.webhook-secretstringThe Secret holding the webhook secret that verifies deliveries.
--dry-runboolValidate and print the result without writing (validate_only).

#delete

Deletes a connection provider; force forgets its local connections only.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx connections connection-providers delete orgs/acme/connection_providers/connection-provider --yes

DELETE https://api.sylphx.com/v1/orgs/acme/connection_providers/connection-provider · scope connections:admin · effect destructive · Request, response and examples

Flags

FlagTypeWhat it does
--etagstringDelete only if the current etag matches.
--dry-runboolValidate and print the result without writing (validate_only).
--forceboolAlso forget every child Resource; without it a parent with children fails with INVALID_STATE. This never uninstalls the App at GitHub.
--yesboolDo not ask before this destructive call.