-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Starting with YDB version 25-3, new secret-type schema objects were introduced. They need to be supported in the viewer.
- Create a new favicon for secrets instead of the default directory-type.
- In the Navigation tab, next to the ellipsis next to the secret,
- leave only the Copy path... option.
- add the "Drop secret..." option, which will open a query like
DROP SECRET `<secret name>`;
- add the "Alter secret..." option, which will open a query like
ALTER SECRET `<secret name>` WITH (value = '<cursor here>');

- Hide the following tabs in the Diagnostics tab: Top shards, Nodes, and Info.
- Improve queries suggest according to secrets syntax:
CREATE SECRET `name` WITH (VALUE = ''[, INHERIT_PERMISSIONS = TRUE]);
ALTER SECRET `name` WITH (VALUE = '');
DROP SECRET `name`;
VALUE
and INHERIT_PERMISSIONS
are parameters, hence should be processed in UI like parameters in CREATE ASYNC REPLICATION
for example.

VALUE
parameter is the only mandatory parameter, has bool type.
INHERIT_PERMISSIONS
parameter is an optional parameter, has String type.
Metadata
Metadata
Assignees
Labels
No labels