Skip to content

Resource Naming Conventions

FlexAI resources (Training Jobs, Datasets, Code Registries, Secrets, Inference Endpoints, Storage Providers and Checkpoints) have specific naming conventions that must be followed.

These conventions ensure that resource names are unique, consistent, and easy to understand.

Resource names:

  • Each name must be unique within its namespace — attempting to create a resource with the same name as an existing one will return an error.
  • Must start and end with a letter or a number.
  • Resource names can use letters (a-z, A-Z), numbers (0-9), hyphens (-), and underscores (_).
  • Must be between 3 and 63 characters long.

The key in a key=value pair used to describe a Secret or Environment Variable must follow the conventions below:

  • Each key must be unique within a command execution: — attempting to use the same key multiple times will return an error.
  • The first character must be a letter (a-z or A-Z), a hyphen (-), an underscore (_), or a period (.).
  • The rest of the key can include letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), or periods (.), and it can also end with any of these characters.
  • Must be at least 1 character long.