レコードタイプの作成
レコードタイプの使用および管理の説明と例
概要
ボルト内やCommander CLIを介して特定のタイプのレコードを作成できます。また、Keeper管理者によって有効化されている場合は、カスタムのレコードタイプのテンプレートを作成することもできます。レコードタイプで、レコードで使用できるフィールドが定義されます。レコードの設計図として機能するため、様々な用途のレコードを簡単に作成および管理できます。
Keeperによって定義された一連の標準的なレコードタイプがあり、ログイン、パスポート、SSH鍵などの一般的なタイプが含まれています。
また、組織で使用するための新しいレコードタイプを定義することもできます。
関連するレコードタイプコマンドのリストは、コマンドマニュアルをご参照ください
クイックスタート
ログインレコードタイプのレコードを追加します
add type=login title='my login' f.login=John.Doe f.password=75vf@5JB@o f.url=https://www.example.com f.oneTimeCode=otpauth://totp/Label?secret=Secret
使用可能なすべてのレコードタイプを表示します
record-type-info
レコードタイプの詳細情報を表示します
record-type-info -lr login
指定したレコードタイプのレコードを作成するJSONの例を表示します
record-type-info -lr login -e
フィールドタイプ
text
テキストフィールド
number
数値フィールド
login
KeeperFillによって認識されるログインフィールド
password
マスクされた、パスワードを生成できるパスワードフィールド
name
名前を構成するファースト、ミドル、ラストのテキストフィールド
company
プレーンテキストの会社名
phone
電話番号と種類のフィールド
email
検証済みのメールアドレス
address
アドレスを取得する複数のフィールド
addressRef
別のアドレスレコードへの参照
date
検証されたカレンダ日付。unixミリ秒で保存されます
expirationDate
検証されたカレンダ日付。unixミリ秒で保存されます
birthDate
検証されたカレンダ日付。unixミリ秒で保存されます
paymentCard
有効なカード番号、有効期限、セキュリティコードのフィールド
accountNumber
プレーンテキスト
groupNumber
プレーンテキスト
bankAccount
銀行口座情報フィールド
cardRef
別のレコードのbankCard
フィールドへの参照
note
複数行のテキスト
url
URLテキストフィールド。 ボルト内のリンクとしてアクセスできます
fileRef
別のレコードのファイルフィールドへの参照
host
ホスト情報を取得する複数のフィールド
securityQuestion
秘密の質問と回答のテキストフィールド
pinCode
マスクされた暗証番号
oneTimeCode
TOTPシードを所与として、TOTPコードを生成します
keyPair
ASN.1形式の秘密鍵および公開鍵
licenseNumber
複数行のテキスト入力
secret
マスクされたテキスト入力
標準的なレコードタイプ
login
1
bankAccount
11
birthCertificate
19
contact
20
driverLicense
21
encryptedNotes
22
file
23
healthInsurance
24
membership
26
passport
27
photo
28
serverCredentials
29
softwareLicense
30
ssnCard
31
general
32
sshKeys
34
databaseCredentials
40
以下に、各レコードタイプのフィールド、json表記の例、および各タイプのレコードの作成方法の例を示します。
すべてのレコードタイプには、以下のフィールドがあります。
title
- レコードの名前 (必須)
notes
- テキスト
custom
- カスタムフィールドと値をレコードに追加できます。カスタムフィールドの追加に関する詳細は、追加のドキュメントをご参照ください。
loginレコードタイプ
名前: login
Id: 1
レコードフィールド:
login
テキスト
password
テキスト
url
テキスト
fileRef
oneTimeCode
テキスト
レコードの追加例:
ドット記法 add type=login title='my login' f.login=John.Doe f.password=75vf@5JB@o f.url=https://www.example.com f.oneTimeCode="otpauth://totp/Label?secret=Secret"
JSONデータ add --data '{"type": "login", "title": "my login", "fields": [{"type": "login", "value": ["John.Doe"]}, {"type": "password", "value": ["75vf@5JB@o"]}, {"type": "url", "value": ["https://www.example.com"]}, {"type": "oneTimeCode", "value": ["otpauth://totp/Label?secret=Secret"]}], "custom": []}'
bankAccountレコードタイプ
名前: bankAccount
Id: 11
レコードフィールド:
bankAccount
accountType
'当座預金 | 普通預金 | その他'
bankAccount
otherType
テキスト
bankAccount
routingNumber
テキスト
bankAccount
accountNumber
テキスト
name
first
テキスト
name
middle
テキスト
name
last
テキスト
login
テキスト
password
テキスト
url
テキスト
cardRef
fileRef
oneTimeCode
テキスト
レコードの追加例:
ドット記法 add type=bankAccount title='my bankAccount' f.bankAccount.accountType=Checking f.bankAccount.otherType=SomeText f.bankAccount.routingNumber=SomeText f.bankAccount.accountNumber=SomeText f.name.first=John f.name.middle=Danger f.name.last=Doe f.login=John.Doe f.password=75vf@5JB@o f.url=https://www.example.com f.oneTimeCode="otpauth://totp/Label?secret=Secret"
JSONデータ add --data '{"type": "bankAccount", "title": "my bankAccount", "fields": [{"type": "bankAccount", "value": [{"accountType":"Checking", "otherType":"SomeText", "routingNumber":"SomeText", "accountNumber":"SomeText"}], "required": true}, {"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}]}, {"type": "login", "value": ["John.Doe"]}, {"type": "password", "value": ["75vf@5JB@o"]}, {"type": "url", "value": ["https://www.example.com"]}, {"type": "cardRef", "value": []}, {"type": "oneTimeCode", "value": ["otpauth://totp/Label?secret=Secret"]}], "custom": []}'
addressレコードタイプ
名前: address
Id: 14
レコードフィールド:
address
street1
テキスト
address
street2
テキスト
address
city
テキスト
address
state
テキスト
address
zip
テキスト
address
country
テキスト
fileRef
レコードの追加例:
ドット記法 add type=address title='my address' f.address.street1=SomeText f.address.street2=SomeText f.address.city=SomeText f.address.state=SomeText f.address.zip=SomeText f.address.country=SomeText
JSONデータ add --data '{"type": "address", "title": "my address", "fields": [{"type": "address", "value": [{"street1":"SomeText", "street2":"SomeText", "city":"SomeText", "state":"SomeText", "zip":"SomeText", "country":"SomeText"}]}], "custom": []}'
bankCardレコードタイプ
名前: bankCard
Id: 18
レコードフィールド:
paymentCard
cardNumber
テキスト
paymentCard
cardExpirationDate
テキスト
paymentCard
cardSecurityCode
テキスト
text
テキスト
cardholderName
pinCode
テキスト
addressRef
fileRef
レコードの追加例:
ドット記法 add type=bankCard title='my bankCard' f.paymentCard.cardNumber=SomeText f.paymentCard.cardExpirationDate=SomeText f.paymentCard.cardSecurityCode=SomeText f.text=SomeText f.pinCode=SomeText
JSONデータ add --data '{"type": "bankCard", "title": "my bankCard", "fields": [{"type": "paymentCard", "value": [{"cardNumber":"SomeText", "cardExpirationDate":"SomeText", "cardSecurityCode":"SomeText"}]}, {"type": "text", "value": ["SomeText"], "label": "cardholderName"}, {"type": "pinCode", "value": ["SomeText"]}, {"type": "addressRef", "value": []}], "custom": []}'
birthCertificateレコードタイプ
名前: birthCertificate
Id: 19
レコードフィールド:
name
first
テキスト
name
middle
テキスト
name
last
テキスト
birthDate
数字
fileRef
レコードの追加例:
ドット記法 add type=birthCertificate title='my birthCertificate' f.name.first=John f.name.middle=Danger f.name.last=Doe f.birthDate=1624485827145
JSONデータ add --data '{"type": "birthCertificate", "title": "my birthCertificate", "fields": [{"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}]}, {"type": "birthDate", "value": [1624485827145]}], "custom": []}'
contactレコードタイプ
名前: contact
Id: 20
レコードフィールド:
name
first
テキスト
name
middle
テキスト
name
last
テキスト
text
テキスト
company
email
テキスト
phone
region
地域
phone
number
テキスト
phone
ext
テキスト
phone
type
自宅 | 携帯 | 勤務先
addressRef
fileRef
レコードの追加例:
ドット記法 add type=contact title='my contact' f.name.first=John f.name.middle=Danger f.name.last=Doe f.text=SomeText f.email=SomeText f.phone.region=US f.phone.number=(555)555-5555 f.phone.ext=3 f.phone.type=Mobile
JSONデータ add --data '{"type": "contact", "title": "my contact", "fields": [{"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}], "required": true}, {"type": "text", "value": ["SomeText"], "label": "company"}, {"type": "email", "value": ["SomeText"]}, {"type": "phone", "value": [{"region":"US", "number": "(555)555-5555", "ext":"3", "type":"Mobile"}]}, {"type": "addressRef", "value": []}], "custom": []}'
driverLicenseレコードタイプ
名前: driverLicense
Id: 21
レコードフィールド:
accountNumber
テキスト
dlNumber
name
first
テキスト
name
middle
テキスト
name
last
テキスト
birthDate
数字
addressRef
expirationDate
数字
fileRef
レコードの追加例:
ドット記法 add type=driverLicense title='my driverLicense' f.accountNumber=SomeText f.name.first=John f.name.middle=Danger f.name.last=Doe f.birthDate=1624485827145 f.expirationDate=1624485827145
JSONデータ add --data '{"type": "driverLicense", "title": "my driverLicense", "fields": [{"type": "accountNumber", "value": ["SomeText"], "label": "dlNumber"}, {"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}]}, {"type": "birthDate", "value": [1624485827145]}, {"type": "addressRef", "value": []}, {"type": "expirationDate", "value": [1624485827145]}], "custom": []}'
encryptedNotesレコードタイプ
名前: encryptedNotes
Id: 22
レコードフィールド:
note
テキスト
date
数字
fileRef
レコードの追加例:
ドット記法 add type=encryptedNotes title='my encryptedNotes' f.note=SomeText f.date=1624485827145
JSONデータ add --data '{"type": "encryptedNotes", "title": "my encryptedNotes", "fields": [{"type": "note", "value": ["SomeText"]}, {"type": "date", "value": [1624485827145]}], "custom": []}'
fileレコードタイプ
名前: file
Id: 23
レコードフィールド:
fileRef
レコードの追加例:
ドット記法 add type=file title='my file'
JSONデータ add --data '{"type": "file", "title": "my file", "fields": [], "custom": []}'
healthInsuranceレコードタイプ
名前: healthInsurance
Id: 24
レコードフィールド:
accountNumber
テキスト
name
first
テキスト
insuredsName
name
middle
テキスト
insuredsName
name
last
テキスト
insuredsName
login
テキスト
password
テキスト
url
テキスト
fileRef
レコードの追加例:
ドット記法 add type=healthInsurance title='my healthInsurance' f.accountNumber=SomeText f.name.first=John f.name.middle=Danger f.name.last=Doe f.login=John.Doe f.password=75vf@5JB@o f.url=https://www.example.com
JSONデータ add --data '{"type": "healthInsurance", "title": "my healthInsurance", "fields": [{"type": "accountNumber", "value": ["SomeText"]}, {"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}], "label": "insuredsName"}, {"type": "login", "value": ["John.Doe"]}, {"type": "password", "value": ["75vf@5JB@o"]}, {"type": "url", "value": ["https://www.example.com"]}], "custom": []}'
membershipレコードタイプ
名前: membership
Id: 26
レコードフィールド:
accountNumber
テキスト
name
first
テキスト
name
middle
テキスト
name
last
テキスト
password
テキスト
fileRef
レコードの追加例:
ドット記法 add type=membership title='my membership' f.accountNumber=SomeText f.name.first=John f.name.middle=Danger f.name.last=Doe f.password=75vf@5JB@o
JSONデータ add --data '{"type": "membership", "title": "my membership", "fields": [{"type": "accountNumber", "value": ["SomeText"]}, {"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}]}, {"type": "password", "value": ["75vf@5JB@o"]}], "custom": []}'
passportレコードタイプ
名前: passport
Id: 27
レコードフィールド:
accountNumber
テキスト
passportNumber
name
first
テキスト
name
middle
テキスト
name
last
テキスト
birthDate
数字
addressRef
expirationDate
数字
date
数字
dateIssued
password
テキスト
fileRef
レコードの追加例:
ドット記法 add type=passport title='my passport' f.accountNumber=SomeText f.name.first=John f.name.middle=Danger f.name.last=Doe f.birthDate=1624485827145 f.expirationDate=1624485827145 f.date=1624485827145 f.password=75vf@5JB@o
JSONデータ add --data '{"type": "passport", "title": "my passport", "fields": [{"type": "accountNumber", "value": ["SomeText"], "label": "passportNumber"}, {"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}]}, {"type": "birthDate", "value": [1624485827145]}, {"type": "addressRef", "value": []}, {"type": "expirationDate", "value": [1624485827145]}, {"type": "date", "value": [1624485827145], "label": "dateIssued"}, {"type": "password", "value": ["75vf@5JB@o"]}], "custom": []}'
photoレコードタイプ
名前: photo
Id: 28
レコードフィールド:
fileRef
レコードの追加例:
ドット記法 add type=photo title='my photo'
JSONデータ add --data '{"type": "photo", "title": "my photo", "fields": [], "custom": []}'
serverCredentialsレコードタイプ
名前: serverCredentials
Id: 29
レコードフィールド:
host
hostName
テキスト
host
port
テキスト
login
テキスト
password
テキスト
fileRef
レコードの追加例:
ドット記法 add type=serverCredentials title='my serverCredentials' f.host.hostName=https://www.example.com f.host.port=5000 f.login=John.Doe f.password=75vf@5JB@o
JSONデータ add --data '{"type": "serverCredentials", "title": "my serverCredentials", "fields": [{"type": "host", "value": [{"hostName": "https://www.example.com", "port":"5000"}]}, {"type": "login", "value": ["John.Doe"]}, {"type": "password", "value": ["75vf@5JB@o"]}], "custom": []}'
softwareLicenseレコードタイプ
名前: softwareLicense
Id: 30
レコードフィールド:
licenseNumber
テキスト
expirationDate
数字
date
数字
dateActive
fileRef
レコードの追加例:
ドット記法 add type=softwareLicense title='my softwareLicense' f.licenseNumber=SomeText f.expirationDate=1624485827145 f.date=1624485827145
JSONデータ add --data '{"type": "softwareLicense", "title": "my softwareLicense", "fields": [{"type": "licenseNumber", "value": ["SomeText"]}, {"type": "expirationDate", "value": [1624485827145]}, {"type": "date", "value": [1624485827145], "label": "dateActive"}], "custom": []}'
ssnCardレコードタイプ
名前: ssnCard
Id: 31
レコードフィールド:
accountNumber
テキスト
identityNumber
name
first
テキスト
name
middle
テキスト
name
last
テキスト
fileRef
レコードの追加例:
ドット記法 add type=ssnCard title='my ssnCard' f.accountNumber=SomeText f.name.first=John f.name.middle=Danger f.name.last=Doe
JSONデータ add --data '{"type": "ssnCard", "title": "my ssnCard", "fields": [{"type": "accountNumber", "value": ["SomeText"], "label": "identityNumber"}, {"type": "name", "value": [{"first":"John", "middle":"Danger", "last":"Doe"}]}], "custom": []}'
generalレコードタイプ
名前: general
Id: 32
レコードフィールド:
login
テキスト
password
テキスト
url
テキスト
oneTimeCode
テキスト
fileRef
レコードの追加例:
ドット記法 add type=general title='my general' f.login=John.Doe f.password=75vf@5JB@o f.url=https://www.example.com f.oneTimeCode=SomeText
JSONデータ add --data '{"type": "general", "title": "my general", "fields": [{"type": "login", "value": ["John.Doe"]}, {"type": "password", "value": ["75vf@5JB@o"]}, {"type": "url", "value": ["https://www.example.com"]}, {"type": "oneTimeCode", "value": ["SomeText"]}], "custom": []}'
sshKeysレコードタイプ
名前: sshKeys
Id: 34
レコードフィールド:
login
テキスト
keyPair
テキスト
host
hostName
テキスト
host
port
不明-テキスト
fileRef
secret
テキスト
レコードの追加例:
ドット記法 add type=sshKeys title='my sshKeys' f.login=John.Doe f.keyPair=SomeText f.host.hostName=https://www.example.com f.host.port=Unknown - Text f.secret=SomeText
JSONデータ add --data '{"type": "sshKeys", "title": "my sshKeys", "fields": [{"type": "login", "value": ["John.Doe"]}, {"type": "keyPair", "value": ["SomeText"]}, {"type": "host", "value": [{"hostName": "https://www.example.com", "port":"Unknown - Text"}]}, {"type": "secret", "value": ["SomeText"]}], "custom": []}'
databaseCredentialsレコードタイプ
名前: databaseCredentials
Id: 40
レコードフィールド:
text
テキスト
タイプ
host
hostName
テキスト
host
port
テキスト
login
テキスト
password
テキスト
fileRef
レコードの追加例:
ドット記法 add type=databaseCredentials title='my databaseCredentials' f.text=SomeText f.host.hostName=https://www.example.com f.host.port=5000 f.login=John.Doe f.password=75vf@5JB@o
JSONデータ add --data '{"type": "databaseCredentials", "title": "my databaseCredentials", "fields": [{"type": "text", "value": ["SomeText"], "label": "type"}, {"type": "host", "value": [{"hostName": "https://www.example.com", "port":"5000"}]}, {"type": "login", "value": ["John.Doe"]}, {"type": "password", "value": ["75vf@5JB@o"]}], "custom": []}'
最終更新