是否可以使用凭据参数和 KMS_KEY_ID 参数编写卸载命令?运行以下代码后出现以下错误:
unload ('select top 10 * from testtable')
to 's3://mybucket/test.txt'
KMS_KEY_ID '123456789'
encrypted
credentials 'aws_access_key_id=ZYZYZYZYZ;aws_secret_access_key=as098dfas9dfa9sd09a8fa0sd';
error: Invalid credentials. Must be of the format: credentials 'aws_iam_role=...;master_symmetric_key=...' or 'aws_access_key_id=...;aws_secret_access_key=...[;token=...];master_symmetric_key=...'
code: 8001
context:
query: 0
location: aws_credentials_parser.cpp:114
process: padbmaster [pid=47590]