On this page
sylphx connections
Every sylphx connections command: its argument, its flags and a run line.
The connections commands of Sylphx Connections, as the CLI spells them: the same
calls as the connections API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
get
Gets a connection.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx connections get orgs/acme/connections/connectionGET https://api.sylphx.com/v1/orgs/acme/connections/connection · scope connections:read · effect read · Request, response and examples
list
Lists an org's connections.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx connections list orgs/acmeGET https://api.sylphx.com/v1/orgs/acme/connections · scope connections:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--page-size | int | At most this many; default 50, clamped to 1000. |
--page-token | string | next_page_token of the previous page. |
--filter | string | AIP-160 filter over labels and filterable fields. |
--order-by | string | AIP-132 ordering over filterable fields. |
begin-authorization
Begins GitHub device authorization for a new or existing user Connection. The operator opens verification_uri and enters user_code once. Broker keeps the device code and all resulting tokens; clients never supply credentials. Reauthorization preserves the Connection's provider and expected login.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx connections begin-authorization orgs/acme/connections/connectionPOST https://api.sylphx.com/v1/orgs/acme/connections/connection:beginAuthorization · scope connections:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--github-user | json | Verified App provider and expected user; must match an existing Connection. Required. |
--etag | string | Required current etag when replacing an existing authorization attempt. |
--no-wait | bool | Return the call at once instead of waiting for it to finish. |
complete-authorization
Polls one authorization attempt no earlier than next_poll_time. Only an explicit pending response allows another provider poll. Unknown outcomes require a new authorization; successful credentials are sealed and committed before the Connection becomes active. A completed attempt is safe to replay.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx connections complete-authorization orgs/acme/connections/connectionPOST https://api.sylphx.com/v1/orgs/acme/connections/connection:completeAuthorization · scope connections:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--authorization-id | string | Exact attempt returned by begin; stale attempts never poll the provider. Required. |
--no-wait | bool | Return the call at once instead of waiting for it to finish. |
import-oauth2-credentials
Imports existing OAuth 2.0 credentials into sealed Broker custody for a Connection without returning any secret token.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx connections import-oauth2-credentials orgs/acme/connections/connectionPOST https://api.sylphx.com/v1/orgs/acme/connections/connection:importOauth2Credentials · scope connections:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--provider | string | OAuth 2.0 ConnectionProvider resource name; required when creating a new Connection. |
--refresh-token | string | Write-only refresh token sealed inside Broker custody and never returned. Required. The value is never returned. |
--access-token | string | Optional write-only access token cached until access_token_expire_time. The value is never returned. |
--access-token-expire-time | timestamp | Expiry of the optional initial access_token. |
--external-account-id | string | Optional non-secret external account id. |
--provider-metadata | key=value | Optional non-secret metadata merged into spec.oauth2.provider_metadata. Repeat the flag for each value. |
--room-bot-binding | json | Opts a fresh Connection into Broker-only room Bot use. Requires an org-wide Connections admin. Rotation must repeat the exact same binding. Requires an unexpired access token whose Slack workspace and bot are independently verified by Broker. This prepares custody only; it does not verify room membership or grant room authority. |
--no-wait | bool | Return the call at once instead of waiting for it to finish. |
create
Records a Connection. GitLab registration stores credential references and remains pending provider verification.
ID — The id segment of the new Resource's name; the server assigns one when omitted.
CLI
sylphx connections create --parent orgs/acmePOST https://api.sylphx.com/v1/orgs/acme/connections · scope connections:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--parent | string | The parent to create in; defaults to the linked project or the key's scope. |
--meta.labels | key=value | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
--meta.annotations | key=value | Caller-writable, unindexed annotations. Repeat the flag for each value. |
--meta.display-name | string | Caller-writable human-readable name. |
--spec.provider | string | The provider this is an installation of; unset for Web Push. |
--spec.external-id | string | The provider's id of the installation, for example a GitHub App installation id. Unset for Web Push. |
--spec.web-push.key | string | Enabled, generated SIGN/ec_p256_sha256 Key in the Connection organization. |
--spec.web-push.contact | string | Operator contact, a mailto: or HTTPS URI; used as the JWT subject. |
--spec.github-user.provider | string | App provider whose OAuth client issued the authorization. |
--spec.github-user.login | string | Expected verified GitHub login; never inferred from untrusted input alone. |
--spec.oauth2.external-account-id | string | Non-secret account identifier associated with the external authorization. |
--spec.oauth2.provider-metadata | key=value | Non-secret provider metadata captured from callbacks or supplied by the caller. Secret-bearing keys are rejected. Repeat the flag for each value. |
--spec.s3-signing.principal | string | Exact Access workload principal, in the Connection organization. |
--spec.s3-signing.secret-version | string | Pinned same-org SecretVersion containing the R2 signing key pair. |
--spec.s3-signing.origin | string | Canonical R2 HTTPS origin (no path, port, query or fragment). |
--spec.s3-signing.object-prefix | string | Bucket and an object namespace; slash-terminated, no leading slash. |
--spec.s3-signing.allow-actor-head-replacement | bool | Opt in to If-Match replacement PUTs, only for <bucket>/actor-heads/v1/. When enabled, both create and replacement PUTs sign application/json. |
--spec.gitlab.instance-url | string | Credential-free HTTPS instance base, including an optional deployment subpath. |
--spec.gitlab.project-id | string | Canonical positive decimal GitLab project ID, not a repository path. |
--spec.gitlab.api-token-version | string | Pinned SecretVersion in this org for API and repository access. |
--spec.gitlab.webhook-token-version | string | Pinned SecretVersion in this org for the webhook token. Use a separate Secret. |
--dry-run | bool | Validate and print the result without writing (validate_only). |
--no-wait | bool | Return the call at once instead of waiting for it to finish. |
update
Updates Connection metadata or mutable configuration, such as pinned GitLab SecretVersions.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx connections update orgs/acme/connections/connectionPATCH https://api.sylphx.com/v1/orgs/acme/connections/connection · scope connections:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--meta.labels | key=value | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
--meta.annotations | key=value | Caller-writable, unindexed annotations. Repeat the flag for each value. |
--meta.display-name | string | Caller-writable human-readable name. |
--spec.web-push.key | string | Enabled, generated SIGN/ec_p256_sha256 Key in the Connection organization. |
--spec.web-push.contact | string | Operator contact, a mailto: or HTTPS URI; used as the JWT subject. |
--spec.github-user.provider | string | App provider whose OAuth client issued the authorization. |
--spec.github-user.login | string | Expected verified GitHub login; never inferred from untrusted input alone. |
--spec.oauth2.external-account-id | string | Non-secret account identifier associated with the external authorization. |
--spec.oauth2.provider-metadata | key=value | Non-secret provider metadata captured from callbacks or supplied by the caller. Secret-bearing keys are rejected. Repeat the flag for each value. |
--spec.s3-signing.principal | string | Exact Access workload principal, in the Connection organization. |
--spec.s3-signing.secret-version | string | Pinned same-org SecretVersion containing the R2 signing key pair. |
--spec.s3-signing.origin | string | Canonical R2 HTTPS origin (no path, port, query or fragment). |
--spec.s3-signing.object-prefix | string | Bucket and an object namespace; slash-terminated, no leading slash. |
--spec.s3-signing.allow-actor-head-replacement | bool | Opt in to If-Match replacement PUTs, only for <bucket>/actor-heads/v1/. When enabled, both create and replacement PUTs sign application/json. |
--spec.gitlab.api-token-version | string | Pinned SecretVersion in this org for API and repository access. |
--spec.gitlab.webhook-token-version | string | Pinned SecretVersion in this org for the webhook token. Use a separate Secret. |
--dry-run | bool | Validate and print the result without writing (validate_only). |
--no-wait | bool | Return the call at once instead of waiting for it to finish. |
delete
Forgets a connection. The installation itself is removed at the provider.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx connections delete orgs/acme/connections/connection --yesDELETE https://api.sylphx.com/v1/orgs/acme/connections/connection · scope connections:write · effect destructive · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--etag | string | Delete only if the current etag matches. |
--dry-run | bool | Validate and print the result without writing (validate_only). |
--no-wait | bool | Return the call at once instead of waiting for it to finish. |
--yes | bool | Do not ask before this destructive call. |