lastpass

package module
v0.0.0-...-7c4678d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 2 Imported by: 0

README

LastPass Go SDK

CSV

This library provides code for wriing CSV files that conform to the LastPass CSV import format described here:

https://support.lastpass.com/help/how-do-i-import-stored-data-into-lastpass-using-a-generic-csv-file

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// url – typically the login URL, but you can use http://sn to create a Secure Note
	URL string `json:"url"`
	// username – the username used for the site entry
	Username string `json:"username"`
	// password – the password used for the site entry
	Password string `json:"password"`
	// extra – can be either the "notes" section of a site entry or the body of a secure note
	Extra string `json:"extra"`
	// name – the name to identify the site entry or secure note in your vault
	Name string `json:"name"`
	// grouping – the folder where you would like the item to be stored in your vault
	Grouping string `json:"grouping"`
	// fav – enter a 1, if the entry should be added as a Favorite but by default the value will be 0 (indicating that it should not be added as a Favorite)
	Fav string `json:"fav"`
	// totp – enter the TOTP code generated for your site entry (learn more about this feature)
	TOTP string `json:"totp"`
}

type Accounts

type Accounts []Account

func (Accounts) WriteCSV

func (acs Accounts) WriteCSV(filename string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL