alan-turing-institute / data-safe-haven

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

Improve naming of persistent data storage accounts #2207

Closed dsj976 closed 3 weeks ago

dsj976 commented 2 months 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 months ago

Tagging @cptanalatriste and @helendduncan for more ideas

JimMadge commented 2 months ago

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

They do not follow the same format in >v5

jemrobinson commented 2 months ago

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

JimMadge commented 2 months 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.

JimMadge commented 3 weeks ago

I don't think there is a clear plan here so I will close the issue.