Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceClient ¶
func NewServiceClient(client neon.Client) lambda.ServiceClient
NewServiceClient initiates the `ServiceClient` to rotate credentials for Neon user.
Types ¶
type SecretAdmin ¶
type SecretAdmin struct {
// Token Neon API token
Token string `json:"token"`
}
SecretAdmin defines the secret with the db admin access details.
type SecretUser ¶
type SecretUser struct {
// User Neon role
User string `json:"user"`
// Password Neon role's access password
Password string `json:"password"`
// Host Neon endpoint URI to access database
Host string `json:"host"`
// ProjectID Neon project ID
ProjectID string `json:"project_id"`
// BranchID Neon branch ID
BranchID string `json:"branch_id"`
// DatabaseName Neon database name
DatabaseName string `json:"dbname"`
}
SecretUser defines the secret with db user access details.
Click to show internal directories.
Click to hide internal directories.