command
Version:
v0.10.1
Opens a new window with list of versions in this module.
Published: Apr 16, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Example: using Azure Active Directory authentication
This example provisions a Storage Container using Azure Active Directory for authentication.
To run this example you need the following Environment Variables set:
ARM_CLIENT_ID
- The UUID of the Service Principal/Application
ARM_CLIENT_SECRET
- The Secret associated with the Service Principal
ARM_ENVIRONMENT
- The Azure Environment (public
, germany
etc)
ARM_SUBSCRIPTION_ID
- The UUID of the Azure Subscription
ARM_TENANT_ID
- The UUID of the Azure Tenant
You also need to update main.go
to set the variable storageAccountName
to an existing Storage Account (since we don't provision one for you).
Assuming you've got Go installed - you can then run this using:
$ go run main.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.