Restrict who can open a service

Let only your project's members, or only IP addresses you set, open a service.

Let only members open it

  1. Open the service, press ⌘K and choose Settings › Access › Project members only.

    The service becomes restricted, and the change waits as a staged change.

    With the CLI:

    Terminal
    ghaym cloud access set web --members-only
  2. Press ⌘K, choose Review changes, then press ⌘↵ to apply it.

    With the CLI:

    Terminal
    ghaym cloud changes apply --project shop

A visitor then signs in with Ghaym first, and only the members of your workspace get through.

Let only set addresses open it

  1. Press ⌘K and choose Settings › Access › Opens from set IP addresses only. Type an IP address or CIDR range and press Enter, or choose Add your address.

    The list holds up to 50 addresses.

    With the CLI:

    Terminal
    ghaym cloud access ips add web 203.0.113.7 198.51.100.0/24
  2. Apply the change the same way.

    Any other address can't open the service.

    With the CLI:

    Terminal
    ghaym cloud changes apply --project shop

Open it to everyone again

Press ⌘K and choose Settings › Access › Anyone. For the address list, choose Clear the list on its page. Then apply the change.

Terminal
ghaym cloud access set web --no-members-only
ghaym cloud access ips clear web --yes --apply