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
35 changes: 18 additions & 17 deletions lib/secrets/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ import (
)

type SiteSecret struct {
DevAdminToken string `json:"dev-admin-token"` // likely to be removed
DevClientSecret string `json:"dev-client-secret"`
DevDBPassword string `json:"dev-db-password"`
DevLicense string `json:"dev-license"`
DevUserToken string `json:"dev-user-token"` // likely to be removed
DevChronicleApiKey string `json:"dev-chronicle-api-key"`
HomeAuthMap string `json:"home-auth-map"`
KeycloakDBUser string `json:"keycloak-db-user"`
KeycloakDBPassword string `json:"keycloak-db-password"`
PkgDBPassword string `json:"pkg-db-password"`
PkgLicense string `json:"pkg-license"`
PkgSecretKey string `json:"pkg-secret-key"`
PubClientSecret string `json:"pub-client-secret"`
PubDBPassword string `json:"pub-db-password"`
PubLicense string `json:"pub-license"`
PubSecretKey string `json:"pub-secret-key"`
PubChronicleApiKey string `json:"pub-chronicle-api-key"`
DevAdminToken string `json:"dev-admin-token"` // likely to be removed
DevClientSecret string `json:"dev-client-secret"`
DevDBPassword string `json:"dev-db-password"`
DevLicense string `json:"dev-license"`
DevUserToken string `json:"dev-user-token"` // likely to be removed
DevChronicleApiKey string `json:"dev-chronicle-api-key"`
HomeAuthMap string `json:"home-auth-map"`
KeycloakDBUser string `json:"keycloak-db-user"`
KeycloakDBPassword string `json:"keycloak-db-password"`
PkgDBPassword string `json:"pkg-db-password"`
PkgLicense string `json:"pkg-license"`
PkgSecretKey string `json:"pkg-secret-key"`
PpmOidcClientSecret string `json:"ppm-oidc-client-secret"`
PubClientSecret string `json:"pub-client-secret"`
PubDBPassword string `json:"pub-db-password"`
PubLicense string `json:"pub-license"`
PubSecretKey string `json:"pub-secret-key"`
PubChronicleApiKey string `json:"pub-chronicle-api-key"`
}

func NewSiteSecret(siteName string) SiteSecret {
Expand Down
1 change: 1 addition & 0 deletions python-pulumi/src/ptd/secrecy.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class AzureWorkloadSecret(typing.TypedDict):
"pkg-db-password": str,
"pkg-license": str,
"pkg-secret-key": str,
"ppm-oidc-client-secret": str,
"pub-client-secret": str,
"pub-db-password": str,
"pub-license": str,
Expand Down
Loading