-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bug: StorageAccount is not storing credentials as a secret #913
Comments
@frodopwns Blocked until Mel's PR goes through - as per @jananivMS 's instructions |
Will likely get back to work on this on Tuesday 4/14 |
remove structs from storageaccount_types.go |
line 169 on hub.go... Upsert |
@cnadolny quick question... I haven't work in this area of code yet... can you tell me what function / struct that:
are obtained from? Thanks! :-) |
@WilliamMortlMicrosoft You'll need to call the ListKeys method on the storage account for the keys And you will need to construct the connection string using the below format ENVIRONMENT_SPECIFIC_SUFFIX can be gotten in the code using resourcemanagerconfig.Environment().StorageEndpointSuffix |
Thanks so much @jananivMS !!!!! Where did you find that? :-) |
Describe the bug
We currently do not store credentials for the storage account. We should store those in a secret, and remove the StorageOutput struct, which is not being used either.
To Reproduce
Steps to reproduce the behavior:
Create SA, no secret is created
Expected behavior
When creating a storage account, a secret should be created with credentials for connecting to the storage account, with the following fields:
Completion Criteria
The text was updated successfully, but these errors were encountered: