Skip to content

GetKxConnectionString

Source: src/AWS/FinSpace/GetKxConnectionString.ts

Runtime binding for finspace:GetKxConnectionString — retrieves a signed connection string a kdb user can use to connect to a cluster in the bound environment. The returned signedConnectionString embeds a SigV4 signature and is surfaced as Redacted. Provide the implementation with Effect.provide(AWS.FinSpace.GetKxConnectionStringHttp).

const getConnectionString = yield* AWS.FinSpace.GetKxConnectionString(kdb);
const { signedConnectionString } = yield* getConnectionString({
userArn: user.userArn,
clusterName: "hdb",
});
const value = Redacted.value(signedConnectionString!);