ghaym cloud access

Who can reach a web service, per environment.

Every command here also takes the global flags, returns the exit codes, and prints the JSON envelope with --json.

ghaym cloud access get

Show every environment's access, by id, slug or name.

Usage
ghaym cloud access get <service>
ArgumentRequired
<service>Yes

ghaym cloud access set

Stage where a service answers and who may open it.

Usage
ghaym cloud access set <service> [flags]
ArgumentRequired
<service>Yes
FlagWhat it does
--reach <reach>public, custom-domain or private
--members-onlyonly signed-in members of the workspace may open it
--no-members-onlyanyone who reaches it may open it
--env <env>environment name or id; production when omitted
--applypublish now instead of leaving the change staged

ghaym cloud access ips list

Show the IP list and what is staged on it.

Usage
ghaym cloud access ips list <service> [flags]
ArgumentRequired
<service>Yes
FlagWhat it does
--env <env>environment name or id; production when omitted

ghaym cloud access ips add

Stage adding addresses or CIDR ranges; the whole list is staged, so an edit staged at the same time is replaced.

Usage
ghaym cloud access ips add <service> <addresses...> [flags]
ArgumentRequired
<service>Yes
<addresses...>Yes, one or more
FlagWhat it does
--env <env>environment name or id; production when omitted
--applypublish now instead of leaving the change staged

ghaym cloud access ips remove

Stage removing addresses from the IP list.

Usage
ghaym cloud access ips remove <service> <addresses...> [flags]
ArgumentRequired
<service>Yes
<addresses...>Yes, one or more
FlagWhat it does
--env <env>environment name or id; production when omitted
--applypublish now instead of leaving the change staged

ghaym cloud access ips clear

Stage an empty IP list, so any address can open it.

Usage
ghaym cloud access ips clear <service> [flags]
ArgumentRequired
<service>Yes
FlagWhat it does
--yesclear without asking
--env <env>environment name or id; production when omitted
--applypublish now instead of leaving the change staged