mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: improve provisioner key cli usability (#14834)
What this changes: - Unhides the `--key` flag on provisioner start - Deprecates and hides `provisionerd` command group in favor of `provisioner(s)` - Removes org id from `coder provisioner keys list`
This commit is contained in:
@@ -204,7 +204,7 @@ func convertProvisionerKeys(dbKeys []database.ProvisionerKey) []codersdk.Provisi
|
||||
CreatedAt: dbKey.CreatedAt,
|
||||
OrganizationID: dbKey.OrganizationID,
|
||||
Name: dbKey.Name,
|
||||
Tags: dbKey.Tags,
|
||||
Tags: codersdk.ProvisionerKeyTags(dbKey.Tags),
|
||||
// HashedSecret - never include the access token in the API response
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user