Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions scaleway-async/scaleway_async/container/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,7 @@ async def create_token(
) -> Token:
"""
Create a new revocable token.
Deprecated in favor of IAM authentication.
:param region: Region to target. If none is passed will use default region from the config.
:param container_id: UUID of the container to create the token for.
One-Of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
Expand All @@ -1440,6 +1441,7 @@ async def create_token(
:param description: Description of the token.
:param expires_at: Expiry date of the token.
:return: :class:`Token <Token>`
:deprecated

Usage:
::
Expand Down
2 changes: 2 additions & 0 deletions scaleway-async/scaleway_async/function/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,6 +1485,7 @@ async def create_token(
) -> Token:
"""
Create a new revocable token.
Deprecated in favor of IAM authentication.
:param region: Region to target. If none is passed will use default region from the config.
:param function_id: UUID of the function to associate the token with.
One-Of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
Expand All @@ -1493,6 +1494,7 @@ async def create_token(
:param description: Description of the token.
:param expires_at: Date on which the token expires.
:return: :class:`Token <Token>`
:deprecated

Usage:
::
Expand Down
2 changes: 2 additions & 0 deletions scaleway/scaleway/container/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,7 @@ def create_token(
) -> Token:
"""
Create a new revocable token.
Deprecated in favor of IAM authentication.
:param region: Region to target. If none is passed will use default region from the config.
:param container_id: UUID of the container to create the token for.
One-Of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
Expand All @@ -1436,6 +1437,7 @@ def create_token(
:param description: Description of the token.
:param expires_at: Expiry date of the token.
:return: :class:`Token <Token>`
:deprecated

Usage:
::
Expand Down
2 changes: 2 additions & 0 deletions scaleway/scaleway/function/v1beta1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,7 @@ def create_token(
) -> Token:
"""
Create a new revocable token.
Deprecated in favor of IAM authentication.
:param region: Region to target. If none is passed will use default region from the config.
:param function_id: UUID of the function to associate the token with.
One-Of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
Expand All @@ -1489,6 +1490,7 @@ def create_token(
:param description: Description of the token.
:param expires_at: Date on which the token expires.
:return: :class:`Token <Token>`
:deprecated

Usage:
::
Expand Down