As the sole owner of your API tokens, it is your responsibility to securely store, backup and manage them.
To view and manage your API tokens, click your user name, then select My Account > API Tokens.
To prevent unauthorized access to your Organization’s resources, it is strongly recommended that you keep the API tokens you generate in a secure and protected location. Tanzu Platform cloud services does not check for proof of possession, but captures token usage audit events when:
NoteTo view the audit event logs in Tanzu Platform cloud services, you must have an Organization Owner role.
The following table summarizes the most common API token self-service management tasks:
|If you want to…|Do this…| |Extend the validity of an API token that has expired.|You must regenerate your token.| |Regenerate a valid API token.|You can regenerate a token at any time. If you**** regenerate a token, you revoke all instances of the previous token. If you have used the token, for example in one of your scripts, remember to replace it with the newly generated token.| |Replace a compromised API token.|If you feel the token has been compromised, you can revoke the token to prevent unauthorized access. You generate a new token to renew authorization.| |Destroy an API token that is still valid.|You destroy a valid API token by revoking it.| |Recover a lost API token.|Lost tokens cannot be recovered. You must revoke the lost token and generate a new one.| |Reactivate an API token deactivated by an Organization Owner|If a deactivated token is still valid, you must contact the Organization Owner and ask for its reactivation.|
Parent topic:How do I generate API tokens