pydo.functions_access_key.create()
Generated on 7 May 2026
from pydo version
v0.34.0
Description
Creates a new access key for a serverless functions namespace. The access key can be used to authenticate requests to the namespace’s functions. The secret key is only returned once upon creation.
To create an access key, send a POST request to /v2/functions/namespaces/{namespace_id}/keys.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
namespace_id |
string | True | The ID of the namespace to be managed. | |
body |
JSON or IO[bytes] | True |
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.