mirror of
https://github.com/hanzoai/kms-operator.git
synced 2026-10-30 18:32:57 +00:00
White-label KMS secrets operator for Kubernetes. Updated image references from kms/kubernetes-operator to ghcr.io/hanzoai/kms-operator.
38 lines
790 B
Go
38 lines
790 B
Go
package model
|
|
|
|
type ServiceAccountDetails struct {
|
|
AccessKey string
|
|
PublicKey string
|
|
PrivateKey string
|
|
}
|
|
|
|
type MachineIdentityDetails struct {
|
|
ClientId string
|
|
ClientSecret string
|
|
}
|
|
|
|
type SingleEnvironmentVariable struct {
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
SecretPath string `json:"secretPath"`
|
|
Type string `json:"type"`
|
|
ID string `json:"id"`
|
|
}
|
|
|
|
type SecretTemplateOptions struct {
|
|
Value string `json:"value"`
|
|
SecretPath string `json:"secretPath"`
|
|
}
|
|
|
|
type Project struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Slug string `json:"slug"`
|
|
OrgID string `json:"orgId"`
|
|
Environments []struct {
|
|
Name string `json:"name"`
|
|
Slug string `json:"slug"`
|
|
ID string `json:"id"`
|
|
}
|
|
}
|