Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

sylphx money store_connections

Every sylphx money store_connections command: its argument, its flags and a run line.

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

#get

Gets a store connection.

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

CLI

Shell
sylphx money store-connections get orgs/acme/projects/shop/envs/production/store_connections/store-connection

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/store_connections/store-connection · scope billing:read · effect read · Request, response and examples

#list

Lists store connections.

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

CLI

Shell
sylphx money store-connections list orgs/acme/projects/shop/envs/production

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/store_connections · scope billing: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 filterable fields.

#create

Creates a store connection; its credential is sealed and never returned.

ID — The id segment of the new Resource's name; the server assigns one when omitted.

CLI

Shell
sylphx money store-connections create --parent orgs/acme/projects/shop/envs/production

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/store_connections · scope billing:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--parentstringThe parent to create in; defaults to the linked project or the key's scope.
--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.app-store.bundle-idsstringThe apps' bundle ids. Repeat the flag for each value.
--spec.app-store.issuer-idstringThe App Store Connect issuer id.
--spec.app-store.key-idstringThe In-App Purchase key id.
--spec.app-store.private-keystringThe In-App Purchase key (.p8 PEM). Write-only: sealed on write, never returned; omit it on update to keep the stored key. The value is never returned.
--spec.app-store.app-apple-idintThe app's Apple id, needed to verify production notifications.
--spec.app-store.account-token-prefixstringAn earlier appAccountToken scheme the app's shipped builds use: the token is UUIDv5 in the URL namespace of this prefix followed by the subject id (for example https://accounts.example.com/v2/). Tokens in Money's own scheme are always accepted as well.
--spec.google-play.package-namesstringThe apps' package names. Repeat the flag for each value.
--spec.google-play.service-account-jsonstringThe service account's JSON key. Write-only: sealed on write, never returned; omit it on update to keep the stored key. The value is never returned.
--spec.google-play.notification-audiencestringThe audience Play's Pub/Sub push token must carry for real-time developer notifications; unset refuses them.
--spec.google-play.notification-service-accountstringThe service account Pub/Sub pushes as.
--spec.allow-sandboxboolAccept purchases the store marks as sandbox or license-test. Off in production: a sandbox purchase is then refused.
--spec.require-account-tokenboolRefuse a purchase that does not carry the subject's account token (App Store appAccountToken, Play obfuscatedAccountId).
--dry-runboolValidate and print the result without writing (validate_only).

#update

Updates a store connection; a new credential replaces the stored one.

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

CLI

Shell
sylphx money store-connections update orgs/acme/projects/shop/envs/production/store_connections/store-connection

PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/store_connections/store-connection · scope billing:write · 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.app-store.bundle-idsstringThe apps' bundle ids. Repeat the flag for each value.
--spec.app-store.issuer-idstringThe App Store Connect issuer id.
--spec.app-store.key-idstringThe In-App Purchase key id.
--spec.app-store.private-keystringThe In-App Purchase key (.p8 PEM). Write-only: sealed on write, never returned; omit it on update to keep the stored key. The value is never returned.
--spec.app-store.app-apple-idintThe app's Apple id, needed to verify production notifications.
--spec.app-store.account-token-prefixstringAn earlier appAccountToken scheme the app's shipped builds use: the token is UUIDv5 in the URL namespace of this prefix followed by the subject id (for example https://accounts.example.com/v2/). Tokens in Money's own scheme are always accepted as well.
--spec.google-play.package-namesstringThe apps' package names. Repeat the flag for each value.
--spec.google-play.service-account-jsonstringThe service account's JSON key. Write-only: sealed on write, never returned; omit it on update to keep the stored key. The value is never returned.
--spec.google-play.notification-audiencestringThe audience Play's Pub/Sub push token must carry for real-time developer notifications; unset refuses them.
--spec.google-play.notification-service-accountstringThe service account Pub/Sub pushes as.
--spec.allow-sandboxboolAccept purchases the store marks as sandbox or license-test. Off in production: a sandbox purchase is then refused.
--spec.require-account-tokenboolRefuse a purchase that does not carry the subject's account token (App Store appAccountToken, Play obfuscatedAccountId).
--allow-missingboolCreate the store connection when it does not exist (declarative upsert).
--dry-runboolValidate and print the result without writing (validate_only).

#delete

Deletes a store connection and its sealed credential.

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

CLI

Shell
sylphx money store-connections delete orgs/acme/projects/shop/envs/production/store_connections/store-connection --yes

DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/store_connections/store-connection · scope billing:write · effect destructive · Request, response and examples

Flags

FlagTypeWhat it does
--etagstringThe ETag the caller read; the delete fails if it changed.
--yesboolDo not ask before this destructive call.