Query local keys and limits¶
Inspect the current user’s existing TaaS local keys, call limits, and credit allowances, and check whether the environment permits local key issuance. This task does not manage personal access tokens or service account keys.
Prerequisites¶
Prepare a personal access token. For authentication and query scope, see Usage and monitoring.
Call sequence¶
Query local keys, locate an existing key by name, and inspect its status, call limits, and credit allowances. Retrieve subsequent pages if you need the complete list.
To check whether the environment permits local key issuance, query the issuance capability. This independent query is not a prerequisite for reading existing keys.
API operations¶
Task |
API operation |
When to use it or what to confirm |
|---|---|---|
Inspect existing local keys |
Check the current user’s key status, limits, and credit allowances. |
|
Inspect the issuance setting |
Determine whether the environment permits TaaS local key issuance. |
Confirm the result¶
Use List local token keys to confirm the target key’s name, status, and limits. An empty list only means the query returned no local keys; it does not establish that the user has no personal access tokens or service account keys.
Limitations and notes¶
The local key list does not return plaintext secrets.
The issuance setting applies only to TaaS local keys, not permission to issue personal access tokens or service account keys.
This task covers queries only, not key creation, updates, or rotation.