PHPackages                             wlfpanda1012/ctyun-sts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wlfpanda1012/ctyun-sts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wlfpanda1012/ctyun-sts
======================

天翼云STS辅助包

v1.0.3(1y ago)045MITPHPPHP &gt;=8.1

Since Oct 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ShaBaoFa/ctyun-sts)[ Packagist](https://packagist.org/packages/wlfpanda1012/ctyun-sts)[ RSS](/packages/wlfpanda1012-ctyun-sts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (0)

[ctyun-sts](https://github.com/wlfpanda1012/ctyun-sts)
======================================================

[](#ctyun-sts)

```
composer wlfpanda1012/ctyun-sts -oW

```

- 注意： 当前 天翼云 **OOS** 暂时无法使用 `policy` 去细分权限。 24年9月底左右和天翼云的技术人员进行了对接。当前 `policy` 确实没有生效。 目前是直接给予完成的 角色 （`RAM`） 权限。
- 解决方案: 2024年10月10日,接到 天翼云相关工作人员的电话,在使用 `StsToken` 去获取资源时，如果希望 `Policy` 生效，需要将 **`OOS`** 的 `endpoint` 设置为 `oos-hazz.ctyunapi.cn` 目前只有郑州区域的 `OOS` 服务支持解析 `Policy`，其他地区皆不支持。。

OOS
---

[](#oos)

OOS 为用户提供临时授权访问。此操作用来获取临时访问密钥。子用户默认拥有调用此接口 的权限。如果配置了禁止子用户调用该接口的 IAM 策略，该策略不会生效。 **STS（Security Token Service）** 是为云计算用户提供临时访问令牌的 `Web` 服务。通过 `STS`，可 以为第三方应用或用户颁发一个自定义时效的访问凭证。第三方应用或用户可以使用该访问 凭证直接调用 `OOS API`，或者使用 `OOS` 提供的 `SDK` 来访问 `OOS API`。 使用临时授权访问 `OOS API` 时，用户需要将安全令牌（**SessionToken**）携带在请求 `header` 中 或者预签名 `URL` 中。携带在请求 `header` 中，`V4` 和 `V2` 签名的 `X-Amz-Security-Token` 请求头 不区分大小写。携带在预签名 `URL` 中，`V4` 签名的标头为“`X-Amz-Security-Token`”，`V2` 签名 的标头为“`x-amz-security-token`”。 注意：使用临时访问令牌（`AccessKeyId`、`SecretAccessKey`、`SessionToken`）的用户不能调用 该接口。使用临时访问令牌调用其他接口时，权限同生成该临时访问令牌的用户。为了安全 起见，不建议根用户调用该接口。

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

579d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9a105199bd4bf8ee119c3885862ea0ebc25dc47a4c82e055ce4de812e0fbf2a?d=identicon)[wlfpanda1012](/maintainers/wlfpanda1012)

---

Top Contributors

[![ShaBaoFa](https://avatars.githubusercontent.com/u/8308381?v=4)](https://github.com/ShaBaoFa "ShaBaoFa (8 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wlfpanda1012-ctyun-sts/health.svg)

```
[![Health](https://phpackages.com/badges/wlfpanda1012-ctyun-sts/health.svg)](https://phpackages.com/packages/wlfpanda1012-ctyun-sts)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
