diff --git a/apps/web/src/app/vault/individual-vault/vault.component.ts b/apps/web/src/app/vault/individual-vault/vault.component.ts index 5f66bb49af5..73421f77eb7 100644 --- a/apps/web/src/app/vault/individual-vault/vault.component.ts +++ b/apps/web/src/app/vault/individual-vault/vault.component.ts @@ -701,7 +701,10 @@ export class VaultComponent implements OnInit, OnDestroy { } async addCipher(cipherType?: CipherType) { - const type = cipherType ?? this.activeFilter.cipherType; + let type = cipherType ?? this.activeFilter.cipherType; + if (type === CipherType.SshKey) { + type = CipherType.Login; + } if (this.extensionRefreshEnabled) { return this.addCipherV2(type); diff --git a/apps/web/src/app/vault/org-vault/vault.component.ts b/apps/web/src/app/vault/org-vault/vault.component.ts index 18cc6e49abc..b8de803080c 100644 --- a/apps/web/src/app/vault/org-vault/vault.component.ts +++ b/apps/web/src/app/vault/org-vault/vault.component.ts @@ -783,6 +783,10 @@ export class VaultComponent implements OnInit, OnDestroy { } async addCipher(cipherType?: CipherType) { + if (cipherType === CipherType.SshKey) { + cipherType = CipherType.Login; + } + if (this.extensionRefreshEnabled) { return this.addCipherV2(cipherType); }