prefect.cli.cloud.ip_allowlist
add(ctx, ip_address_or_range, description=typer.Option(None, '--description', '-d', help='A short description to annotate the entry with.'))
async
Add a new IP entry to your account IP allowlist.
Source code in src/prefect/cli/cloud/ip_allowlist.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
|
disable()
async
Disable the IP allowlist for your account. When disabled, all IP addresses will be allowed to access your Prefect Cloud account.
Source code in src/prefect/cli/cloud/ip_allowlist.py
78 79 80 81 82 83 84 |
|
enable(ctx)
async
Enable the IP allowlist for your account. When enabled, if the allowlist is non-empty, then access to your Prefect Cloud account will be restricted to only those IP addresses on the allowlist.
Source code in src/prefect/cli/cloud/ip_allowlist.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
ls(ctx)
async
Fetch and list all IP allowlist entries in your account.
Source code in src/prefect/cli/cloud/ip_allowlist.py
87 88 89 90 91 92 93 94 95 |
|
remove(ctx, ip_address_or_range)
async
Remove an IP entry from your account IP allowlist.
Source code in src/prefect/cli/cloud/ip_allowlist.py
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
|
require_access_to_ip_allowlisting(ctx)
Enforce access to IP allowlisting for all subcommands.
Source code in src/prefect/cli/cloud/ip_allowlist.py
26 27 28 29 |
|
toggle(ctx, ip_address_or_range)
async
Toggle the enabled status of an individual IP entry in your account IP allowlist.
Source code in src/prefect/cli/cloud/ip_allowlist.py
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
|