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
7 changes: 7 additions & 0 deletions lib/client/ca_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ func exportAuth(ctx context.Context, client auth.ClientI, req ExportAuthoritiesR
ExportPrivateKeys: exportSecrets,
}
return exportTLSAuthority(ctx, client, req)
case "tls-spiffe":
req := exportTLSAuthorityRequest{
AuthType: types.SPIFFECA,
UnpackPEM: false,
ExportPrivateKeys: exportSecrets,
}
return exportTLSAuthority(ctx, client, req)
case "db":
req := exportTLSAuthorityRequest{
AuthType: types.DatabaseCA,
Expand Down
1 change: 1 addition & 0 deletions tool/tctl/common/auth_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ var allowedCertificateTypes = []string{
"tls-host",
"tls-user",
"tls-user-der",
"tls-spiffe",
"windows",
"db",
"db-der",
Expand Down