CreateTokenRequest: {
    containerId?: string;
    description?: string;
    expiresAt?: Date;
    namespaceId?: string;
    region?: Region;
}

Type declaration

  • OptionalcontainerId?: string

    UUID of the container to create the token for.

    One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set.

  • Optionaldescription?: string

    Description of the token.

  • OptionalexpiresAt?: Date

    Expiry date of the token.

  • OptionalnamespaceId?: string

    UUID of the namespace to create the token for.

    One-of ('scope'): at most one of 'containerId', 'namespaceId' could be set.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.