PipelinesのSink認証情報を更新可能に
原題: Pipelines Sink credentials can now be updated
changelog / Other / Basin Pipelines, Basin / 2026/11/25 09:00 JST
Cloudflareのデータ連携サービスBasin Pipelinesで、Sink(出力先)の認証情報を後から差し替えられるようになった。これまではトークンの期限切れや失効があるとSinkを作り直す必要があったが、ダッシュボードまたはAPIから新しい認証情報を設定でき、失敗したパイプラインは更新とともに自動で再開する。更新にはBasin Pipelines Edit権限のAPIトークンが必要で、Sinkの更新後にそのSinkを使う各パイプラインの更新も行う。運用中のデータ連携が認証情報の失効で止まっても、構成を作り直さずに復旧できるようになった。
出典サイトで原文を開く → 出典サイトの説明: Replace a sink
You can now replace the credentials of a Basin Pipelines sink . Previously, an expired or revoked token meant deleting and recreating the sink. Pipelines keep the sink’s earlier credentials until you update them. Updating a failed pipeline automatically restarts it. Dashboard Update credentials — On a sink’s page, in Destination . Create a new API token, or enter the credentials of a token you created. Update pipeline — On a pipeline’s page, when a stream or sink it uses has changed. Go to Sinks ↗ API Both requests need an API token with Basin Pipelines Edit permission. First, update the sink. The following is an example of updating credentials of an R2 sink. curl “https://api.cloudflare.com/client/v4/accounts/ $ACCOUNT_ID /pipelines/v1/sinks/ $SINK_ID ” \ —request PATCH \ —header “Authorization: Bearer $CLOUDFLARE_API_TOKEN ” \ —json ’{ “config”: { “credentials”: { “access_key_id”: “<ACCESS_KEY_ID>”, “secret_access_key”: “<SECRET_ACCESS_KEY>” } } }’ Then update each pipeline that uses it: curl “https://api.cloudflare.com/client/v4/accounts/ $ACCOUNT_ID /pipelines/v1/pipelines/ $PIPELINE_ID /update_tables” \ —request POST \ —header “Authorization: Bearer $CLOUDFLARE_API_TOKEN
出典: 公式ページ