You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "0- represents user-defined credentials, defaults to 0. 1- represents the user's cloud product credentials. 2- represents SSH key pair credentials. 3- represents cloud API key pair credentials.",
78
+
},
79
+
"product_name": {
80
+
Type: schema.TypeString,
81
+
Optional: true,
82
+
Description: "This parameter only takes effect when the SecretType parameter value is 1. When the SecretType value is 1, if the Product Name value is empty, it means to query all types of cloud product credentials. If the Product Name value is MySQL, it means to query MySQL database credentials. If the Product Name value is Tdsql mysql, it means to query Tdsql (MySQL version) credentials.",
Description: "KMS CMK type used to encrypt credentials, DEFAULT represents the default key created by SecretsManager, and CUSTOMER represents the user specified key.",
134
+
},
135
+
"rotation_status": {
136
+
Type: schema.TypeInt,
137
+
Computed: true,
138
+
Description: "1: - Turn on the rotation; 0- No rotation Note: This field may return null, indicating that a valid value cannot be obtained.",
139
+
},
140
+
"next_rotation_time": {
141
+
Type: schema.TypeInt,
142
+
Computed: true,
143
+
Description: "Next rotation start time, uinx timestamp.",
144
+
},
145
+
"secret_type": {
146
+
Type: schema.TypeInt,
147
+
Computed: true,
148
+
Description: "0- User defined credentials; 1- Cloud product credentials; 2- SSH key pair credentials; 3- Cloud API key pair credentials.",
149
+
},
150
+
"product_name": {
151
+
Type: schema.TypeString,
152
+
Computed: true,
153
+
Description: "Cloud product name, only effective when SecretType is 1, which means the credential type is cloud product credential.",
154
+
},
155
+
"resource_name": {
156
+
Type: schema.TypeString,
157
+
Computed: true,
158
+
Description: "When the credential type is SSH key pair credential, this field is valid and is used to represent the name of the SSH key pair credential.",
159
+
},
160
+
"project_id": {
161
+
Type: schema.TypeInt,
162
+
Computed: true,
163
+
Description: "When the credential type is SSH key pair credential, this field is valid and represents the item ID to which the SSH key pair belongs.",
164
+
},
165
+
"associated_instance_ids": {
166
+
Type: schema.TypeList,
167
+
Computed: true,
168
+
Elem: &schema.Schema{Type: schema.TypeString},
169
+
Description: "When the credential type is SSH key pair credential, this field is valid and is used to represent the CVM instance ID associated with the SSH key pair.",
170
+
},
171
+
"target_uin": {
172
+
Type: schema.TypeInt,
173
+
Computed: true,
174
+
Description: "When the credential type is a cloud API key pair credential, this field is valid and is used to represent the user UIN to which the cloud API key pair belongs.",
175
+
},
176
+
"rotation_frequency": {
177
+
Type: schema.TypeInt,
178
+
Computed: true,
179
+
Description: "The frequency of rotation, in days, takes effect when rotation is on.",
180
+
},
181
+
"resource_id": {
182
+
Type: schema.TypeString,
183
+
Computed: true,
184
+
Description: "The cloud product instance ID number corresponding to the cloud product credentials.",
185
+
},
186
+
"rotation_begin_time": {
187
+
Type: schema.TypeString,
188
+
Computed: true,
189
+
Description: "The user specified rotation start time.",
0 commit comments