Skip to content

Commit

Permalink
Expand list of equivalent variable names from Identity v2 and v3 (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
iksaku authored Oct 7, 2020
1 parent 242a1a2 commit 51ed985
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ and you should now have a working OVH Object Storage setup :smile:.

The environment variable `OS_AUTH_URL` is normally not going to be any different for OVH users and hence doesn't need to
be specified. To get the values for remaining variables (like `OS_USERNAME`, `OS_REGION_NAME`, `OS_CONTAINER_NAME`,
etc... `OS_PROJECT_ID` is equivalent to `OS_TENANT_ID`), you can download the configuration file with details from OVH's Horizon or Control Panel:
etc...), you can download the configuration file with details from OVH's Horizon or Control Panel:
- **OVH Control Panel**: `Public cloud -> Project Management -> Users & Roles -> Download Openstack's RC file`
- **OVH Horizon**: `Project -> API Access -> Download OpenStack RC File -> Identity API v3`

Expand All @@ -93,6 +93,16 @@ Be sure to clear your app's config cache after finishing this library's configur
php artisan config:cache
```

**NOTE**: Downloading your RC config file from **OVH Control Panel** will provide **Identity v2** variable names.
However, for this package, the following variables are equivalent:

| `laravel-ovh` variable name | OVH's RC variable name |
| --------------------------- | ---------------------- |
| `OS_PROJECT_ID` | `OS_TENANT_ID` |
| `OS_PROJECT_NAME` | `OS_TENANT_NAME` |

You can safely place the values from the Identity v2 variables and place them in the corresponding variable for this package.

## Upgrade Notes

### From 3.x to 4.x
Expand Down

0 comments on commit 51ed985

Please sign in to comment.