How to create a functions namespace
Published on 26 May 2021
This page shows you how to create your first functions namespace.
Namespaces allow you to group your functions and share environment variables, secrets and tokens between them.
Security & Identity (IAM):
You may need certain IAM permissions to carry out some actions described on this page. This means:
- you are the Owner of the Scaleway Organization in which the actions will be carried out, or
- you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:
- You have an account and are logged into the Scaleway console
- Click Functions in the Serverless section of the side menu. The functions page displays.
- Click Create a namespace. The functions namespace creation wizard displays.
- Complete namespace informations:
- Name of your namepace. The first character of your namespace must be a letter. It can only contain letters, numbers, and dashes. No other special characters are permitted. The namespace is case-sensitive and cannot be edited after its creation.
- Description (optional)
- Region is the geographical location in which your namespace will be deployed.
- Environment variables (optional) are key/value pairs that will be available in your functions as environment variables.
- Secrets (optional) are environment variables which are injected into your function and stored securely, but not displayed in the console after initial validation.
- Click Create a namespace to finish.
Your namespace is now created and you will be redirected to Functions tab.
See Also