13 lines
371 B
JavaScript
13 lines
371 B
JavaScript
import { cubes } from '@bitsquare/nopy';
|
|
import { z } from 'zod';
|
|
|
|
export default cubes.Manifest({
|
|
id: 'ssh:authorize',
|
|
name: 'Authorize SSH public key for a user',
|
|
dependencies: () => [],
|
|
schema: z.object({
|
|
USER: z.string().describe('Username to authorize').default('vagrant'),
|
|
PUBKEY: z.string().describe('SSH public key string').default(''),
|
|
}),
|
|
});
|