From the course: Building Applications Using Amazon Bedrock

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Setting permissions for Amazon Kendra

Setting permissions for Amazon Kendra

- [Instructor] In order to be able to retrieve results from Amazon Kendra, we will need to give our IAM user permissions to access Kendra via a permissions policy that can be attached to our group. Let's set that up now. So head over to the AWS Console. You could start searching for IAM and click on Groups. We're going to click on our bedrock group that we created, and click on the Permissions tab. And we're going to add permissions and attach a policy. We can search here for Kendra, and I'm going to select here, AmazonKendraFullAccess. But of course, in a production environment, you can select a less restrictive permission policy. We're just doing that here for our course. And next, click on Attach policies. Now that our access is set up, we can proceed to test out our application. It's probably a good idea to restart your code spaces environment before testing things out. You can stop it and then relaunch it in a browser.…

Contents