mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
This commit is contained in:
parent
82072019a3
commit
57e47f4546
2 changed files with 19 additions and 0 deletions
|
|
@ -3,4 +3,8 @@
|
|||
|
||||
path "*" {
|
||||
capabilities = ["create", "read", "update", "delete", "list", "sudo"]
|
||||
}
|
||||
// needed permissions to be able to seal vault
|
||||
path "sys/seal" {
|
||||
capabilities = ["sudo", "update"]
|
||||
}
|
||||
15
ui/e2e/tests/superuser/seal.spec.ts
Normal file
15
ui/e2e/tests/superuser/seal.spec.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Copyright IBM Corp. 2016, 2025
|
||||
* SPDX-License-Identifier: BUSL-1.1
|
||||
*/
|
||||
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('sealing workflow', async ({ page }) => {
|
||||
await page.goto('dashboard');
|
||||
await page.getByRole('link', { name: 'Resilience and recovery' }).click();
|
||||
await page.getByRole('link', { name: 'Seal Vault' }).click();
|
||||
await page.getByRole('button', { name: 'Seal' }).click();
|
||||
await page.getByRole('button', { name: 'Confirm' }).click();
|
||||
await expect(page.getByText('Vault is sealed')).toBeVisible();
|
||||
});
|
||||
Loading…
Reference in a new issue