File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
scaleway-async/scaleway_async Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1432,6 +1432,7 @@ async def create_token(
14321432 ) -> Token :
14331433 """
14341434 Create a new revocable token.
1435+ Deprecated in favor of IAM authentication.
14351436 :param region: Region to target. If none is passed will use default region from the config.
14361437 :param container_id: UUID of the container to create the token for.
14371438 One-Of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
@@ -1440,6 +1441,7 @@ async def create_token(
14401441 :param description: Description of the token.
14411442 :param expires_at: Expiry date of the token.
14421443 :return: :class:`Token <Token>`
1444+ :deprecated
14431445
14441446 Usage:
14451447 ::
Original file line number Diff line number Diff line change @@ -1485,6 +1485,7 @@ async def create_token(
14851485 ) -> Token :
14861486 """
14871487 Create a new revocable token.
1488+ Deprecated in favor of IAM authentication.
14881489 :param region: Region to target. If none is passed will use default region from the config.
14891490 :param function_id: UUID of the function to associate the token with.
14901491 One-Of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
@@ -1493,6 +1494,7 @@ async def create_token(
14931494 :param description: Description of the token.
14941495 :param expires_at: Date on which the token expires.
14951496 :return: :class:`Token <Token>`
1497+ :deprecated
14961498
14971499 Usage:
14981500 ::
Original file line number Diff line number Diff line change @@ -1428,6 +1428,7 @@ def create_token(
14281428 ) -> Token :
14291429 """
14301430 Create a new revocable token.
1431+ Deprecated in favor of IAM authentication.
14311432 :param region: Region to target. If none is passed will use default region from the config.
14321433 :param container_id: UUID of the container to create the token for.
14331434 One-Of ('scope'): at most one of 'container_id', 'namespace_id' could be set.
@@ -1436,6 +1437,7 @@ def create_token(
14361437 :param description: Description of the token.
14371438 :param expires_at: Expiry date of the token.
14381439 :return: :class:`Token <Token>`
1440+ :deprecated
14391441
14401442 Usage:
14411443 ::
Original file line number Diff line number Diff line change @@ -1481,6 +1481,7 @@ def create_token(
14811481 ) -> Token :
14821482 """
14831483 Create a new revocable token.
1484+ Deprecated in favor of IAM authentication.
14841485 :param region: Region to target. If none is passed will use default region from the config.
14851486 :param function_id: UUID of the function to associate the token with.
14861487 One-Of ('scope'): at most one of 'function_id', 'namespace_id' could be set.
@@ -1489,6 +1490,7 @@ def create_token(
14891490 :param description: Description of the token.
14901491 :param expires_at: Date on which the token expires.
14911492 :return: :class:`Token <Token>`
1493+ :deprecated
14921494
14931495 Usage:
14941496 ::
You can’t perform that action at this time.
0 commit comments