説明
Pulumi の Azure Native ストレージアカウントで enableHttpsTrafficOnly を true にすると、HTTP の REST リクエストが拒否されます。
想定される影響
HTTP のままのアプリや連携は接続できなくなります。HTTP で送ると、データや認証情報が漏えいしたり、データが改ざんされたりするおそれがあります。
対処方法
アプリ、運用スクリプト、外部連携を HTTPS に切り替えてから設定を適用し、実際のクライアントから HTTPS でアクセスできることを確認します。ネットワーク規則、最小 TLS バージョン、保存データの暗号化、アクセス権限は別途確認してください。
例
例は sto4445 の転送設定の抜粋です。デプロイにはリソースグループ、場所、SKU などの必須設定も指定してください。
変更前
yaml
resources:
storageAccount:
type: azure-native:storage:StorageAccount
properties:
accountName: sto4445
enableHttpsTrafficOnly: false
変更後
yaml
resources:
storageAccount:
type: azure-native:storage:StorageAccount
properties:
accountName: sto4445
enableHttpsTrafficOnly: true