Personlige Adgangstegn

Personal access tokens are the alternative passwords you can use to authorize third-party applications and scripts into Crowdin Enterprise.

Behandl personlige adgangstokens som adgangskoder og hold dem hemmelige. Brug tokens som miljøvariabler i stedet for at indkode dem ind i scripts.

Brugsstudier

A personal access token is required for authorization in Crowdin Enterprise in the following situations:

  • To use Crowdin CLI for managing and synchronizing localization resources in Crowdin Enterprise.
  • Til automatisering af lokaliseringsarbejdsgange via Enterprise API.
  • For brug af Android Studio-plugin for pull af kildeindhold gemt i strings.xml eller andre angivne .xml filer fra et Android-projekt.

Oprettelse af et Personligt Adgangstoken

When creating a new personal access token, you can select specific scopes and, if needed, limit the visibility of resources for the selected scopes using the Granular access option. For example, you can create a token that should interact only with a specific project or group and have no access to others. As a result, only the selected items will be gained when retrieving a list of all projects or groups.

If a resource wasn’t selected during the personal access token creation, but you still try to access it with its ID, the 404 Not Found response will be received.

You can create as many personal access tokens as you need from your Crowdin Enterprise account.

To create a new personal access token, follow these steps:

  1. Open your Account Settings and go to the Access tokens tab.
  2. Click New Token.
    Nyt token
  3. Specify the token name to be able to identify it later.
  4. Select the necessary set of scopes.
  5. (Optional) To limit access to specific resources, select Granular access.
    Note: If Granular access is selected, ensure to select some resources for the selected scopes.
  6. Depending on the selected scopes, select Grant access to selected groups, Grant access to selected projects, Grant access to selected TMs, and Grant access to selected Glossaries.
  7. Click Select groups, Select projects, Select glossaries, Select TMs and respectively select the needed resources.
    Granular Access

    Note: When selecting a group, personal access token will automatically gain access to group's projects and resources.
  8. Klik på Opret.

After generating a new token, be sure to record it right away. For security purposes, it will not be shown again.

Tilbagekaldelse af et Personligt Adgangstoken

You might need to revoke a personal access token if you no longer use it or suspect it has been compromised.

To revoke a personal access token, follow these steps:

  1. Open your Account Settings and go to the Access tokens tab.
  2. Find the necessary token in the list and click Revoke next to it to delete a personal access token and remove its access.
    Revoke Token

Var denne artikel nyttig?