kmbisset89 / azure-upload-gradle-plugin

MIT License
0 stars 0 forks source link

Add Connection String Documentation #2

Open mandrachek opened 2 weeks ago

mandrachek commented 2 weeks ago

⚠️ Is your feature request related to a problem? Please describe

I'm not an azure expert, so it's not clear how to go about getting a connection string.

💡 Describe the solution you'd like

Add some documentation or links to documentation to be able to properly configure the plugin.

🤚 Do you want to develop this feature yourself?

kmbisset89 commented 2 weeks ago

@mandrachek thanks for trying to use the plugin. I will update the documentation in the morning.

mandrachek commented 2 weeks ago

Thanks for making it! I eventually figured everything out and have it working.

I found the connectionString (Security + networking -> Access keys). It suppose it would be nice if it was possible to use a shared access signature (SAS) instead of the storage account key.

Then I got stuck on illegal character errors for a bit. Turns out packageName is a bit weird - it's not "com.mybiz.app" (what any java person thinks of as a package name) - It's actually a prefix for the container name. So if you have "public" as the container, you have to set a packageName, say "x", and the container is actually "x-public" - there doesn't appear to be any way to use a bare container name.

But once I got past all that, it's working great!