Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCannotRevert error = errors.New("cannot rollback version 1 of secret")
View Source
var ErrorSecretAlreadyExists error = errors.New("secret already exists")
View Source
var ErrorSecretNotFound error = errors.New("secret not found")
Functions ¶
This section is empty.
Types ¶
type BackupRequest ¶ added in v0.7.0
type BackupRequest struct {
Name string
}
type CreateSecretRequest ¶
type CreateSecretRequest struct { Key string Value SecretValue }
type DeleteSecretRequest ¶
type DeleteSecretRequest struct {
Key string
}
type HealthResponse ¶
type HealthResponse struct {
Status string
}
type ListSecretResponse ¶
type ListSecretResponse struct { Key string Versions []SecretVersion }
type ReadSecretRequest ¶
type ReadSecretRequest struct {
Key string
}
type RevertSecretRequest ¶
type RevertSecretRequest struct {
Key string
}
type Secret ¶
type Secret struct { Key string Value SecretValue Version SecretVersion }
type SecretValue ¶
type SecretValue []byte
type SecretVersion ¶
type SecretVersion uint16
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { Key string Value SecretValue }
Click to show internal directories.
Click to hide internal directories.