oracleobjectstorage: make specifying compartmentid optional

This commit is contained in:
Manoj Ghosh 2024-11-15 00:52:42 -08:00
parent 01ccf204f4
commit d912b4a00b
2 changed files with 5 additions and 4 deletions

View File

@ -106,9 +106,9 @@ func newOptions() []fs.Option {
Sensitive: true,
}, {
Name: "compartment",
Help: "Object storage compartment OCID",
Help: "Specify compartment OCID, if you need to list buckets.\nList objects works without compartment OCID",
Provider: "!no_auth",
Required: true,
Required: false,
Sensitive: true,
}, {
Name: "region",

View File

@ -340,7 +340,8 @@ Properties:
#### --oos-compartment
Object storage compartment OCID
Specify compartment OCID, if you need to list buckets.
List objects works without compartment OCID
Properties:
@ -348,7 +349,7 @@ Properties:
- Env Var: RCLONE_OOS_COMPARTMENT
- Provider: !no_auth
- Type: string
- Required: true
- Required: false
#### --oos-region