@@ -227,6 +227,13 @@ export type AddSecretOwnerRequest = {
227227 product ?: Product
228228}
229229
230+ export interface BasicCredentials {
231+ /** The username or identifier associated with the credentials. */
232+ username : string
233+ /** The password associated with the credentials. */
234+ password : string
235+ }
236+
230237export type BrowseSecretsRequest = {
231238 /**
232239 * Region to target. If none is passed will use default region from the
@@ -312,6 +319,21 @@ export type CreateSecretVersionRequest = {
312319 dataCrc32 ?: number
313320}
314321
322+ export interface DatabaseCredentials {
323+ /** Supported database engines are: 'postgres', 'mysql', 'other'. */
324+ engine : string
325+ /** The username used to authenticate to the database server. */
326+ username : string
327+ /** The password used to authenticate to the database server. */
328+ password : string
329+ /** The hostname or resolvable DNS name of the database server. */
330+ host : string
331+ /** The name of the database to connect to. */
332+ dbname : string
333+ /** The port must be an integer ranging from 0 to 65535. */
334+ port : string
335+ }
336+
315337export type DeleteSecretRequest = {
316338 /**
317339 * Region to target. If none is passed will use default region from the
@@ -490,29 +512,7 @@ export type ProtectSecretRequest = {
490512 secretId : string
491513}
492514
493- export interface SecretTypeBasicCredentials {
494- /** The username or identifier associated with the credentials. */
495- username : string
496- /** The password associated with the credentials. */
497- password : string
498- }
499-
500- export interface SecretTypeDatabaseCredentials {
501- /** Supported database engines are: 'postgres', 'mysql', 'other'. */
502- engine : string
503- /** The username used to authenticate to the database server. */
504- username : string
505- /** The password used to authenticate to the database server. */
506- password : string
507- /** The hostname or resolvable DNS name of the database server. */
508- host : string
509- /** The name of the database to connect to. */
510- dbname : string
511- /** The port must be an integer ranging from 0 to 65535. */
512- port : string
513- }
514-
515- export interface SecretTypeSSHKey {
515+ export interface SSHKey {
516516 /** The private SSH key. */
517517 sshPrivateKey : string
518518}
0 commit comments