Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/clients/src/api/secret/v1beta1/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export type {
AccessSecretVersionRequest,
AccessSecretVersionResponse,
AddSecretOwnerRequest,
BasicCredentials,
BrowseSecretsRequest,
BrowseSecretsRequestOrderBy,
BrowseSecretsResponse,
Expand All @@ -14,6 +15,7 @@ export type {
BrowseSecretsResponseItemSecretDetails,
CreateSecretRequest,
CreateSecretVersionRequest,
DatabaseCredentials,
DeleteSecretRequest,
DeleteSecretVersionRequest,
DisableSecretVersionRequest,
Expand All @@ -32,12 +34,10 @@ export type {
ListTagsResponse,
Product,
ProtectSecretRequest,
SSHKey,
Secret,
SecretStatus,
SecretType,
SecretTypeBasicCredentials,
SecretTypeDatabaseCredentials,
SecretTypeSSHKey,
SecretVersion,
SecretVersionStatus,
UnprotectSecretRequest,
Expand Down
46 changes: 23 additions & 23 deletions packages/clients/src/api/secret/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@ export type AddSecretOwnerRequest = {
product?: Product
}

export interface BasicCredentials {
/** The username or identifier associated with the credentials. */
username: string
/** The password associated with the credentials. */
password: string
}

export type BrowseSecretsRequest = {
/**
* Region to target. If none is passed will use default region from the
Expand Down Expand Up @@ -312,6 +319,21 @@ export type CreateSecretVersionRequest = {
dataCrc32?: number
}

export interface DatabaseCredentials {
/** Supported database engines are: 'postgres', 'mysql', 'other'. */
engine: string
/** The username used to authenticate to the database server. */
username: string
/** The password used to authenticate to the database server. */
password: string
/** The hostname or resolvable DNS name of the database server. */
host: string
/** The name of the database to connect to. */
dbname: string
/** The port must be an integer ranging from 0 to 65535. */
port: string
}

export type DeleteSecretRequest = {
/**
* Region to target. If none is passed will use default region from the
Expand Down Expand Up @@ -490,29 +512,7 @@ export type ProtectSecretRequest = {
secretId: string
}

export interface SecretTypeBasicCredentials {
/** The username or identifier associated with the credentials. */
username: string
/** The password associated with the credentials. */
password: string
}

export interface SecretTypeDatabaseCredentials {
/** Supported database engines are: 'postgres', 'mysql', 'other'. */
engine: string
/** The username used to authenticate to the database server. */
username: string
/** The password used to authenticate to the database server. */
password: string
/** The hostname or resolvable DNS name of the database server. */
host: string
/** The name of the database to connect to. */
dbname: string
/** The port must be an integer ranging from 0 to 65535. */
port: string
}

export interface SecretTypeSSHKey {
export interface SSHKey {
/** The private SSH key. */
sshPrivateKey: string
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

export const SecretTypeDatabaseCredentials = {
export const DatabaseCredentials = {
port: {
pattern: /^[0-9]+$/,
},
Expand Down