Managing Workspaces

Workspaces in FaasPlus serve as centralized containers for your endpoints and functions, making it easier to manage related resources and control access. Each workspace includes essential configuration options for team management, authentication, and reusable variables, enhancing both organization and security. Here’s an overview of the core features you can configure within each workspace.

Team Management

Each workspace can be assigned a team responsible for managing its functions and endpoints. By designating a team, you ensure that only authorized users can view, create, or modify functions within that workspace. This helps maintain security and consistency, especially in collaborative environments.

Authentication Methods

FaasPlus offers flexible authentication methods for securing access to your workspace endpoints. Based on your project requirements, you can select one of the following authentication methods:

  • NONE: No authentication required, allowing open access to endpoints. Use this option for public endpoints or during testing.
  • IP BASED: Restricts access to specific IP addresses or IP ranges. Ideal for internal services or endpoints that need to be accessed only from certain networks.
  • BASIC: Requires basic authentication with a username and password. This method provides an additional layer of security with minimal setup.
  • API_KEY: Requires a unique API key for access. This is a secure option for production environments, allowing you to control access at the application level.

Select the authentication method that best aligns with your security requirements. Each method provides a unique level of control to ensure only authorized requests can access your endpoints.

Workspace Variables

Workspaces support configurable variables that you can use throughout your endpoints. These variables enable you to manage frequently used values, such as remote host names or static settings, centrally within the workspace. Some common use cases for workspace variables include:

  • Remote Host Names: Store host URLs or IPs that your endpoints frequently connect to, simplifying endpoint configurations.
  • Static Values: Use variables for static values, such as default timeouts or region codes, to ensure consistency across functions.
  • Dynamic Data: Assign values that might change between environments (e.g., API keys or base URLs), making it easier to adapt endpoints to different environments without code changes.

Define these variables in your workspace settings, and reference them in your endpoints to simplify configuration management and improve maintainability.

Summary

With team management, configurable authentication methods, and workspace variables, FaasPlus provides a comprehensive and flexible setup for managing your workspaces. These settings allow you to secure access, streamline endpoint configurations, and ensure consistency across functions. Dive into the specific configurations to customize each workspace according to your project needs.