Skip to main content
Question

Configure Different Users for Vertica Voltage Add-on

  • December 12, 2018
  • 2 replies
  • 23 views

bckoh

Does anyone work on Voltage add-on before especially configuring different users to access the SDA configure for FPE. Tried the steps in the documents and granting access to new users. But it does not work. Is it a bug or any steps missing? The error (seems to be authentication problem) is as below:

Fred=>SELECT VoltageSecureProtect('123-45-6789' USING PARAMETERS format='ssn',config_dfs_path='voltage.conf');
ERROR 5861: Error calling setup() in User Function VoltageSecureProtect at [/data/build-centos6/qb/buildagent/workspace/jenkins2/ReleaseBuilds/Grader/REL-9_1_1-x_grader/build/udx/supported/voltagesecure/VoltageBase.hpp:223], error code: 1608, message: Error initializing: The authentication parameters are invalid

Thanks.

2 replies

aurorak
Forum|alt.badge.img
  • Participating Frequently
  • December 12, 2018

Would you mind posting all your commands? Please remove any confidential passwords or URI's.


bckoh
  • Author
  • New Participant
  • December 17, 2018

Just to add further that I tried on another table as below. I dropped the access policy, but still not able to use the Voltagesecureaccess to decryt the ssn. But can select * from users1; Without calling Voltagesecureaccess, no issue.

Vmart=> drop access policy on users1 for column birthday;
DROP ACCESS POLICY
Vmart=> select * from users1;
-[ RECORD 1 ]-----------------
name | Bob
ssn | 984-29-3333
cc_num | 2120-8921-3268-5555
birthday | 1972-02-03
-[ RECORD 2 ]-----------------
name | Carol
ssn | 686-69-4444
cc_num | 3073-2546-2062-6666
birthday | 1992-03-04
-[ RECORD 3 ]-----------------
name | Alice
ssn | 032-66-2222
cc_num | 1795-6026-4805-4444
birthday | 1982-01-02

Vmart=> select name, voltagesecureaccess(ssn using parameters format='ssn', config_dfs_path='voltage.conf')AS ssn_raw, birthday from users1;
ERROR 5861: Error calling setup() in User Function VoltageSecureAccess at [/data/build-centos6/qb/buildagent/workspace/jenkins2/ReleaseBuilds/Grader/REL-9_1_1-x_grader/build/udx/supported/voltagesecure/VoltageBase.hpp:223], error code: 15, message: Error initializing: Unknown error encountered

Vmart=> select name, birthday from users1;
-[ RECORD 1 ]--------
name | Bob
birthday | 1972-02-03
-[ RECORD 2 ]--------
name | Carol
birthday | 1992-03-04
-[ RECORD 3 ]--------
name | Alice
birthday | 1982-01-02