Description
If Ansible omits https_only, check the account’s effective secure-transfer setting in Azure. A value of false permits HTTP for storage REST requests.
Potential impact
HTTP can expose data and credentials or allow data to be altered in transit.
Remediation
Switch apps and scripts to HTTPS and test their usual operations before applying https_only: true. Verify that existing clients still connect and HTTP requests are rejected.
Examples
Both tasks change only the transport setting on clh0002. Grant data-access permissions separately.
Before
yaml
- name: Storage Account 생성
azure.azcollection.azure_rm_storageaccount:
resource_group: myResourceGroup
name: clh0002
type: Standard_RAGRS
https_only: false
After
yaml
- name: Storage Account 생성
azure.azcollection.azure_rm_storageaccount:
resource_group: myResourceGroup
name: clh0002
type: Standard_RAGRS
https_only: true