You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storage Mover SMB Mount Endpoint: set resource identity on create/read, rename credentials to key vault secret IDs
- Implement ResourceWithIdentity: call SetResourceIdentityData after SetID in Create and in Read to fix 'Missing Resource Identity After Create'
- Align Create with guide: return metadata.Encode after SetResourceIdentityData
- Rename username_uri/password_uri to username_key_vault_secret_id/password_key_vault_secret_id in schema, docs and tests (PR feedback)
Made-with: Cursor
returnfmt.Errorf("both `username_key_vault_secret_id` and `password_key_vault_secret_id` must be specified together when configuring SMB mount endpoint credentials")
description = "Example SMB Mount Endpoint with credentials"
58
58
}
59
59
```
60
60
@@ -70,9 +70,9 @@ The following arguments are supported:
70
70
71
71
*`share_name` - (Required) Specifies the name of the SMB share. Changing this forces a new resource to be created.
72
72
73
-
*`username_uri` - (Optional) Specifies the Azure Key Vault secret URI for the username to use for authentication.
73
+
*`username_key_vault_secret_id` - (Optional) Specifies the Azure Key Vault secret ID for the username to use for authentication. Must be specified together with `password_key_vault_secret_id`. You can use `azurerm_key_vault_secret.<name>.id` or `azurerm_key_vault_secret.<name>.versionless_id` (recommended to avoid pinning to a specific secret version).
74
74
75
-
*`password_uri` - (Optional) Specifies the Azure Key Vault secret URI for the password to use for authentication.
75
+
*`password_key_vault_secret_id` - (Optional) Specifies the Azure Key Vault secret ID for the password to use for authentication. Must be specified together with `username_key_vault_secret_id`. You can use `azurerm_key_vault_secret.<name>.id` or `azurerm_key_vault_secret.<name>.versionless_id` (recommended).
76
76
77
77
*`description` - (Optional) Specifies a description for the Storage Mover SMB Mount Endpoint.
0 commit comments