File tree 4 files changed +120
-0
lines changed
scaleway/scaleway/secret/v1beta1
scaleway-async/scaleway_async/secret/v1beta1 4 files changed +120
-0
lines changed Original file line number Diff line number Diff line change 34
34
from .types import ListTagsRequest
35
35
from .types import ListTagsResponse
36
36
from .types import ProtectSecretRequest
37
+ from .types import SecretTypeBasicCredentials
38
+ from .types import SecretTypeDatabaseCredentials
39
+ from .types import SecretTypeSSHKey
37
40
from .types import UnprotectSecretRequest
38
41
from .types import UpdateSecretRequest
39
42
from .types import UpdateSecretVersionRequest
74
77
"ListTagsRequest" ,
75
78
"ListTagsResponse" ,
76
79
"ProtectSecretRequest" ,
80
+ "SecretTypeBasicCredentials" ,
81
+ "SecretTypeDatabaseCredentials" ,
82
+ "SecretTypeSSHKey" ,
77
83
"UnprotectSecretRequest" ,
78
84
"UpdateSecretRequest" ,
79
85
"UpdateSecretVersionRequest" ,
Original file line number Diff line number Diff line change @@ -725,6 +725,60 @@ class ProtectSecretRequest:
725
725
"""
726
726
727
727
728
+ @dataclass
729
+ class SecretTypeBasicCredentials :
730
+ username : str
731
+ """
732
+ The username or identifier associated with the credentials.
733
+ """
734
+
735
+ password : str
736
+ """
737
+ The password associated with the credentials.
738
+ """
739
+
740
+
741
+ @dataclass
742
+ class SecretTypeDatabaseCredentials :
743
+ engine : str
744
+ """
745
+ Supported database engines are: 'postgres', 'mysql', 'other'.
746
+ """
747
+
748
+ username : str
749
+ """
750
+ The username used to authenticate to the database server.
751
+ """
752
+
753
+ password : str
754
+ """
755
+ The password used to authenticate to the database server.
756
+ """
757
+
758
+ host : str
759
+ """
760
+ The hostname or resolvable DNS name of the database server.
761
+ """
762
+
763
+ dbname : str
764
+ """
765
+ The name of the database to connect to.
766
+ """
767
+
768
+ port : str
769
+ """
770
+ The port must be an integer ranging from 0 to 65535.
771
+ """
772
+
773
+
774
+ @dataclass
775
+ class SecretTypeSSHKey :
776
+ ssh_private_key : str
777
+ """
778
+ The private SSH key.
779
+ """
780
+
781
+
728
782
@dataclass
729
783
class UnprotectSecretRequest :
730
784
secret_id : str
Original file line number Diff line number Diff line change 34
34
from .types import ListTagsRequest
35
35
from .types import ListTagsResponse
36
36
from .types import ProtectSecretRequest
37
+ from .types import SecretTypeBasicCredentials
38
+ from .types import SecretTypeDatabaseCredentials
39
+ from .types import SecretTypeSSHKey
37
40
from .types import UnprotectSecretRequest
38
41
from .types import UpdateSecretRequest
39
42
from .types import UpdateSecretVersionRequest
74
77
"ListTagsRequest" ,
75
78
"ListTagsResponse" ,
76
79
"ProtectSecretRequest" ,
80
+ "SecretTypeBasicCredentials" ,
81
+ "SecretTypeDatabaseCredentials" ,
82
+ "SecretTypeSSHKey" ,
77
83
"UnprotectSecretRequest" ,
78
84
"UpdateSecretRequest" ,
79
85
"UpdateSecretVersionRequest" ,
Original file line number Diff line number Diff line change @@ -725,6 +725,60 @@ class ProtectSecretRequest:
725
725
"""
726
726
727
727
728
+ @dataclass
729
+ class SecretTypeBasicCredentials :
730
+ username : str
731
+ """
732
+ The username or identifier associated with the credentials.
733
+ """
734
+
735
+ password : str
736
+ """
737
+ The password associated with the credentials.
738
+ """
739
+
740
+
741
+ @dataclass
742
+ class SecretTypeDatabaseCredentials :
743
+ engine : str
744
+ """
745
+ Supported database engines are: 'postgres', 'mysql', 'other'.
746
+ """
747
+
748
+ username : str
749
+ """
750
+ The username used to authenticate to the database server.
751
+ """
752
+
753
+ password : str
754
+ """
755
+ The password used to authenticate to the database server.
756
+ """
757
+
758
+ host : str
759
+ """
760
+ The hostname or resolvable DNS name of the database server.
761
+ """
762
+
763
+ dbname : str
764
+ """
765
+ The name of the database to connect to.
766
+ """
767
+
768
+ port : str
769
+ """
770
+ The port must be an integer ranging from 0 to 65535.
771
+ """
772
+
773
+
774
+ @dataclass
775
+ class SecretTypeSSHKey :
776
+ ssh_private_key : str
777
+ """
778
+ The private SSH key.
779
+ """
780
+
781
+
728
782
@dataclass
729
783
class UnprotectSecretRequest :
730
784
secret_id : str
You can’t perform that action at this time.
0 commit comments