Skip to content

Commit

Permalink
update tutorials for caching secrets for non-aws models (#2637)
Browse files Browse the repository at this point in the history
Signed-off-by: Xun Zhang <[email protected]>
(cherry picked from commit 2058d76)
  • Loading branch information
Zhangxunmt authored and github-actions[bot] committed Jul 18, 2024
1 parent 7eadf6d commit 0c0c62d
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 0c0c62d

Please sign in to comment.