NavigationContentFooter
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 on this page, you must have:

Requirements
  • You have an account and are logged into the Scaleway console
  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 Serverless Functions namespace
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS