Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
688bb3e
fix index links
k0ka Jan 17, 2024
ebf3ad6
check adding index to toc
k0ka Jan 17, 2024
179be75
check adding index to toc
k0ka Jan 17, 2024
ef5df8a
playing with toc
k0ka Jan 17, 2024
807a13b
add OpenStack creation
k0ka Jan 17, 2024
23d1685
add OpenStack creation
k0ka Jan 17, 2024
692b514
fix OpenStack creation
k0ka Jan 17, 2024
ef887d4
fix OpenStack creation
k0ka Jan 17, 2024
09c629f
fix OpenStack creation
k0ka Jan 17, 2024
7cc793c
doc fixes
k0ka Jan 17, 2024
70f27c3
add collapsible auth code
k0ka Jan 17, 2024
dc8d9d6
add collapsible auth code
k0ka Jan 17, 2024
34b838e
add collapsible auth code
k0ka Jan 17, 2024
074efe4
add collapsible auth code
k0ka Jan 17, 2024
6e851df
fix styling
k0ka Jan 17, 2024
4773de8
Merge branch 'master' into rewrite-docs
k0ka Jan 17, 2024
b545ad3
typo
k0ka Jan 17, 2024
d23c1e4
add collapsible auth code
k0ka Jan 18, 2024
67a36de
add collapsible auth code
k0ka Jan 18, 2024
3971434
fix docs
k0ka Jan 18, 2024
200360e
fix docs
k0ka Jan 18, 2024
a8da1e0
fix docs
k0ka Jan 18, 2024
8b2f4e6
remove code example
k0ka Jan 18, 2024
e2da944
testing docs
k0ka Jan 18, 2024
51e45c7
testing docs
k0ka Jan 18, 2024
0f00809
testing docs
k0ka Jan 18, 2024
4287776
testing docs
k0ka Jan 18, 2024
8e9c1b5
testing docs
k0ka Jan 18, 2024
b12a1a0
show authentication samples
k0ka Jan 18, 2024
9cabf4c
fix link
k0ka Jan 18, 2024
92d48d2
credentials doc
k0ka Jan 18, 2024
ee326c7
- add osdoc
k0ka Jan 18, 2024
a313d7c
fix osdoc
k0ka Jan 18, 2024
9cc4929
check include
k0ka Jan 18, 2024
404f581
added service.rst
k0ka Jan 18, 2024
933bf4b
fix documentation for identity v2 and v3
k0ka Jan 19, 2024
a3d2792
clarify auth docs
k0ka Jan 19, 2024
3572575
fix samples
k0ka Jan 19, 2024
090571a
- Block Storage
k0ka Jan 19, 2024
d349536
fix sample name
k0ka Jan 19, 2024
fdfd5b6
fix compute v2
k0ka Jan 19, 2024
a14ea62
Apply php-cs-fixer changes
k0ka Jan 19, 2024
d22523e
images service doc
k0ka Jan 19, 2024
fa2bcd9
unify create-service docs
k0ka Jan 20, 2024
7af31ed
upgrade object store docs
k0ka Jan 21, 2024
52df2be
Merge branch 'master' into rewrite-docs
k0ka Jan 27, 2024
8eba760
new docs for networking
k0ka Jan 30, 2024
e4fe49c
final fixes
k0ka Jan 30, 2024
6b4feae
run tests
k0ka Jan 30, 2024
c8b197e
fix test
k0ka Jan 30, 2024
2a0446c
fix test
k0ka Jan 30, 2024
82d75b5
fix tests
k0ka Jan 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clarify auth docs
  • Loading branch information
k0ka committed Jan 19, 2024
commit a3d279211375383dfc6c95bf189afb5f98fb5a56
2 changes: 2 additions & 0 deletions doc/services/identity/v3/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ In order to work with the service you have to :doc:`setup the client </setup>` f
Service can be created via ``identityV3()`` method of the ``OpenStack`` object.

.. sample:: Identity/v3/create.php
:full:

A list of additional options can be passed to the method. For example, to change the region:

.. sample:: Identity/v3/create_with_region.php
:full:
33 changes: 14 additions & 19 deletions doc/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,27 @@ There are different ways to provide the authentication credentials. See the :doc
section for the full list of options. You should provide credentials to the ``OpenStack`` constructor as an array
the same way you provide options to ``generateToken`` method of the ``Identity`` service.

Authenticate with user ID
~~~~~~~~~~~~~~~~~~~~~~~~~

.. sample:: Setup/user_id.php

Authenticate with username
~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------

.. sample:: Setup/username.php
The most common way to authenticate is using the username and password of the user. You should also provide the Domain ID
as usernames will not be unique across an entire OpenStack installation

Authenticate application credential ID
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. sample:: Setup/username.php

.. sample:: Setup/application_credential_id.php
Authenticate with user ID
--------------------------

Authenticate from ID
~~~~~~~~~~~~~~~~~~~~
.. sample:: Setup/user_id.php

.. sample:: Setup/from_id.php
Authenticate application credential ID
--------------------------------------

Scope to project ID
~~~~~~~~~~~~~~~~~~~
.. sample:: Setup/application_credential_id.php

.. sample:: Setup/scoped_to_project_id.php
Authenticate using token ID
--------------------------

Scope to project name
~~~~~~~~~~~~~~~~~~~~~
If you already have a valid token, you can use it to authenticate.

.. sample:: Setup/scoped_to_project_name.php
.. sample:: Setup/token_id.php
1 change: 0 additions & 1 deletion samples/Identity/v3/create_with_region.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

$openstack = new OpenStack\OpenStack([
'authUrl' => '{authUrl}',
'region' => '{region}',
'user' => [
'id' => '{userId}',
'password' => '{password}'
Expand Down
15 changes: 0 additions & 15 deletions samples/Setup/scoped_to_project_id.php

This file was deleted.

20 changes: 0 additions & 20 deletions samples/Setup/scoped_to_project_name.php

This file was deleted.

File renamed without changes.