Improving our environment variables editor

Environment variable
The environment variables editor was proposed with a Simple or Expert mode. We have added a third, using JSON format. You can read/write in it.

Over the last few months, we have started a major but gradual redesign of our web interface, the Console. Under the leadership of Hubert Sablonnière, whose team is welcoming new developers, the modules are refined and managed in an increasing way through Web Components (see this talk).

An editor accepting JSON format

The last change released is related to the environment variables management. Until now it was proposed with a Simple or Expert mode. We have added a third, using JSON format. You can read/write in it, and so export or paste a complete configuration:

Clever Cloud Console Environment Variables Simple USClever Cloud Console Environment Variables JSON US
The Simple editor (left) and the new JSON one (right)

The first one displays environment variables as name/value fields, you can add or remove them depending on your needs. The other two uses editable fields, but with a text or JSON format, accordingly. When the content is modified, checks are run to inform you if there are any formatting or variable management errors.

These checks are now more strict, with one exception: in some applications, such as those in the Java ecosystem, variables name may contain a dot. In this case, they will be injected as properties and not as environment variables. The rules are detailed here. The reference of our environment variables is documented there.

The Config Provider is now using a Web Component

Please note that the new editor has been designed as a Web Component. It is thus reused to display the environment variables of add-ons and has just replaced the one used for the Config Provider which was a simple multi-lines text editing field. 

As a reminder, this add-on allows you to create a list of environment variables that can be shared by different applications. To use it, you just need to integrate the Config Provider as a service dependency in their settings.

Clever Cloud Console Config Provider USClever Cloud Console Old Config Provider US
The Config Provider with the Web Component editor (left) vs the previous basic editor (right)

Blog

À lire également

Create your own MCP client/server: as easy as 1-2-3 with Otoroshi

While Otoroshi with LLM already allows you to simplify the management of your various AI providers, access to models and integration with your teams, we have added simplified management of MCP clients and servers.
Company

Clever Cloud obtains HDS (Health Data Hosting) certification

Clever Cloud achieves HDS Certification, enabling it to host health data in France. Clever Cloud, Europe's leading provider of Platform as a Service cloud solutions, today announced that it has been awarded the Hébergeur de Données de Santé (HDS) certification, in its updated version effective May 16, 2024, for all 6 activities in the standard. This certification reinforces Clever Cloud's position as a trusted partner for companies and organizations in the healthcare sector.
Press

Clever Tools: a year of enhancements for your deployments, on the road to v4

A command line interface (CLI) is at the core of developer experience. At Clever Cloud, we have been providing Clever Tools for almost 10 years.
Engineering Features