diff --git a/scaleway-async/scaleway_async/container/v1beta1/api.py b/scaleway-async/scaleway_async/container/v1beta1/api.py index 9e85ad6f..15ca5c92 100644 --- a/scaleway-async/scaleway_async/container/v1beta1/api.py +++ b/scaleway-async/scaleway_async/container/v1beta1/api.py @@ -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. @@ -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 ` + :deprecated Usage: :: diff --git a/scaleway-async/scaleway_async/function/v1beta1/api.py b/scaleway-async/scaleway_async/function/v1beta1/api.py index 4c8c5537..cf47a7a5 100644 --- a/scaleway-async/scaleway_async/function/v1beta1/api.py +++ b/scaleway-async/scaleway_async/function/v1beta1/api.py @@ -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. @@ -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 ` + :deprecated Usage: :: diff --git a/scaleway/scaleway/container/v1beta1/api.py b/scaleway/scaleway/container/v1beta1/api.py index f950c519..e33ddb52 100644 --- a/scaleway/scaleway/container/v1beta1/api.py +++ b/scaleway/scaleway/container/v1beta1/api.py @@ -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. @@ -1436,6 +1437,7 @@ def create_token( :param description: Description of the token. :param expires_at: Expiry date of the token. :return: :class:`Token ` + :deprecated Usage: :: diff --git a/scaleway/scaleway/function/v1beta1/api.py b/scaleway/scaleway/function/v1beta1/api.py index e4840d1c..8e80bc8f 100644 --- a/scaleway/scaleway/function/v1beta1/api.py +++ b/scaleway/scaleway/function/v1beta1/api.py @@ -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. @@ -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 ` + :deprecated Usage: ::