Viewing docs for Terraform v6.1.0
published on Monday, Jul 20, 2026 by Pulumi
published on Monday, Jul 20, 2026 by Pulumi
Viewing docs for Terraform v6.1.0
published on Monday, Jul 20, 2026 by Pulumi
published on Monday, Jul 20, 2026 by Pulumi
Access state stored in an Azure Blob Storage container.
Using getAzureRMReference
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAzureRMReference(args: GetAzureRMReferenceArgs, opts?: InvokeOptions): Promise<GetAzureRMReferenceResult>
function getAzureRMReferenceOutput(args: GetAzureRMReferenceOutputArgs, opts?: InvokeOptions): Output<GetAzureRMReferenceResult>def get_azure_rm_reference(access_key: Optional[str] = None,
client_certificate_password: Optional[str] = None,
client_certificate_path: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
container_name: Optional[str] = None,
endpoint: Optional[str] = None,
environment: Optional[str] = None,
key: Optional[str] = None,
metadata_host: Optional[str] = None,
msi_endpoint: Optional[str] = None,
oidc_request_token: Optional[str] = None,
oidc_request_url: Optional[str] = None,
oidc_token: Optional[str] = None,
oidc_token_file_path: Optional[str] = None,
resource_group_name: Optional[str] = None,
sas_token: Optional[str] = None,
storage_account_name: Optional[str] = None,
subscription_id: Optional[str] = None,
tenant_id: Optional[str] = None,
use_azuread_auth: Optional[bool] = None,
use_msi: Optional[bool] = None,
use_oidc: Optional[bool] = None,
workspace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAzureRMReferenceResult
def get_azure_rm_reference_output(access_key: pulumi.Input[Optional[str]] = None,
client_certificate_password: pulumi.Input[Optional[str]] = None,
client_certificate_path: pulumi.Input[Optional[str]] = None,
client_id: pulumi.Input[Optional[str]] = None,
client_secret: pulumi.Input[Optional[str]] = None,
container_name: pulumi.Input[Optional[str]] = None,
endpoint: pulumi.Input[Optional[str]] = None,
environment: pulumi.Input[Optional[str]] = None,
key: pulumi.Input[Optional[str]] = None,
metadata_host: pulumi.Input[Optional[str]] = None,
msi_endpoint: pulumi.Input[Optional[str]] = None,
oidc_request_token: pulumi.Input[Optional[str]] = None,
oidc_request_url: pulumi.Input[Optional[str]] = None,
oidc_token: pulumi.Input[Optional[str]] = None,
oidc_token_file_path: pulumi.Input[Optional[str]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
sas_token: pulumi.Input[Optional[str]] = None,
storage_account_name: pulumi.Input[Optional[str]] = None,
subscription_id: pulumi.Input[Optional[str]] = None,
tenant_id: pulumi.Input[Optional[str]] = None,
use_azuread_auth: pulumi.Input[Optional[bool]] = None,
use_msi: pulumi.Input[Optional[bool]] = None,
use_oidc: pulumi.Input[Optional[bool]] = None,
workspace: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAzureRMReferenceResult]func GetAzureRMReference(ctx *Context, args *GetAzureRMReferenceArgs, opts ...InvokeOption) (*GetAzureRMReferenceResult, error)
func GetAzureRMReferenceOutput(ctx *Context, args *GetAzureRMReferenceOutputArgs, opts ...InvokeOption) GetAzureRMReferenceResultOutput> Note: This function is named GetAzureRMReference in the Go SDK.
public static class GetAzureRMReference
{
public static Task<GetAzureRMReferenceResult> InvokeAsync(GetAzureRMReferenceArgs args, InvokeOptions? opts = null)
public static Output<GetAzureRMReferenceResult> Invoke(GetAzureRMReferenceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAzureRMReferenceResult> getAzureRMReference(GetAzureRMReferenceArgs args, InvokeOptions options)
public static Output<GetAzureRMReferenceResult> getAzureRMReference(GetAzureRMReferenceArgs args, InvokeOptions options)
fn::invoke:
function: terraform:state:getAzureRMReference
arguments:
# arguments dictionarydata "terraform_state_get_azure_r_m_reference" "name" {
# arguments
}The following arguments are supported:
- Container
Name string - The name of the storage container within the storage account.
- Key string
- The name of the blob holding the Terraform state file inside the storage container.
- Storage
Account stringName - The name of the storage account.
- Access
Key string - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- Client
Certificate stringPassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- Client
Certificate stringPath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- Client
Id string - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- Client
Secret string - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- Endpoint string
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- Environment string
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- Metadata
Host string - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- Msi
Endpoint string - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- Oidc
Request stringToken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- Oidc
Request stringUrl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- Oidc
Token string - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- Oidc
Token stringFile Path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- Resource
Group stringName - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- Sas
Token string - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- Subscription
Id string - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- Tenant
Id string - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- Use
Azuread boolAuth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- Use
Msi bool - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- Use
Oidc bool - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- Workspace string
- The Terraform workspace to read state from.
- Container
Name string - The name of the storage container within the storage account.
- Key string
- The name of the blob holding the Terraform state file inside the storage container.
- Storage
Account stringName - The name of the storage account.
- Access
Key string - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- Client
Certificate stringPassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- Client
Certificate stringPath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- Client
Id string - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- Client
Secret string - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- Endpoint string
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- Environment string
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- Metadata
Host string - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- Msi
Endpoint string - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- Oidc
Request stringToken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- Oidc
Request stringUrl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- Oidc
Token string - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- Oidc
Token stringFile Path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- Resource
Group stringName - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- Sas
Token string - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- Subscription
Id string - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- Tenant
Id string - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- Use
Azuread boolAuth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- Use
Msi bool - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- Use
Oidc bool - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- Workspace string
- The Terraform workspace to read state from.
- container_
name string - The name of the storage container within the storage account.
- key string
- The name of the blob holding the Terraform state file inside the storage container.
- storage_
account_ stringname - The name of the storage account.
- access_
key string - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- client_
certificate_ stringpassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- client_
certificate_ stringpath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- client_
id string - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- client_
secret string - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- endpoint string
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- environment string
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- metadata_
host string - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- msi_
endpoint string - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- oidc_
request_ stringtoken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- oidc_
request_ stringurl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- oidc_
token string - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- oidc_
token_ stringfile_ path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- resource_
group_ stringname - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- sas_
token string - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- subscription_
id string - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- tenant_
id string - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- use_
azuread_ boolauth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- use_
msi bool - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- use_
oidc bool - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- workspace string
- The Terraform workspace to read state from.
- container
Name String - The name of the storage container within the storage account.
- key String
- The name of the blob holding the Terraform state file inside the storage container.
- storage
Account StringName - The name of the storage account.
- access
Key String - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- client
Certificate StringPassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- client
Certificate StringPath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- client
Id String - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- client
Secret String - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- endpoint String
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- environment String
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- metadata
Host String - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- msi
Endpoint String - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- oidc
Request StringToken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- oidc
Request StringUrl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- oidc
Token String - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- oidc
Token StringFile Path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- resource
Group StringName - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- sas
Token String - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- subscription
Id String - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- tenant
Id String - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- use
Azuread BooleanAuth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- use
Msi Boolean - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- use
Oidc Boolean - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- workspace String
- The Terraform workspace to read state from.
- container
Name string - The name of the storage container within the storage account.
- key string
- The name of the blob holding the Terraform state file inside the storage container.
- storage
Account stringName - The name of the storage account.
- access
Key string - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- client
Certificate stringPassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- client
Certificate stringPath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- client
Id string - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- client
Secret string - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- endpoint string
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- environment string
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- metadata
Host string - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- msi
Endpoint string - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- oidc
Request stringToken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- oidc
Request stringUrl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- oidc
Token string - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- oidc
Token stringFile Path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- resource
Group stringName - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- sas
Token string - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- subscription
Id string - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- tenant
Id string - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- use
Azuread booleanAuth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- use
Msi boolean - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- use
Oidc boolean - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- workspace string
- The Terraform workspace to read state from.
- container_
name str - The name of the storage container within the storage account.
- key str
- The name of the blob holding the Terraform state file inside the storage container.
- storage_
account_ strname - The name of the storage account.
- access_
key str - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- client_
certificate_ strpassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- client_
certificate_ strpath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- client_
id str - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- client_
secret str - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- endpoint str
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- environment str
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- metadata_
host str - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- msi_
endpoint str - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- oidc_
request_ strtoken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- oidc_
request_ strurl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- oidc_
token str - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- oidc_
token_ strfile_ path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- resource_
group_ strname - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- sas_
token str - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- subscription_
id str - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- tenant_
id str - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- use_
azuread_ boolauth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- use_
msi bool - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- use_
oidc bool - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- workspace str
- The Terraform workspace to read state from.
- container
Name String - The name of the storage container within the storage account.
- key String
- The name of the blob holding the Terraform state file inside the storage container.
- storage
Account StringName - The name of the storage account.
- access
Key String - The access key of the storage account. Falls back to the ARM_ACCESS_KEY environment variable when unset.
- client
Certificate StringPassword - The password for the client certificate specified in clientCertificatePath. Falls back to the ARM_CLIENT_CERTIFICATE_PASSWORD environment variable when unset.
- client
Certificate StringPath - The path to the PFX file used as the client certificate for service principal authentication. Falls back to the ARM_CLIENT_CERTIFICATE_PATH environment variable when unset.
- client
Id String - The client ID to authenticate as. Falls back to the ARM_CLIENT_ID environment variable when unset.
- client
Secret String - The client secret used for service principal authentication. Falls back to the ARM_CLIENT_SECRET environment variable when unset.
- endpoint String
- A custom endpoint for the Azure Resource Manager API. Falls back to the ARM_ENDPOINT environment variable when unset.
- environment String
- The Azure cloud environment to use: public (default), china, german, stack or usgovernment. Falls back to the ARM_ENVIRONMENT environment variable when unset.
- metadata
Host String - The hostname of the Azure metadata service used to obtain the cloud environment. Falls back to the ARM_METADATA_HOST environment variable when unset.
- msi
Endpoint String - The endpoint of the Managed Service Identity. Falls back to the ARM_MSI_ENDPOINT environment variable when unset.
- oidc
Request StringToken - The bearer token for requests to the oidcRequestUrl URL. Falls back to the ARM_OIDC_REQUEST_TOKEN or ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables when unset.
- oidc
Request StringUrl - The URL of the OIDC provider to request an ID token from, e.g. in GitHub Actions. Requires oidcRequestToken. Falls back to the ARM_OIDC_REQUEST_URL or ACTIONS_ID_TOKEN_REQUEST_URL environment variables when unset.
- oidc
Token String - A JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN environment variable when unset.
- oidc
Token StringFile Path - The path to a file containing a JWT token for OIDC authentication. Conflicts with oidcRequestToken. Falls back to the ARM_OIDC_TOKEN_FILE_PATH environment variable when unset.
- resource
Group StringName - The name of the resource group holding the storage account. Required when using AzureAD authentication against the Azure Resource Manager API to look up the storage access key.
- sas
Token String - A SAS token for accessing the storage container. Falls back to the ARM_SAS_TOKEN environment variable when unset.
- subscription
Id String - The subscription ID holding the storage account. Falls back to the ARM_SUBSCRIPTION_ID environment variable when unset.
- tenant
Id String - The tenant ID to authenticate against. Falls back to the ARM_TENANT_ID environment variable when unset.
- use
Azuread BooleanAuth - Whether to authenticate against the storage container with AzureAD instead of an access key. Falls back to the ARM_USE_AZUREAD environment variable when unset.
- use
Msi Boolean - Whether to authenticate using Managed Service Identity. Falls back to the ARM_USE_MSI environment variable when unset.
- use
Oidc Boolean - Whether to authenticate using OIDC. Falls back to the ARM_USE_OIDC environment variable when unset.
- workspace String
- The Terraform workspace to read state from.
getAzureRMReference Result
The following output properties are available:
- Outputs Dictionary<string, object>
- The outputs displayed from Terraform state.
- Outputs map[string]interface{}
- The outputs displayed from Terraform state.
- outputs map(any)
- The outputs displayed from Terraform state.
- outputs Map<String,Object>
- The outputs displayed from Terraform state.
- outputs {[key: string]: any}
- The outputs displayed from Terraform state.
- outputs Mapping[str, Any]
- The outputs displayed from Terraform state.
- outputs Map<Any>
- The outputs displayed from Terraform state.
Package Details
- Repository
- terraform pulumi/pulumi-terraform
- License
- Apache-2.0
Viewing docs for Terraform v6.1.0
published on Monday, Jul 20, 2026 by Pulumi
published on Monday, Jul 20, 2026 by Pulumi