alan-turing-institute / azure-batch-tools

Some tools to make deploying batch processing jobs to Azure easier
MIT License
1 stars 1 forks source link

Make VM pool storage SAS tokens depend on policy #3

Open martintoreilly opened 7 years ago

martintoreilly commented 7 years ago

This will allow the expiry date to be amended independently of the issued SAS tokens, which will then allow:

Notes

When implementing, we should aim to completely delete existing pool policies when we delete the pool and create a new policy each time we create a pool. This way we don't need to worry about protecting any SAS tokens except the ones issued when creating the current pool. As SAS tokens are linked to policies by policy name, we will need to apply a naming convention that includes a date or random string suffix so that new policies will never have the same name as old ones.