Update Virtual Key
endpoint for Bedrock virtual key? The docs suggest it has only one field key
, however Bedrock key requires more fields.curl -X PUT 'https://api.portkey.ai/v1/virtual-keys/{BEDROCK_VIRTUAL_KEY}' \ -H 'Content-Type: application/json' \ -H 'x-portkey-api-key: {PERMISSIONED_PORTKEY_API_KEY}' \ -d '{ "name": "New Virtual Key Name", "aws_secret_access_key": "xxxxxxxxxxxx", "aws_access_key_id":"xxxxxxxxxxxxxx", "aws_region":"us-east-2" }'
name
updates, but not the three aws parameters. Can you please help here? πcurl -X PUT 'https://api.portkey.ai/v1/virtual-keys/{BEDROCK_VIRTUAL_KEY}' \ -H 'Content-Type: application/json' \ -H 'x-portkey-api-key: {PERMISSIONED_PORTKEY_API_KEY}' \ -d '{ "name": "New Virtual Key Name", "awsSecretAccessKey": "xxxxxxxxxxxx", "awsAccessKeyId":"xxxxxxxxxxxxxx", "awsRegion":"us-east-2" }'
{ "id": ".....", "slug": ".....", "object": "virtual-key" }
success
and data
key. If the API call fails then I do get the expected json format with success
as false.