Initializer
Properties
| Name | Type | Description |
|---|---|---|
defaults | typing.Mapping[typing.Any] | No description. |
workspace | str | No description. |
container_name | str | (Required) The Name of the Storage Container within the Storage Account. |
key | str | (Required) The name of the Blob used to retrieve/store Terraform’s State file inside the Storage Container. |
storage_account_name | str | (Required) The Name of the Storage Account. |
access_key | str | access_key - (Optional) The Access Key used to access the Blob Storage Account. |
client_certificate_password | str | (Optional) The password associated with the Client Certificate specified in client_certificate_path. |
client_certificate_path | str | (Optional) The path to the PFX file used as the Client Certificate when authenticating as a Service Principal. |
client_id | str | (Optional) The Client ID of the Service Principal. |
client_secret | str | (Optional) The Client Secret of the Service Principal. |
endpoint | str | (Optional) The Custom Endpoint for Azure Resource Manager. This can also be sourced from the ARM_ENDPOINT environment variable. |
environment | str | (Optional) The Azure Environment which should be used. |
metadata_host | str | (Optional) The Hostname of the Azure Metadata Service (for example management.azure.com), used to obtain the Cloud Environment when using a Custom Azure Environment. This can also be sourced from the ARM_METADATA_HOSTNAME Environment Variable.). |
msi_endpoint | str | (Optional) The path to a custom Managed Service Identity endpoint which is automatically determined if not specified. |
oidc_request_token | str | (Optional) The bearer token for the request to the OIDC provider. |
oidc_request_url | str | (Optional) The URL for the OIDC provider from which to request an ID token. |
oidc_token | str | (Optional) The ID token when authenticating using OpenID Connect (OIDC). |
oidc_token_file_path | str | (Optional) The path to a file containing an ID token when authenticating using OpenID Connect (OIDC). |
resource_group_name | str | (Required) The Name of the Resource Group in which the Storage Account exists. |
sas_token | str | (Optional) The SAS Token used to access the Blob Storage Account. |
snapshot | bool | (Optional) Should the Blob used to store the Terraform Statefile be snapshotted before use? |
subscription_id | str | (Optional) The Subscription ID in which the Storage Account exists. |
tenant_id | str | (Optional) The Tenant ID in which the Subscription exists. |
use_azuread_auth | bool | (Optional) Should AzureAD Authentication be used to access the Blob Storage Account. |
use_microsoft_graph | bool | (Optional) Should MSAL be used for authentication instead of ADAL, and should Microsoft Graph be used instead of Azure Active Directory Graph? |
use_msi | bool | (Optional) Should Managed Service Identity authentication be used? |
use_oidc | bool | (Optional) Should OIDC authentication be used? This can also be sourced from the ARM_USE_OIDC environment variable. |
defaultsOptional
- Type: typing.Mapping[typing.Any]
workspaceOptional
- Type: str
container_nameRequired
- Type: str
keyRequired
- Type: str
storage_account_nameRequired
- Type: str
access_keyOptional
- Type: str
client_certificate_passwordOptional
- Type: str
client_certificate_pathOptional
- Type: str
client_idOptional
- Type: str
client_secretOptional
- Type: str
endpointOptional
- Type: str
environmentOptional
- Type: str
metadata_hostOptional
- Type: str
msi_endpointOptional
- Type: str
oidc_request_tokenOptional
- Type: str
oidc_request_urlOptional
- Type: str
oidc_tokenOptional
- Type: str
oidc_token_file_pathOptional
- Type: str
resource_group_nameOptional
- Type: str
sas_tokenOptional
- Type: str
snapshotOptional
- Type: bool
subscription_idOptional
- Type: str
tenant_idOptional
- Type: str
use_azuread_authOptional
- Type: bool
use_microsoft_graphOptional
- Type: bool
use_msiOptional
- Type: bool
use_oidcOptional
- Type: bool