access
Try Upsun for 15 days
After that, enjoy the same game-changing Upsun features for less with the First Project Incentive!¹ A monthly $19 perk!
¹Terms and conditions apply
An access dictionary that defines the access control for roles accessing app environments.
Optional in single-runtime and composable images.
The access dictionary has one allowed key:
| Name | Allowed values | Default | Description |
|---|---|---|---|
ssh |
admin, contributor, or viewer |
contributor |
Defines the minimum role required to access app environments via SSH. |
In the following example, only users with admin permissions for the
given environment type
can access the deployed environment via SSH:
.upsun/config.yaml
applications:
APP_NAME:
type: "python:3.13"
source:
root: "/"
access:
ssh: admin
.upsun/config.yaml
applications:
APP_NAME:
type: "composable:25.05"
stack:
runtimes: [ "python@3.13" ]
source:
root: "/"
access:
ssh: admin