google-cloud-platform - 如何在 Data Studio 自定义查询中配置数据库标志?
问题描述
我正在尝试通过 Data Studio 从我的数据库中获取使用 aes-256-ecb 加密的数据,问题是我的 Cloud Sql 数据库默认具有 aes-128-ecb 并且我无法更改加密模式,因为Cloud Sql 没有允许更改此配置。
有没有办法使用我在查询中配置标志的 Data Studio 进行自定义查询?
SET block_encryption_mode = 'aes-256-ecb';
SELECT cast(Aes_decrypt(From_base64('BLS6mf+5dlvYO3dxQF5GIQ=='),'Secret') as char(50));
解决方案
推荐阅读
- applescript - Apple Script 运行,但没有保存的 docx 出现(没有出现错误)
- jquery - 跳跃的幻灯片切换交互
- google-tag-manager - Google 跟踪代码管理器 - Python - 创建自定义事件触发器
- css - 将 CSS 中的一长行代码拆分到另一行的正确方法是什么?
- excel - 单元格文本被截断为大约 1390 个字符
- android - Glide 4 日志记录
- ansible - 在 Jinja2 语句中使用 Jinja2 表达式
- asp.net-mvc - MVC 区域中的 Html.ActionLink 是否可以在不使用 new { area = "" } 指定的情况下为默认/根区域呈现链接
- haskell - Haskell ZipList 应用程序
- javascript - 单击时剪贴板动画