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-completionInstall completion for the      current shell.                  --show-completionShow completion for the current shell, to copy it or customize  the installation.               --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯ ╭─ Commands ────────────────────────────────────────────────────╮ show     Show information about the currently selected      context.                                           availableShow 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 ─────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯

available#

available Usage: dsh context available [OPTIONS] Show the available contexts. ╭─ Options ─────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯

switch#

switch Usage: dsh context switch [OPTIONS] NAME Switch the currently selected context. ╭─ Arguments ───────────────────────────────────────────────────╮ *nameTEXTName of the context to switch to. [required]                        ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯

add#

add Usage: dsh context add [OPTIONS] Add a new context to the context manager. ╭─ Options ─────────────────────────────────────────────────────╮ *--admin-group-nameTEXTName of a security group  that contains all Azure   infrastructure admins.    [required]                *--descriptionTEXTThe human-friendly name   to give this Data Safe    Haven deployment.         [required]                *--nameTEXTA name for this context   which consists only of    letters, numbers and      underscores.              [required]                *--subscription-nameTEXTThe name of an Azure      subscription to deploy    resources into.           [required]                --helpShow this message and     exit.                     ╰───────────────────────────────────────────────────────────────╯

update#

update Usage: dsh context update [OPTIONS] Update the currently selected context. ╭─ Options ─────────────────────────────────────────────────────╮ --admin-group-nameTEXTName of a security group that contains all Azure            infrastructure admins.        --descriptionTEXTThe human friendly name to    give this Data Safe Haven     deployment.                   --nameTEXTA name for this context which consists only of letters,     numbers and underscores.      --subscriptionTEXTThe name of an Azure          subscription to deploy        resources into.               --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯

remove#

remove Usage: dsh context remove [OPTIONS] NAME Removes a context from the the context manager. ╭─ Arguments ───────────────────────────────────────────────────╮ *nameTEXTName of the context to remove. [required]                     ╰───────────────────────────────────────────────────────────────╯ ╭─ Options ─────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰───────────────────────────────────────────────────────────────╯