Plugin for Strapi CMS, which allows you to view and copy environment variables with which the backend is running.
- Adds a page where you can view all the environment variables that are available on the system.
- Any variable and its value can be copied by pressing one button.
- Ability to display a page depending on role permissions.
yarn add strapi-plugin-environment-variables@latest
Don't forget to restart or rebuild your Strapi app when installing a new plugin.
// ./config/plugins.ts
export default ({ env }) => ({
'environment-variables': {
enabled: true,
},
});
Finally, don't forget to enable your plugin in your app by adding it to config/plugins.ts
.