mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 21:51:56 +00:00
Add list accessible ssh hosts endpoint
This commit is contained in:
@@ -16,7 +16,7 @@ export const SshHostsPage = () => {
|
||||
<div className="container mx-auto flex flex-col justify-between bg-bunker-800 text-white">
|
||||
<div className="mx-auto mb-6 w-full max-w-7xl">
|
||||
<PageHeader
|
||||
title="Overview"
|
||||
title="Hosts"
|
||||
description="Infisical SSH lets you issue SSH credentials to clients to provide short-lived, secure SSH access to infrastructure."
|
||||
/>
|
||||
<SshHostsSection />
|
||||
|
||||
@@ -52,17 +52,8 @@ export const SshHostsTable = ({ handlePopUpOpen }: Props) => {
|
||||
data.map((host) => {
|
||||
return (
|
||||
<Tr
|
||||
className="h-10"
|
||||
className="h-10 cursor-pointer transition-colors duration-100 hover:bg-mineshaft-700"
|
||||
key={`ssh-host-${host.id}`}
|
||||
// onClick={() =>
|
||||
// navigate({
|
||||
// to: `/${ProjectType.SSH}/$projectId/ca/$caId` as const,
|
||||
// params: {
|
||||
// projectId: currentWorkspace.id,
|
||||
// caId: ca.id
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
>
|
||||
<Td>{host.hostname}</Td>
|
||||
<Td className="flex justify-end">
|
||||
|
||||
Reference in New Issue
Block a user