-
Notifications
You must be signed in to change notification settings - Fork 894
chore: Add workspace proxy enterprise cli commands #7176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
b552283
d6dd9e7
c2ccfab
a8a3781
901d695
d6c7570
7fc66d6
63cbc79
82258ef
5ac70d5
b232f28
8a549a9
dc44a71
daff0ab
d237b19
5356400
ec46e59
983f216
c422399
f921a1d
c0fa5ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -621,6 +621,17 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd. | |
} | ||
} | ||
|
||
if cfg.Dangerous.DevAppSecurityKey.Value() != "" { | ||
_, err := workspaceapps.KeyFromString(cfg.Dangerous.DevAppSecurityKey.Value()) | ||
if err != nil { | ||
return xerrors.Errorf("invalid dev app security key: %w", err) | ||
} | ||
err = tx.UpsertAppSecurityKey(ctx, cfg.Dangerous.DevAppSecurityKey.Value()) | ||
if err != nil { | ||
return xerrors.Errorf("Insert dev app security key: %w", err) | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will be removed when we do this over an authenticated api |
||
|
||
// Read the app signing key from the DB. We store it hex encoded | ||
// since the config table uses strings for the value and we | ||
// don't want to deal with automatic encoding issues. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.