Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e343c72

Browse files
Updated policy in README.md
1 parent 9d835a0 commit e343c72

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎oci-objectstorage-get-object-java/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ ALL {resource.type = 'fnfunc', resource.compartment.id = 'ocid1.compartment.oc1.
5050

5151

5252
## Create or Update IAM Policies
53-
Create a new policy that allows the dynamic group to read `object-family` in
53+
Create a new policy that allows the dynamic group to `read objects` in
5454
the functions related compartment.
5555

5656
![user input icon](../images/userinput.png)
5757

5858
Your policy should look something like this:
5959
```
60-
Allow dynamic-group <dynamic-group-name> to read object-family in compartment <compartment-name>
60+
Allow dynamic-group <dynamic-group-name> to read objects in compartment <compartment-name>
6161
```
6262
e.g.
6363
```
64-
Allow dynamic-group demo-func-dyn-group to read object-family in compartment demo-func-compartment
64+
Allow dynamic-group demo-func-dyn-group to read objects in compartment demo-func-compartment
6565
```
6666
For more information on how to create policies, go [here](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policysyntax.htm).
6767

@@ -105,7 +105,7 @@ fn config app <app-name> NAMESPACE <object-storage-namespace>
105105
```
106106
e.g.
107107
```
108-
fn config app myapp NAMESPACE mytenancy
108+
fn config app myapp NAMESPACE myobjnamespace
109109
```
110110

111111
Note that the config value can also be set at the function level.

‎oci-objectstorage-put-object-java/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ echo -n '{"name": "<object-name>", "bucketName":"<bucket-name>", "content": "<te
126126
```
127127
e.g.
128128
```
129-
echo -n '{"name": "file1.txt", "bucketName":"test", "content": "This file was created in OCI object storage bucket using Oracle Functions"}' | fn invoke myapp oci-objectstorage-put-object-java
129+
echo -n '{"name": "file1.txt", "bucketName":"mybucket", "content": "This file was created in OCI object storage bucket using Oracle Functions"}' | fn invoke myapp oci-objectstorage-put-object-java
130130
```
131131
You should see a success message appear in your terminal.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /