mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: NATS mTLS pubsub implementation (#26902)
This commit is contained in:
@@ -5521,6 +5521,12 @@ const (
|
||||
CryptoKeyFeatureWorkspaceAppsToken CryptoKeyFeature = "workspace_apps_token"
|
||||
CryptoKeyFeatureOIDCConvert CryptoKeyFeature = "oidc_convert"
|
||||
CryptoKeyFeatureTailnetResume CryptoKeyFeature = "tailnet_resume"
|
||||
// CryptoKeyFeatureNATSCA is the CA that signs NATS cluster mTLS leaf
|
||||
// certificates. Its secret is a PEM cert+key bundle (not a hex secret like
|
||||
// the other features) and contains a private key, so it must never be
|
||||
// served over the API. It is deliberately excluded from
|
||||
// whitelistedCryptoKeyFeatures in enterprise/coderd/workspaceproxy.go.
|
||||
CryptoKeyFeatureNATSCA CryptoKeyFeature = "nats_ca"
|
||||
)
|
||||
|
||||
type CryptoKey struct {
|
||||
|
||||
Reference in New Issue
Block a user