eliyahu moskowitz
03/24/2025, 3:11 PMthis.userApiKey = https.createSecureString({ input: '{custsecret_example}' });
this.clientApiKey = https.createSecureString({
input: '{custsecret_example}',
});
this.authHeader = { Authorization: `xyz ${this.clientApiKey}:${this.userApiKey}` };
how does this work?
it's not working in this scenario. i have the API Secrets set up in NSerictgrubaugh
03/24/2025, 3:21 PMlet response = https.delete({
url: requestUrl,
headers: {
'Authorization': https.createSecureString({ input: 'Bearer {custsecret_airtable}' })
}
})
so in your case maybe it's:
headers: {
'Authorization': https.createSecureString({ input: 'Rev {custsecret_example}:{custsecret_example}' })
}
erictgrubaugh
03/24/2025, 3:24 PMAnthony OConnor
03/24/2025, 3:25 PMthis.authHeader = { 'Authorization': `Rev ${this.clientApiKey}:${this.userApiKey}` };
and yeah.. you can't log secretseliyahu moskowitz
03/24/2025, 4:00 PM