Suggest an edit

How to create a functions namespace

Reviewed on 08 January 2024Published on 26 May 2021

This page shows you how to create a functions namespace using the Scaleway console.

Namespaces allow you to group your functions and share environment variables, secrets and tokens between them.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  1. Click Functions in the Serverless section of the side menu. The functions page displays.

  2. Click + Create namespace. If you have no existing Serverless Functions resources in your current Project, click Create a function. The functions namespace creation wizard displays.

  3. Complete the following steps in the wizard:

    • Enter a name or use the automatically generated one. The name can only contain lowercase alphanumeric characters and dashes.
    • Enter an optional description.
    • Choose a region, which is the geographical location in which your namespace will be deployed.
    • Define any environment variables you want to inject into your function. For each environment variable, click + Add variable and enter the key/value pair.
    • Set optional secret environment variables. Secrets are environment variables which are injected into your function and stored securely, but not displayed in the console after initial validation. Add a key and a value.
  4. Click Create namespace only to finish, or click Create namespace and add a function if you want to create a function next.

See also
How to manage a Functions namespace
Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway