1
0
mirror of https://github.com/bitwarden/server synced 2026-02-25 00:52:57 +00:00
Files
server/util/Seeder/Seeds/templates/cipher.template.json
Mick Letofsky 73756d0d08 Bring our QA Setup data files into the Seeder as presets (#7046)
* Importing test fixtures from test repo into the Seeder
* Needed to ensure that we assigned permission to collections; not just made them.
2026-02-23 12:01:05 +01:00

82 lines
1.9 KiB
JSON

{
"$schema": "../schemas/cipher.schema.json",
"items": [
{
"type": "login",
"name": "Example Login",
"favorite": true,
"reprompt": 0,
"login": {
"username": "user@example.com",
"password": "ChangeMe123!",
"totp": "otpauth://totp/Example:user?secret=JBSWY3DPEHPK3PXP",
"uris": [
{
"uri": "https://example.com/login",
"match": "domain"
}
]
},
"fields": [
{
"name": "Recovery Code",
"value": "ABC-123-XYZ",
"type": "hidden"
},
{
"name": "Linked Username",
"type": "linked",
"linkedId": 100
}
],
"passwordHistory": [
{
"password": "OldPassword1!",
"lastUsedDate": "2024-01-15T00:00:00.000Z"
}
]
},
{
"type": "card",
"name": "Example Card",
"card": {
"cardholderName": "Jane Doe",
"brand": "Visa",
"number": "4111111111111111",
"expMonth": "12",
"expYear": "2030",
"code": "123"
}
},
{
"type": "identity",
"name": "Example Identity",
"identity": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com",
"address1": "123 Main St",
"city": "Anytown",
"state": "CA",
"postalCode": "90210",
"country": "US"
}
},
{
"type": "secureNote",
"name": "Example Secure Note",
"notes": "This is a secure note with sensitive information."
},
{
"type": "sshKey",
"name": "Example SSH Key",
"reprompt": 1,
"sshKey": {
"privateKey": "-----BEGIN OPENSSH PRIVATE KEY-----\n...\n-----END OPENSSH PRIVATE KEY-----\n",
"publicKey": "ssh-ed25519 AAAAC3...",
"keyFingerprint": "SHA256:..."
}
}
]
}