2 Answers
- Newest
- Most votes
- Most comments
1
To retrieve the cluster public key and cluster node IP addresses for your cluster using the Amazon Redshift CLI, run the describe-clusters command
aws redshift describe-clusters --cluster-identifier <cluster-identifier>
And then you securely store the SSH public key in AWS KMS. This ensures that the key is encrypted at rest and can only be accessed by authorized entities. Then implement AWS Lambda functions to handle authentication tasks, retrieving the public key from KMS when needed.
0
Hello Poliakov.
According to the documentation, you can connect to Redshift Serverless via JDBC and DATA API (CLI commands). Maybe you can adapt what you're doing to use the Data API. Hope this helps.
RS Connection Types: Connecting to Amazon Redshift Serverless
Data API: getting-started-with-amazon-redshift-data-api
Hope this helps.
answered 2 months ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
But "describe-clusters" and "cluster-identifier" applies to the provisioned redshift, not serverless? The question is about serverless. There are no "cluster" - but "namespaces" and "workgroups". I spent a lot of time looking for the key for those things. Could not find it.