Vercel プライベートブロブが一般提供開始
本文の状態
日本語全文を表示中
詳細モードで約2分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Vercel が、ユーザーアップロード写真や請求書などの機密ファイルを保存し、アクセス権限を厳格に管理できる「プライベートブロブ」機能を全プランで一般提供した。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Vercel Private Blob がすべてのプランで一般提供されました。ユーザーアップロードされた写真、請求書、エージェントのメモリなどの機密ファイルを保存し、誰がそれらを読み取れるかを厳密に制御できます。プライベートストア、署名付き URL、OIDC 認証はすべて今回のリリースでベータ版から卒業します。
Vercel Private Blob は、パブリックブロブと同じ Blob API を使用します。ブロブをアップロードする際にアクセス権限を 'private' に指定してください:
OIDC 認証
Vercel で実行される関数は、プロジェクトにスコープされた短期間で自動ローテーションする OIDC トークンを使用して Vercel Private Blob に認証できるようになりました。環境内に静的な読み書きトークンを保持する必要はありません。
Vercel CLI も OIDC 認証をサポートしているため、長期有効なトークンなしでターミナルからプライベートストアへの読み取りと書き込みが可能になります。まだ静的トークンを使用しているストアがある場合は、OIDC にアップグレードし、ダッシュボードから古い資格情報を失効させることができます。
署名付き URL
単一の操作、パス名、および最大 7 日間の有効期限を指定して URL を発行し、クライアントに手渡すことで、ストアの認証情報を一切公開することなく、単一オブジェクトに対して PUT、GET、HEAD、または DELETE 操作を実行できます。
サーバーをデータパスに含めずに、プライベートオブジェクトへの一時的で限定的なアクセス権を付与したい場合に、署名付き URL は非常に効果的です:
有効期限付きのリンクを使用して、ユーザーが請求書やレポート、エクスポートなどのプライベートファイルをダウンロードできるようにする。
第三者または外部サービスに対して、固定された期間のみオブジェクトを共有する。
エージェントに一度限りの削除アクセス権を与え、特定のオブジェクトをクリーンアップさせる。
ドキュメントで Vercel Private Blob について詳しく学ぶことができます。
さらに読む
原文を表示
Vercel Private Blob is now generally available for all plans. Store sensitive files like user-uploaded photos, invoices, and agent memory, and control exactly who can read them. Private stores, Signed URLs, and OIDC authentication all graduate from beta with this release.
Vercel Private Blob uses the same Blob API as public blobs. Specify access: 'private' when uploading a blob:
OIDC authentication
Functions running on Vercel now authenticate to Vercel Private Blob with a short-lived, auto-rotating OIDC token scoped to the project, with no static read-write token in your environment.
The Vercel CLI also supports OIDC authentication, so you can read from and write to a private store from your terminal without a long-lived token. For stores still using a static token, you can upgrade to OIDC and revoke the old credential from the dashboard.
Signed URLs
Mint a URL scoped to a single operation, pathname, and an expiration date you choose for up to 7 days, then hand it to a client to perform a PUT, GET, HEAD, or DELETE operation on a single object, without ever exposing your store credentials.
Signed URLs work well when you want to grant temporary, narrow access to a private object without putting your server in the data path:
Let a user download a private file, like an invoice, a report, or an export, with a link that expires.
Share an object with a third party or external service for a fixed window.
Hand an agent one-off delete access to clean up a specific object.
Learn more about Vercel Private Blob in the documentation.
Read more
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み