Create target aliases
An alias is a globally unique, DNS-like string that is associated with a destination resource. You can establish a session to a target by referencing its alias, instead of having to provide a target ID or target name and scope ID. You can create aliases in the global or project scopes.
Aliases created in project scopes require suffixes. You must create suffixes for both the project scope and its containing org scope. Once you create them, you append the org and project suffixes to any aliases you create in the project scope using the following format:
alias.projectsuffix.orgsuffix
You can associate a target alias with a target when you create the alias, or you can associate it with a target at a later time.
You can also create an alias and associate it with a target when you create a new target. For more information about creating targets and to view the available target types, refer to Overview of targets.
Create a target alias
Complete the following steps to create a target alias:
Select whether you want to create an alias in the global scope or a project scope:
Log in to Boundary.
Select Aliases in the navigation pane.
Click New Alias.
On the New alias page, complete the following fields:
Name: (Optional) Enter an optional name for the alias to use for identification purposes.
Description: (Optional) Enter an optional description for the alias to use for identification purposes.
Alias Value: Enter the string that you want to use as the alias to represent the target. An alias's value can be a hostname or a DNS-like string.
Target ID: (Optional) Specify the target you want to associate with the alias. You can associate the target alias with a target now or you can associate it with a target at a later time.
Refer to Edit an alias to update the Target ID after the alias is created.
Host ID: (Optional) Enter an optional host ID, if you would like to specify that the alias always uses the same host when you use it to connect to a target.
Click Save.
Next steps
Once you have created a target alias, you can configure transparent sessions.
More information
- For more information about aliases, refer to Overview of aliases.
- To associate a target with an alias, or to update name, description, or host ID information, refer to Manage target aliases.
- To change the name of a suffix or to delete it, refer to Manage alias suffixes.
- For more information about creating targets and the available target types, refer to Overview of targets.