{"modulePath":"github.com/brevdev/brev-cli","version":"v0.6.337","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package grantssh\n\nPackage grantssh provides the brev grant-ssh command for granting SSH access to a registered device for another org member.\n\n## Functions\n\n```go\nfunc NewCmdGrantSSH(t *terminal.Terminal, store GrantSSHStore) *cobra.Command\n```\n\n## Types\n\n```go\ntype GrantSSHStore interface {\n\tauth.APIKeyAuthStore\n\tGetCurrentUser() (*entity.User, error)\n\tGetActiveOrganizationOrDefault() (*entity.Organization, error)\n\tGetOrganizationsByName(name string) ([]entity.Organization, error)\n\tListOrganizations() ([]entity.Organization, error)\n\tGetAccessToken() (string, error)\n\tListOrganizationMembers(ctx context.Context, orgID string) ([]*nodev1.OrganizationMember, error)\n\tGetUserByID(userID string) (*entity.User, error)\n}\n```\nGrantSSHStore defines the store methods needed by the grant-ssh command.\n\n","path":"github.com/brevdev/brev-cli/pkg/cmd/grantssh","name":"grantssh","synopsis":"Package grantssh provides the brev grant-ssh command for granting SSH access to a registered device for another org member.","isRedistributable":true}
