alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
57 stars 15 forks source link

Improve naming of persistent data storage accounts #2207

Open dsj976 opened 2 days ago

dsj976 commented 2 days ago

:white_check_mark: Checklist

:strawberry: Suggested change

The naming convention of persistent data storage accounts (which follows the pattern <SHM ID><SRE ID>data<random letters>), is not very user friendly and can make it easy to confuse storage accounts for SREs with similar IDs. Can the naming convention be improved to make it easier to read?

For example, could the storage account name start with the SRE ID, i.e. could it follow the pattern <SRE ID><SHM ID>data<random letters>?

dsj976 commented 2 days ago

Tagging @cptanalatriste and @helendduncan for more ideas

JimMadge commented 2 days ago

Do you only have a problem with the names in v4.*?

They do not follow the same format in >v5

jemrobinson commented 2 days ago

They're also bad in v5 though. For example: SHM blue, SRE ultramarine -> shblusreultsensitivedata

JimMadge commented 2 days ago

We are also working with a fair few restrictions on what is a valid storage account name.

I think it is only alphanumeric, no spaces, no hyphens or underscores (?) and globally unique.