--- title: "Managing organization tokens" slug: "managing-organization-tokens" updated: 2026-12-01T11:56:06Z published: 2026-12-01T11:56:06Z canonical: "docs.skillable.com/managing-organization-tokens" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.skillable.com/llms.txt > Use this file to discover all available pages before exploring further. # Managing organization tokens An organization token is a named value you store on an organization in Skillable Studio and reuse in that organization's labs. You reference it in a lab as `@lab.LabOrganization.TokenName`. Tokens can be standard, for everyday values like URLs and account names, or secure, for credentials and keys. A **secure token**'s value is write-only: it can't be viewed after you save it, and it can only be used in Life Cycle Actions and automated activities. A secure token can't later be changed to standard. You create, edit and delete tokens in the **Tokens** section of the Organization page, and child organizations inherit them. --- ## Why it matters Without organization tokens, a shared value has to be copied into a variable on every lab profile that needs it, in plain text. When the value changes, someone has to find and edit every copy. With an organization token you set the value once, every lab in the organization hierarchy uses it and a credential never has to sit in plain text in a lab. --- ## Who can manage organization tokens What you can do depends on the organization token permissions in your role. Standard and secure tokens have separate permissions, and each applies in the organizations you manage. | To… | Standard token | Secure token | | --- | --- | --- | | See the **Tokens** section | **Tokens - viewing** | **Secure tokens - viewing** | | Add a token, or override an inherited one | **Tokens - creating** | **Secure tokens - creating** | | Edit a token or an override | **Tokens - editing** | **Secure tokens - editing** | | Delete a token, or clear an override | **Tokens - deleting** | **Secure tokens - deleting** | If you only have standard permissions, you don't see secure tokens at all. To view and manage secure tokens, you need the **Organization Secure Token Management** role on your account. Skillable can add it for you, or your organization's administrator can if they manage roles for your organization. For more about roles, see [Skillable Studio User Roles](https://docs.skillable.com/docs/studio-user-roles). No permission or role ever shows a secure token's value. --- ## Getting started 1. Open the organization's page in Skillable Studio, in either of these ways: - Go to **Studio Admin**, select the **Organization** tile, then select **Find Organization** and search for the organization. - Select the organization's link on an item that belongs to it, such as a lab profile or lab series. 2. Find the **Tokens** section. Its heading shows how many tokens the organization has, for example **Tokens (3)**. If there are none yet, the section starts collapsed. 3. Select **Add Token**. The **Add organization token** dialog opens. 4. Enter a **Token name**. The reference you'll use in labs, `@lab.LabOrganization.{Name}`, updates under the field as you type. 5. Enter a **Value** and, optionally, a **Description**. The description is what Lab Developers see when they pick the token in an editor, so make it clear what the value is for. 6. To store a credential, select **Secure**. 7. Select **Create token**. The token appears in the **Tokens** section and is ready to use in labs at their next launch. Each token in the section shows: | Field | What it shows | | --- | --- | | **Token** | The reference to use in labs, for example `@lab.LabOrganization.ApiEndpoint` | | **Value** | The value for a standard token, or a mask for a secure token | | **Description** | What the token is for, or **None** | | **Source** | **This organization** for tokens it owns, or the organization it's inherited from | ![Add organization token dialog with a token name, its @lab.LabOrganization reference shown underneath, a description, a value and Secure unchecked. Callouts mark 1, Token name and its reference; 2, the Secure checkbox and its info icon; 3, the Create token button.](https://cdn.document360.io/a298db04-a0fe-47e0-bfe3-c52d6f9d7c8c/Images/Documentation/ot-add-token-dialog-callouts.png?sv=2026-02-06&spr=https&st=2026-12-01T16%3A06%3A23Z&se=2026-12-01T17%3A06%3A23Z&sr=b&sp=r&sig=4cCVo3FODDnCZnGwdwlEg6FsFcDIZnZHBvjYGBBs5jo%3D) 1. **Token name**, with the reference you'll paste into your labs underneath. 2. **Secure** makes the value write-only. Hover over the info icon for a reminder. 3. **Create token** saves the token. It's available once **Token name** and **Value** are filled in. --- ## Name a token Choose names carefully, because a name can't be changed after the token is created. - A name can contain only letters, numbers, underscores (`_`) and hyphens (`-`), up to 256 characters. - A name must be unique within the organization's hierarchy. It can't match a token the organization already has, a token it inherits from a parent, or a token owned by any child organization. Matching ignores case. - If a name clashes, Studio tells you. The message names the other organization only if you have access to view it. --- ## Work with secure tokens Use a secure token for anything a learner must never see, such as an API key, a service account password or a connection string. - **Write-only.** You can set or replace a secure value, but no one can read it back, whatever their permissions. - **Masked.** The **Tokens** section shows a fixed-length mask so the value's length can't be guessed: | Value length | What you see | | --- | --- | | 11 characters or fewer | 10 dots | | 12 characters or more | 6 dots and the last 4 characters, for example `••••••3f9a` | The last 4 characters appear only for users with **Secure tokens - viewing**. - **Scripts only.** A secure token resolves only in Life Cycle Action and automated activity scripts. See [Using organization tokens in labs](https://docs.skillable.com/docs/en/using-organization-tokens-in-labs). - **One-way.** You can make a standard token secure, but you can't make a secure token standard. To do that, delete it and create a new standard token. The **Secure** checkbox appears only if you have **Secure tokens - creating** or **Secure tokens - editing**. Hover over the info icon beside it for a reminder of how secure tokens behave. When you select **Secure**, the **Value** field hides what you type. --- ## Edit a token 1. In the **Tokens** section, select the edit (pencil) icon on the token. 2. In the **Edit organization token** dialog, change the **Value**, the **Description** or both. **Token name** is read-only. 3. To make a standard token secure, select **Secure**. You need **Secure tokens - editing** to do this. 4. Select **Save changes**. The button is available only once you've changed something. When you edit a secure token, the **Value** field starts empty with the placeholder **Enter a new value**, because the current value is never shown. You must enter a value to save. Closing the dialog without saving discards your changes. --- ## Delete a token 1. In the **Tokens** section, select the delete (trash) icon on the token. 2. In the **Delete this token?** dialog, select **Delete**. Deleting a token also removes every override of it in child organizations. Deleting a token doesn't remove it from the labs that use it. Any `@lab.LabOrganization.{Name}` reference left in instructions, Life Cycle Action scripts or automated activities stops resolving to a value. Remove those references from each lab yourself. Check which labs use a token before you delete it. --- ## Inherited tokens and overrides Child organizations inherit every token from their parent and from each organization above it. A child organization's **Tokens** section lists inherited tokens alongside its own. An inherited token shows an **Inherited from {Parent organization} · read-only** label, and its **Source** links to the organization that owns it if you can view that organization. You can't edit or delete an inherited token from the child organization, but you can override its value. ![Tokens section of a child organization with three tokens: one it owns, a secure token labeled Overridden with edit and delete icons, and a token labeled Inherited from its parent, read-only, with an Override button. Callouts mark 1, the Inherited label; 2, the Override button; 3, the Overridden label; 4, the override's edit and delete icons.](https://cdn.document360.io/a298db04-a0fe-47e0-bfe3-c52d6f9d7c8c/Images/Documentation/ot-inherited-and-override-callouts.png?sv=2026-02-06&spr=https&st=2026-12-01T16%3A06%3A23Z&se=2026-12-01T17%3A06%3A23Z&sr=b&sp=r&sig=IH51%2BQ2i3L5ErIWapqcsOryc49qgP8jg%2FT1fhOc7Tw0%3D) 1. **Inherited from {Parent organization} · read-only** marks a token this organization inherits and hasn't overridden. 2. **Override** gives this organization its own value for the inherited token. 3. **Overridden** marks an inherited token this organization has its own value for. **Source** still links to the organization that owns the token. 4. Edit or clear the override. The parent's token is never changed. ### Override an inherited token 1. On the inherited token, select **Override**. 2. In the **Override organization token** dialog, enter the new **Value**. **Token name** and **Secure** come from the inherited token and can't be changed. 3. Select **Save override**. The token now shows an **Overridden** label and your organization's value. Labs in your organization, and in its own child organizations, use the override. The parent's token never changes. If the inherited token is secure, the override is secure too. The **Value** field starts empty and the parent's value is never shown or copied. Each organization can have one override per inherited token. To change it, edit or clear the existing override. ### Edit an override 1. On the overridden token, select the edit (pencil) icon. 2. In the **Edit organization token** dialog, enter the new **Value**. Only the value can change. 3. Select **Save changes**. For an override of a secure token, leaving **Value** empty keeps the current value. ### Clear an override 1. On the overridden token, select the delete (trash) icon. 2. In the **Clear this override?** dialog, select **Clear override**. The token returns to the inherited state. Labs use the value from the nearest organization above yours that has an override, or the owning organization's value if none does. --- ## Change an organization's parent When you move an organization to a different parent on the Organization Edit page, its tokens follow these rules: - **Tokens it owns stay with it.** Tokens owned by the organization and its child organizations move with them, along with any overrides of those tokens. - **Tokens from the old parent are lost.** Inherited tokens from the old parent stop resolving, and any overrides of them in the moved organizations are deleted. - **Tokens from the new parent are gained.** Labs in the moved organizations start using the new parent's tokens at their next launch. - **A name clash blocks the move.** If a token owned in the moved organizations has the same name as a token in the new parent's hierarchy, you can't make the move. Removing an organization's parent follows the same rules, with no new tokens gained. ### Preview the impact before you save 1. On the Organization Edit page, choose the new parent and select **OK**, or remove the current parent. 2. If the change affects any tokens, a dialog opens before the parent field changes. Review what it lists (see the table below). 3. Select **Continue** to go ahead, or **Cancel** to keep the current parent. 4. Select **Save** and add the required note to apply the change. The dialog you see depends on the change: | Dialog title | When it appears | What it lists | | --- | --- | --- | | **Move {Organization} under {New parent}?** | You chose a new parent | **Tokens that will be lost** and **Tokens gained from {New parent}** | | **Remove {Parent} as parent?** | You removed the parent | **Tokens that will be lost** | | **{Organization} can't be moved under {New parent}** | A token name clashes with the new parent's hierarchy | **Name clashes**, with each token, its type and the organization that owns it. **Continue** is unavailable. | For each token that will be lost, **What happens** shows **Stops resolving.** If your organization overrides that token, it also shows **Override is deleted in {Organization}.** The change applies to the organization and all of its sub-organizations. If it affects no tokens, no dialog opens. Nothing changes until you save, and Studio checks the rules again when you do. Token values never appear in the dialog. If the move is blocked by a name clash, delete the clashing token, or recreate it under a different name, then try again. ![Remove as parent dialog with a warning that labs referencing a lost token will no longer resolve it, and a table of tokens that will be lost: a secure token whose override is deleted, and a standard token that stops resolving. Callouts mark 1, the warning; 2, the lost tokens table; 3, the Cancel and Continue buttons.](https://cdn.document360.io/a298db04-a0fe-47e0-bfe3-c52d6f9d7c8c/Images/Documentation/ot-parent-change-dialog-callouts.png?sv=2026-02-06&spr=https&st=2026-12-01T16%3A06%3A23Z&se=2026-12-01T17%3A06%3A23Z&sr=b&sp=r&sig=mMjeqVDBr31X4RTqqKz7TD1RWrQGrMWES%2FM83HGQpJ8%3D) 1. The warning that labs referencing a lost token will no longer resolve it. 2. **Tokens that will be lost**, with each token's type and what happens to it, including any override that is deleted. 3. **Cancel** keeps the current parent. **Continue** updates the parent field, and nothing changes until you save. --- ## Common scenarios ### Rotating a shared API key Your labs call a partner API with a key stored as the secure token `PartnerApiKey`. When the partner rotates the key, edit the token, enter the new value and save. Every lab in the organization, and in its child organizations, uses the new key at its next launch. No lab profile needs editing. ### Giving a regional team its own environment URL Your parent organization defines `PortalUrl` for every lab. A regional child organization uses a different environment. A user with **Tokens - creating (by organization)** on the child organization overrides `PortalUrl` with the regional URL. The region's labs use the override, and every other organization keeps the parent's value. --- ## Tips and best practices - Write a description for every token. It's the only thing Lab Developers see when they pick a token, so say what the value is and where it's used. - Use secure tokens for anything you'd be uncomfortable seeing on a learner's screen. - Define widely shared values on the highest organization that needs them, and override only where a child organization needs something different. - Before you delete a token or move an organization, check which labs reference the affected tokens. --- ## If something doesn't work **I don't see the Tokens section** You need **Tokens - viewing** or **Secure tokens - viewing** for the organization. Ask your organization admin to add a token permission to your role. **I don't see the Add Token button, or the edit or delete icons** Each action has its own permission. Adding needs **Tokens - creating**, editing needs **Tokens - editing** and deleting needs **Tokens - deleting**, or the **Secure tokens** version for a secure token. **I can't see a secure token that I know exists** Standard permissions never show secure tokens. You need **Secure tokens - viewing**. **There's no Secure checkbox in the dialog** The checkbox appears only if you have **Secure tokens - creating** or **Secure tokens - editing**. **Studio says the token was changed by someone else** Someone else saved a change to the same token after you opened the dialog. Reload the page to see the latest version, then make your change again. **I can't edit or delete a token on a child organization** The token is inherited from a parent organization. Override it on the child organization, or edit it on the organization that owns it. **Studio says the token name is already in use** The name matches a token in this organization, a parent or a child organization, even if you can't see that organization. Choose a different name. **Studio says the token name is invalid** Names can contain only letters, numbers, underscores and hyphens. Remove any spaces, dots or other characters. **I can't move an organization to a new parent** A token owned in the organization, or one of its child organizations, has the same name as a token in the new parent's hierarchy. The dialog lists each clash. Delete the clashing token, or recreate it under a different name, then try again. **Studio says the organization can't be moved because of token overrides** The move deletes overrides of the old parent's tokens. That needs **Tokens - deleting**, or **Secure tokens - deleting** for a secure token, on every organization that holds one of those overrides. Ask an admin with those permissions to make the move. --- ## Limitations - You can't rename a token. Delete it and create a new one, then update any labs that reference it. - You can't change a secure token back to standard. - You can't view a secure token's value after it's saved. - Each organization can have only one override per inherited token. - Tokens can only be defined on organizations, not on lab series or individual lab profiles.