Adding attribute for secret fails in OKV "Invalid OKV server"
Hello all
Trying to add an attribute to a secret object using Oracle Key Vault but getting the following error
[oracle@dolnxdb034sv scripts]$ okv managed-object custom-attribute add --from-json ./add-cust-attrib.json
Invalid OKV server
This is my add-cust-attrib.json file
{
"service": {
"category": "managed-object",
"resource": "custom-attribute",
"action": "add",
"options": {
"uuid": "########################",
"customAttribute": {
"name": "x-CONNECT_STRING",
"value": "<db-server-name>:6516/orawdb",
"type": "TEXT"
}
}
}
}
However, okvutil command works
[oracle@dolnxdb034sv scripts]$ okvutil list
Enter Oracle Key Vault endpoint password:
Unique ID Type Identifier
0F52CF7C-901C-4F09-BF20-077AD9655648 Private Key Private Key of certificate with DN: CN=KbhNTQil1F,OU=Key_Vault,O=Oracle,L=Redwood_City,ST=California,C=us