Skip to main content

Guide: Managing Tokens

This guide describes how to view, create, and delete API authentication tokens in FPT Cloud.


Viewing the Token List

  1. From the left navigation bar, select Token.

    The token list page appears.

    Token List

  2. The table includes the following columns:

ColumnDescription
NameThe identifying name of the token.
StatusThe status: Active (in use) or Expired (past its expiration date).
Created AtWhen the token was created.
Expired atWhen the token expires.

Creating a New Token

  1. On the Token page, click Create.

    The token creation dialog appears.

    Create Token Form

  2. Fill in the fields:

FieldRequiredDescription
NameYesAn identifying name that makes clear what this token is used for (e.g., terraform-prod, ansible-deploy).
ExpirationYesThe token's expiration date and time. Select from the available options.
  1. Click Confirm to create the token.

Important: The full token value is displayed only once, immediately after creation. Copy and save it right away — you will not be able to view this value again after closing the dialog. If you lose the token, you will need to create a new one.


Using a Token

Once you have the token, include it in the HTTP header when calling the FPT Cloud API:

Authorization: Bearer <token_value>

Or configure it in the settings file for the relevant tool (Terraform provider, Ansible inventory, etc.).


Deleting a Token

  1. In the Token list, locate the token to delete.
  2. Click the delete icon or select Delete from the action menu.
  3. Confirm the action in the confirmation dialog.

Warning: Deleting a token immediately revokes API access for all tools using that token. Make sure to update the configuration of any affected tools before or immediately after deleting.