Skip to main content

Vault | Golang SDK | Folders Endpoints

Folders Endpoints

Create

func (v *vault) FolderCreate(ctx context.Context, input *FolderCreateRequest) (*pangea.PangeaResponse[FolderCreateResult], error)

Creates a folder.

required parameters

context.Context
input := &vault.FolderCreateRequest{
 	Name:   "folder_name",
 	Folder: "parent/folder/name",
}

enc, err := vaultcli.FolderCreate(ctx, input)