keeper-sdk-dotnet
keeper-sdk-dotnet copied to clipboard
Feature: Add function in powershell module to create external/one-time sharing links
Hi there,
could you please add a function to create One-Time Sharing links via powershell?
Something like:
function New-KeeperOneTimeShare {
<#
.Synopsis
New Keeper One-Time Share
.Parameter Uid
Shared Record UID
.Parameter Expiration
Expiration TimeSpan
#>
[CmdletBinding()]
[OutputType([string])]
Param (
[string] $Uid,
[TimeSpan] $Expiration
)
[KeeperSecurity.Vault.VaultOnline]$vault = getVault
$oneTimeShare = [KeeperSecurity.Vault.ExternalRecordShareExtensions]::CreateExternalRecordShare($vault, $Uid, $Expiration)
return $oneTimeShare
}
PowerCommander 0.9.7 release adds one-time share support
- Get-KeeperOneTimeShare
- New-KeeperOneTimeShare
- Remove-KeeperOneTimeShare