https://pulumi.com logo
Title
f

few-rocket-71683

12/27/2022, 12:32 PM
Hi Since there aint a specific channel for Confluent Cloud, I am posting it here. I am seeing
error creating Connector "pulumi-test-connector": error sending validation request: 401 Unauthorized
while trying to create connector in the confluent cloud. But I am able to create the connector via UI. Could someone help me resolve this or point to a specific channel where this can be posted? Thanks
b

billowy-army-68599

12/27/2022, 1:36 PM
How are you authenticating?
f

few-rocket-71683

12/27/2022, 1:50 PM
Hi @billowy-army-68599 This is
AzureDataLakeGen2Sink
connector. I am using Kafka Api key and and data lake gen2 access key to authenticate.
b

billowy-army-68599

12/27/2022, 2:07 PM
okay you’ll need to validate it works as expected, because 401 unauthorized indicates your key isn’t correct
f

few-rocket-71683

12/27/2022, 2:19 PM
I did with same API key via UI and the connector is being created
s

salmon-gold-74709

01/04/2023, 5:20 PM
Depending on what the API key is for, you may need to set Confluent/Kafka ACLs - not always obvious which ACLs to set. I saw this recently with an S3 sink connector (not using Pulumi). There are both Confluent and Kafka ACLs, we needed the latter. You may want to prototype this with the
confluent
CLI command to create and list ACLs, and talk to Confluent support about this https://docs.confluent.io/cloud/current/access-management/access-control/acl.html
Once you have this working it will be easier to convert to Pulumi