Skip to content

Commit

Permalink
update tutorials for caching secrets for non-aws models (opensearch-p…
Browse files Browse the repository at this point in the history
…roject#2637) (opensearch-project#2673)

Signed-off-by: Xun Zhang <[email protected]>
(cherry picked from commit 2058d76)

Co-authored-by: Xun Zhang <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and Zhangxunmt authored Jul 18, 2024
1 parent 91f1c5b commit 3df1ab7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/tutorials/aws/AIConnectorHelper.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@
" {\n",
" \"Action\": [\n",
" \"secretsmanager:GetSecretValue\"\n",
" \"secretsmanager:DescribeSecret\"\n",
" ],\n",
" \"Effect\": \"Allow\",\n",
" \"Resource\": secret_arn\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Go to IAM console, create IAM role `my_cohere_secret_role` with:
"Statement": [
{
"Action": [
"secretsmanager:GetSecretValue"
"secretsmanager:GetSecretValue",
"secretsmanager:DescribeSecret"
],
"Effect": "Allow",
"Resource": "your_secret_arn_created_in_step1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ Go to IAM console, create IAM role `my_openai_secret_role` with:
"Statement": [
{
"Action": [
"secretsmanager:GetSecretValue"
"secretsmanager:GetSecretValue",
"secretsmanager:DescribeSecret"
],
"Effect": "Allow",
"Resource": "your_secret_arn_created_in_step1"
Expand Down

0 comments on commit 3df1ab7

Please sign in to comment.