惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
雷峰网
雷峰网
S
SegmentFault 最新的问题
博客园 - 【当耐特】
博客园_首页
量子位
爱范儿
爱范儿
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
V
V2EX
美团技术团队
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Changelog — PlanetScale

Replica connections graph — PlanetScale Branch start maintenance webhook now available for Vitess enterprise customers — PlanetScale Deploy request UI updates — PlanetScale PostgreSQL CPU and I/O tracking — PlanetScale Branch start maintenance webhook — PlanetScale Cloudflare Workers integration — PlanetScale PlanetScale for Postgres is now Generally Available — PlanetScale PostgreSQL Schema Recommendations — PlanetScale Postgres maintenance windows — PlanetScale Support for 10 new Postgres extensions — PlanetScale 2025 PCI DSS reporting now available — PlanetScale AWS PrivateLink for Postgres — PlanetScale Google Cloud Provider support for Postgres databases — PlanetScale Insights: percent runtime — PlanetScale New region: AWS ca-central-1 (Montreal) — PlanetScale Postgres event triggers are now supported — PlanetScale New Postgres extension: pg_squeeze — PlanetScale Provisioned IOPS display for Metal clusters — PlanetScale Insights: max query latency graphs — PlanetScale Pinned databases update — PlanetScale New Postgres extensions: pg_cron and pg_partman_bgw — PlanetScale pscale shell now supports Postgres databases — PlanetScale Migration guides for Aurora, Neon, and Supabase — PlanetScale New pscale role commands for CLI — PlanetScale Postgres migration guides and scripts — PlanetScale Postgres role management — PlanetScale Expanded Postgres network-attached storage I/O configuration — PlanetScale 2025 SOC 1 Type 2 & SOC 2 Type 2 reports now available — PlanetScale Prometheus Metrics Additions: vstreamer events and errors — PlanetScale Postgres network-attached storage configuration — PlanetScale
Service token expiration with TTL — PlanetScale
2026-01-15 · via Changelog — PlanetScale

Introducing Database Traffic Control™: resource budgets for your Postgres query traffic.Learn more

You can now set an expiration date for service tokens, giving you more control over token lifecycle and security. When you create a service token with an expiration, the token will automatically stop working once that date is reached.

This feature is available in the dashboard, API, and CLI.

Dashboard

When creating a service token in the PlanetScale dashboard, you can optionally set an expiration date. The token will stop working once the expiration date is reached.

API

When creating a service token via the API, you can now include a ttl parameter (in seconds):

curl --request POST \
     --url 'https://api.planetscale.com/v1/organizations/{organization}/service-tokens' \
     --header 'Authorization: <SERVICE_TOKEN_ID>:<SERVICE_TOKEN>' \
     --header 'Content-Type: application/json' \
     --data '{"name": "My Token", "ttl": 3600}'

The response now includes an expires_at field showing when the token will expire.

CLI

When creating a service token through the pscale CLI, use the --ttl flag to specify the expiration time in seconds:

pscale service-token create --name "My Token" --ttl 3600

The output now displays the expiration time for tokens created with a TTL. You can also see expiration times when listing service tokens with pscale service-token list.

Read more about service tokens