context
dsh context commands are used to manage the Data Safe Haven contexts, which are the grouping within which a single SHM and its associated SREs are organised.
context
context
Usage: dsh context [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -install -completion Install completion for the │
│ current shell. │
│ - -show -completion Show completion for the current │
│ shell, to copy it or customize │
│ the installation. │
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────── ─╮
│ show Show information about the currently selected │
│ context. │
│ available Show the available contexts. │
│ switch Switch the currently selected context. │
│ add Add a new context to the context manager. │
│ update Update the currently selected context. │
│ remove Removes a context from the the context manager. │
╰───────────────────────────────────────────────────────────────╯
show
show
Usage: dsh context show [OPTIONS]
Show information about the currently selected context.
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯
available
available
Usage: dsh context available [OPTIONS]
Show the available contexts.
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯
switch
switch
Usage: dsh context switch [OPTIONS] NAME
Switch the currently selected context.
╭─ Arguments ────────────────────────────────────────────────── ─╮
│ * name TEXT Name of the context to switch to. │
│ [required] │
╰───────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯
add
add
Usage: dsh context add [OPTIONS]
Add a new context to the context manager.
╭─ Options ──────────────────────────────────────────────────── ─╮
│ * - -admin -group-name TEXT Name of a security group │
│ that contains all Azure │
│ infrastructure admins. │
│ [required] │
│ * - -description TEXT The human-friendly name │
│ to give this Data Safe │
│ Haven deployment. │
│ [required] │
│ * - -name TEXT A name for this context │
│ which consists only of │
│ letters, numbers and │
│ underscores. │
│ [required] │
│ * - -subscription -name TEXT The name of an Azure │
│ subscription to deploy │
│ resources into. │
│ [required] │
│ - -help Show this message and │
│ exit. │
╰───────────────────────────────────────────────────────────────╯
update
update
Usage: dsh context update [OPTIONS]
Update the currently selected context.
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -admin -group-name TEXT Name of a security group that │
│ contains all Azure │
│ infrastructure admins. │
│ - -description TEXT The human friendly name to │
│ give this Data Safe Haven │
│ deployment. │
│ - -name TEXT A name for this context which │
│ consists only of letters, │
│ numbers and underscores. │
│ - -subscription TEXT The name of an Azure │
│ subscription to deploy │
│ resources into. │
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯
remove
remove
Usage: dsh context remove [OPTIONS] NAME
Removes a context from the the context manager.
╭─ Arguments ────────────────────────────────────────────────── ─╮
│ * name TEXT Name of the context to remove. │
│ [required] │
╰───────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰───────────────────────────────────────────────────────────────╯