Create and Retrieve Namespace CDK Commands

April 3, 2025
Features

You can now create and retrieve namespaces for your organisation using the following new commands introduced to the tray CDK. You no longer need to contact support desk before deploying your first CDK connector deployment to the platform.

To create a new namespace for your organisation:

$ tray-cdk namespace create ORGID NAMESPACE [--us] [--eu] [--ap]

To retrieve a namespace from your organisation:

$ tray-cdk namespace get ORGID [--us] [--eu] [--ap]

Where ORGID is the unique identifier of your organisation, which can be found in the tray app URL, for example https://app.tray.io/workspaces/ORGID

When creating a namespace we recommend:

  • Associating with your company’s legal entity or brand name

  • Choose a shorter name over a longer one

  • Hyphens are supported, numbers and other symbols are not supported

  • For example enter-company-name